Web UI for ARGUS server
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.

55 lines
1.1 KiB

6 years ago
​
​
​
​
6 years ago
​
​
​
6 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
6 years ago
​
6 years ago
6 years ago
​
​
​
6 years ago
​
​
6 years ago
6 years ago
​
​
​
​
​
​
​
6 years ago
6 years ago
​
​
​
6 years ago
​
6 years ago
​
  1. {
  2. xtype: 'form',
  3. labelWidth: 75, // label settings here cascade unless overridden
  4. frame: false,
  5. bodyStyle:'padding:5px 5px 0',
  6. //width: 190,
  7. //defaults: {
  8. //width: 190
  9. //},
  10. defaultType: 'textfield',
  11. items: [{
  12. xtype: 'panel',
  13. height: 100,
  14. html: '<p align="center"><img src="/style/assets/0_node.png"><br/>%%%NODENAME%%%<br/></p>'
  15. },{
  16. xtype: 'button',
  17. text: 'Settings',
  18. width: '100%',
  19. handler: function(){
  20. alert('Settings');
  21. }
  22. },{
  23. xtype:'fieldset',
  24. title: 'Information',
  25. collapsible: true,
  26. autoHeight: true,
  27. defaults: {
  28. width: '100%'
  29. },
  30. items :[ %%%INFO%%% ]
  31. },{
  32. xtype:'fieldset',
  33. title: 'Resources',
  34. collapsible: true,
  35. autoHeight:true,
  36. defaults: {
  37. width: '100%'
  38. },
  39. items :[ %%%SOCKETS%%% ]
  40. },{
  41. xtype:'fieldset',
  42. title: 'Modules',
  43. collapsible: true,
  44. autoHeight:true,
  45. defaults: {
  46. width: '100%'
  47. },
  48. items :[ %%%MODULES%%%,{
  49. xtype: 'button',
  50. text: 'Add Module',
  51. handler: function(){
  52. }
  53. }]
  54. }]
  55. }