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.

74 lines
1.7 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. {
  2. xtype: 'form',
  3. labelWidth: 75, // label settings here cascade unless overridden
  4. frame: false,
  5. bodyStyle:'padding:5px 5px 0',
  6. defaultType: 'textfield',
  7. items: [{
  8. xtype: 'panel',
  9. height: 100,
  10. html: '<p align="center"><img src="/style/assets/12_node.png"><br/>IP Camera<br/></p>'
  11. },{
  12. xtype:'fieldset',
  13. //checkboxToggle:true,
  14. collapsible: true,
  15. title: 'Information',
  16. autoHeight: true,
  17. defaults: {
  18. //width: 180
  19. },
  20. defaultType: 'textfield',
  21. collapsed: false,
  22. items :[{
  23. fieldLabel: 'First Name',
  24. name: 'first',
  25. allowBlank:false
  26. },{
  27. fieldLabel: 'Last Name',
  28. name: 'last'
  29. },{
  30. fieldLabel: 'Company',
  31. name: 'company'
  32. }, {
  33. fieldLabel: 'Email',
  34. name: 'email',
  35. vtype:'email'
  36. },{
  37. xtype: 'panel',
  38. html: '<center><img width="100%" src="%%%PREVIMG%%%"></center>'
  39. }]
  40. },{
  41. xtype:'fieldset',
  42. title: 'Sockets',
  43. collapsible: true,
  44. autoHeight:true,
  45. defaults: {
  46. width: 168
  47. },
  48. defaultType: 'textfield',
  49. items :[{
  50. xtype: 'panel',
  51. html: '<p align="center" style="padding: 5px; color: yellow; background-color: green;">Com Com Com</p>'
  52. },{
  53. xtype: 'button',
  54. text: 'Add Socket',
  55. handler: function(){
  56. var wAddSocket = new Ext.Window({
  57. title: 'Add Socket',
  58. width: 640,
  59. height: 480,
  60. items:[{
  61. xtype: 'combo',
  62. text: 'Socket Type'
  63. }]
  64. });
  65. wAddSocket.show();
  66. }
  67. }]
  68. }],
  69. buttons: [{
  70. text: 'Save'
  71. },{
  72. text: 'Cancel'
  73. }]
  74. }