| 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
| 2 | <html> |
| 3 | <head> |
| 4 | <title>Dojo Gauge Test</title> |
| 5 | <style type="text/css"> |
| 6 | @import "../../../dojo/resources/dojo.css"; |
| 7 | @import "../../../dijit/themes/claro/claro.css"; |
| 8 | @import "style.css"; |
| 9 | </style> |
| 10 | <script type="text/javascript"> |
| 11 | var djConfig = { |
| 12 | parseOnLoad: true, |
| 13 | async: true |
| 14 | } |
| 15 | </script> |
| 16 | <script type="text/javascript" src="../../../dojo/dojo.js"> |
| 17 | </script> |
| 18 | |
| 19 | <script type="text/javascript"> |
| 20 | require(["dojo/_base/kernel", "dojo/parser", "dijit/layout/BorderContainer", "dijit/layout/ContentPane", "dojox/dgauges/components/default/HorizontalLinearGauge", "dijit/form/Button", |
| 21 | "dojox/dgauges/components/default/VerticalLinearGauge"]); |
| 22 | </script> |
| 23 | </head> |
| 24 | <body class="claro"> |
| 25 | <div dojoType="dijit.layout.BorderContainer" gutters="true" liveSplitters="true" id="borderContainer"> |
| 26 | <div dojoType="dijit.layout.ContentPane" style="background-color: #fafafa;" splitter="true" region="center"> |
| 27 | <div id="g1" dojoType="dojox.dgauges.components.default.HorizontalLinearGauge"> |
| 28 | </div> |
| 29 | </div> |
| 30 | <div dojoType="dijit.layout.ContentPane" style="background-color: #fafafa; width:80px" splitter="true" region="left"> |
| 31 | <div id="g3" dojoType="dojox.dgauges.components.default.VerticalLinearGauge"> |
| 32 | </div> |
| 33 | </div> |
| 34 | <div dojoType="dijit.layout.ContentPane" style="background-color: #fafafa; width:50%" splitter="true" region="right"> |
| 35 | <div id="g2" dojoType="dojox.dgauges.components.default.HorizontalLinearGauge"> |
| 36 | </div> |
| 37 | </div> |
| 38 | </div> |
| 39 | </body> |
| 40 | </html> |