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.

119 lines
3.8 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. <html>
  2. <head>
  3. <title>Column Layout</title>
  4. <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
  5. <!-- GC -->
  6. <!-- LIBS -->
  7. <script type="text/javascript" src="../../adapter/ext/ext-base.js"></script>
  8. <!-- ENDLIBS -->
  9. <script type="text/javascript" src="../../ext-all.js"></script>
  10. <!--<script language="javascript" src="../grid/PropsGrid.js"></script>-->
  11. <style type="text/css">
  12. html, body {
  13. font:normal 12px verdana;
  14. margin:0;
  15. padding:0;
  16. border:0 none;
  17. overflow:hidden;
  18. height:100%;
  19. }
  20. .x-panel-body p {
  21. margin:5px;
  22. }
  23. .x-column-layout-ct .x-panel {
  24. margin-bottom:5px;
  25. }
  26. .x-column-layout-ct .x-panel-dd-spacer {
  27. margin-bottom:5px;
  28. }
  29. .settings {
  30. background-image:url(../shared/icons/fam/folder_wrench.png) !important;
  31. }
  32. .nav {
  33. background-image:url(../shared/icons/fam/folder_go.png) !important;
  34. }
  35. </style>
  36. <script type="text/javascript">
  37. Ext.onReady(function(){
  38. // NOTE: This is an example showing simple state management. During development,
  39. // it is generally best to disable state management as dynamically-generated ids
  40. // can change across page loads, leading to unpredictable results. The developer
  41. // should ensure that stable state ids are set for stateful components in real apps.
  42. Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
  43. var viewport = new Ext.Viewport({
  44. layout:'border',
  45. items:[{
  46. region:'west',
  47. id:'west-panel',
  48. title:'West',
  49. split:true,
  50. width: 200,
  51. minSize: 175,
  52. maxSize: 400,
  53. collapsible: true,
  54. margins:'35 0 5 5',
  55. cmargins:'35 5 5 5',
  56. layout:'accordion',
  57. layoutConfig:{
  58. animate:true
  59. },
  60. items: [{
  61. html: Ext.example.shortBogusMarkup,
  62. title:'Navigation',
  63. autoScroll:true,
  64. border:false,
  65. iconCls:'nav'
  66. },{
  67. title:'Settings',
  68. html: Ext.example.shortBogusMarkup,
  69. border:false,
  70. autoScroll:true,
  71. iconCls:'settings'
  72. }]
  73. },{
  74. region:'center',
  75. margins:'35 5 5 0',
  76. layout:'column',
  77. autoScroll:true,
  78. items:[{
  79. columnWidth:.33,
  80. baseCls:'x-plain',
  81. bodyStyle:'padding:5px 0 5px 5px',
  82. items:[{
  83. title: 'A Panel',
  84. html: Ext.example.shortBogusMarkup
  85. }]
  86. },{
  87. columnWidth:.33,
  88. baseCls:'x-plain',
  89. bodyStyle:'padding:5px 0 5px 5px',
  90. items:[{
  91. title: 'A Panel',
  92. html: Ext.example.shortBogusMarkup
  93. }]
  94. },{
  95. columnWidth:.33,
  96. baseCls:'x-plain',
  97. bodyStyle:'padding:5px',
  98. items:[{
  99. title: 'A Panel',
  100. html: Ext.example.shortBogusMarkup
  101. },{
  102. title: 'Another Panel',
  103. html: Ext.example.shortBogusMarkup
  104. }]
  105. }]
  106. }]
  107. });
  108. });
  109. </script>
  110. </head>
  111. <body>
  112. <script type="text/javascript" src="../shared/examples.js"></script><!-- EXAMPLES -->
  113. </body>
  114. </html>