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.

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