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.

57 lines
1.8 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  4. <title>ProgressBar</title>
  5. <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
  6. <!-- GC -->
  7. <!-- LIBS -->
  8. <script type="text/javascript" src="../../adapter/ext/ext-base.js"></script>
  9. <!-- ENDLIBS -->
  10. <script type="text/javascript" src="../../ext-all.js"></script>
  11. <script type="text/javascript" src="progress-bar.js"></script>
  12. <link rel="stylesheet" type="text/css" href="progress-bar.css" />
  13. <!-- Common Styles for the examples -->
  14. <link rel="stylesheet" type="text/css" href="../shared/examples.css" />
  15. </head>
  16. <body>
  17. <script type="text/javascript" src="../shared/examples.js"></script><!-- EXAMPLES -->
  18. <h1>Progress Bar</h1>
  19. <p>The example shows how to use the ProgressBar class. The js is not minified so it is readable.
  20. See <a href="progress-bar.js">progress-bar.js</a>.</p>
  21. <p>
  22. <b>Basic Progress Bar</b><br />
  23. Deferred rendering, dynamic show/hide and built-in progress text:
  24. <button id="btn1">Show</button><br />
  25. <div class="status" id="p1text">Nothing to see here.</div>
  26. <div id="p1" style="width:300px;"></div>
  27. </p>
  28. <p>
  29. <b>Additional Options</b><br />
  30. Rendered on page load, left-aligned text and % width:
  31. <button id="btn2">Show</button><br />
  32. <div id="p2" style="width:50%;"></div>
  33. </p>
  34. <p>
  35. <b>Waiting Bar</b><br />
  36. Wait for a long operation to complete (example will stop after 5 secs):
  37. <button id="btn3">Show</button><br />
  38. <div id="p3"></div>
  39. <span class="status" id="p3text">Ready</span>
  40. </p>
  41. <p>
  42. <b>Custom Styles</b><br />
  43. Rendered like Windows XP with custom progress text element:
  44. <button id="btn4">Show</button><br />
  45. <div id="p4" style="width:300px;"></div>
  46. <div class="status"><b>Status:</b> <span id="p4text"></span></div>
  47. </p>
  48. </body>
  49. </html>