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.

51 lines
993 B

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