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.

49 lines
1.6 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  5. <title>Hello World Window Example</title>
  6. <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
  7. <!-- GC -->
  8. <!-- LIBS -->
  9. <script type="text/javascript" src="../../adapter/ext/ext-base.js"></script>
  10. <!-- ENDLIBS -->
  11. <script type="text/javascript" src="../../ext-all.js"></script>
  12. <script language="javascript" src="hello.js"></script>
  13. <!-- Common Styles for the examples -->
  14. <link rel="stylesheet" type="text/css" href="../shared/examples.css" />
  15. <style type="text/css">
  16. .x-panel-body p {
  17. margin:10px;
  18. font-size:12px;
  19. }
  20. </style>
  21. </head>
  22. <body>
  23. <script type="text/javascript" src="../shared/examples.js"></script><!-- EXAMPLES -->
  24. <h1>Hello World Window</h1>
  25. <p>This example shows how to create a very simple Window with "autoTabs" from existing markup.</p>
  26. <input type="button" id="show-btn" value="Hello World" /><br /><br />
  27. <p>Note that the js is not minified so it is readable. See <a href="hello.js">hello.js</a> for the full source code.</p>
  28. <div id="hello-win" class="x-hidden">
  29. <div class="x-window-header">Hello Dialog</div>
  30. <div id="hello-tabs">
  31. <!-- Auto create tab 1 -->
  32. <div class="x-tab" title="Hello World 1">
  33. <p>Hello...</p>
  34. </div>
  35. <!-- Auto create tab 2 -->
  36. <div class="x-tab" title="Hello World 2">
  37. <p>... World!</p>
  38. </div>
  39. </div>
  40. </div>
  41. </body>
  42. </html>