Web Interface For Lite Argus Control modules
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

76 lines
1.7 KiB

{
xtype: 'form',
labelWidth: 75, // label settings here cascade unless overridden
frame: false,
bodyStyle:'padding:5px 5px 0',
width: 190,
defaults: {
width: 190
},
defaultType: 'textfield',
items: [{
xtype: 'panel',
height: 100,
html: '<p align="center"><img src="/style/assets/12_node.png"><br/>IP Camera<br/></p>'
},{
xtype:'fieldset',
//checkboxToggle:true,
collapsible: true,
title: 'Information',
autoHeight: true,
defaults: {
width: 180
},
defaultType: 'textfield',
collapsed: false,
items :[{
fieldLabel: 'First Name',
name: 'first',
allowBlank:false
},{
fieldLabel: 'Last Name',
name: 'last'
},{
fieldLabel: 'Company',
name: 'company'
}, {
fieldLabel: 'Email',
name: 'email',
vtype:'email'
}]
},{
xtype:'fieldset',
title: 'Sockets',
collapsible: true,
autoHeight:true,
defaults: {
width: 168
},
defaultType: 'textfield',
items :[{
xtype: 'panel',
html: '<p align="center" style="padding: 5px; color: yellow; background-color: green;">Com Com Com</p>'
},{
xtype: 'button',
text: 'Add Socket',
handler: function(){
var wAddSocket = new Ext.Window({
title: 'Add Socket',
width: 640,
height: 480,
items:[{
xtype: 'combo',
text: 'Socket Type'
}]
});
wAddSocket.show();
}
}]
}],
buttons: [{
text: 'Save'
},{
text: 'Cancel'
}]
}