| 1 | <!DOCTYPE html> |
| 2 | <html lang="en"> |
| 3 | <head> |
| 4 | <meta http-equiv="Content-type" content="text/html; charset=utf-8"> |
| 5 | <title>dijit/layout/BorderContainer Test - Full Screen</title> |
| 6 | |
| 7 | <script src="../boilerplate.js"></script> |
| 8 | |
| 9 | <style type="text/css"> |
| 10 | html, body, #main{ |
| 11 | width: 100%; /* make the body expand to fill the visible window */ |
| 12 | height: 100%; |
| 13 | overflow: hidden; /* erase window level scrollbars */ |
| 14 | padding: 0 0 0 0; |
| 15 | margin: 0 0 0 0; |
| 16 | font: 10pt Arial,Myriad,Tahoma,Verdana,sans-serif; |
| 17 | } |
| 18 | </style> |
| 19 | |
| 20 | <script type="text/javascript"> |
| 21 | require([ |
| 22 | "dojo/parser", |
| 23 | "dijit/layout/BorderContainer", |
| 24 | "dijit/layout/ContentPane", |
| 25 | "dijit/form/FilteringSelect", |
| 26 | "dojo/domReady!" |
| 27 | ], function(parser){ |
| 28 | parser.parse(); |
| 29 | }); |
| 30 | </script> |
| 31 | </head> |
| 32 | <body class="claro" role="main"> |
| 33 | <div id="main" data-dojo-type="dijit/layout/BorderContainer" data-dojo-props='design:"sidebar" '> |
| 34 | <div data-dojo-type="dijit/layout/ContentPane" data-dojo-props='id:"main-leading", region:"leading", style:"background-color: #acb386; width: 100px;"'> |
| 35 | leading |
| 36 | </div> |
| 37 | <div data-dojo-type="dijit/layout/ContentPane" data-dojo-props='id:"main-top", region:"top", style:"background-color: #b39b86; height: 100px;"'> |
| 38 | top bar |
| 39 | </div> |
| 40 | <div data-dojo-type="dijit/layout/ContentPane" data-dojo-props='id:"main-center", region:"center", style:"background-color: #f5ffbf; padding: 10px;"'> |
| 41 | main panel with <a href="http://www.dojotoolkit.org/">a link</a>.<br /> |
| 42 | (to check we're copying children around properly).<br /> |
| 43 | <select aria-label="select" data-dojo-type="dijit/form/FilteringSelect"> |
| 44 | <option value="1">foo</option> |
| 45 | <option value="2">bar</option> |
| 46 | <option value="3">baz</option> |
| 47 | </select> |
| 48 | Here's some text that comes AFTER the combo box. |
| 49 | </div> |
| 50 | <div data-dojo-type="dijit/layout/ContentPane" data-dojo-props='id:"main-bottom", region:"bottom", style:"background-color: #b39b86; height: 100px;", splitter:true'> |
| 51 | bottom bar |
| 52 | </div> |
| 53 | <div data-dojo-type="dijit/layout/ContentPane" data-dojo-props='id:"main-trailing", region:"trailing", style:"background-color: #acb386; width: 100px;", splitter:true'> |
| 54 | trailing |
| 55 | </div> |
| 56 | </div> |
| 57 | </body> |
| 58 | </html> |