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.
56 lines
1.1 KiB
56 lines
1.1 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/0_node.png"><br/>%%%NODENAME%%%<br/></p>'
|
|
},{
|
|
xtype: 'button',
|
|
text: 'Settings',
|
|
width: '100%',
|
|
handler: function(){
|
|
alert('Settings');
|
|
}
|
|
},{
|
|
xtype:'fieldset',
|
|
title: 'Information',
|
|
collapsible: true,
|
|
autoHeight: true,
|
|
defaults: {
|
|
width: '100%'
|
|
},
|
|
items :[ %%%INFO%%% ]
|
|
},{
|
|
xtype:'fieldset',
|
|
title: 'Resources',
|
|
collapsible: true,
|
|
autoHeight:true,
|
|
defaults: {
|
|
width: '100%'
|
|
},
|
|
items :[ %%%SOCKETS%%% ]
|
|
},{
|
|
xtype:'fieldset',
|
|
title: 'Modules',
|
|
collapsible: true,
|
|
autoHeight:true,
|
|
defaults: {
|
|
width: '100%'
|
|
},
|
|
items :[ %%%MODULES%%%,{
|
|
xtype: 'button',
|
|
text: 'Add Module',
|
|
handler: function(){
|
|
|
|
}
|
|
}]
|
|
}]
|
|
}
|