Simon Hunt | 195cb38 | 2014-11-03 17:50:51 -0800 | [diff] [blame] | 1 | <!DOCTYPE html> |
| 2 | <!-- |
| 3 | ~ Copyright 2014 Open Networking Laboratory |
| 4 | ~ |
| 5 | ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | ~ you may not use this file except in compliance with the License. |
| 7 | ~ You may obtain a copy of the License at |
| 8 | ~ |
| 9 | ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | ~ |
| 11 | ~ Unless required by applicable law or agreed to in writing, software |
| 12 | ~ distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | ~ See the License for the specific language governing permissions and |
| 15 | ~ limitations under the License. |
| 16 | --> |
| 17 | |
| 18 | <!-- |
| 19 | ONOS UI - single page web app |
| 20 | Version 1.1 |
| 21 | |
| 22 | @author Simon Hunt |
| 23 | --> |
| 24 | <html> |
| 25 | <head> |
| 26 | <meta charset="utf-8"> |
| 27 | <title>ONOS GUI (v1.1)</title> |
| 28 | |
| 29 | <link rel="shortcut icon" href="img/onos-logo.png"> |
| 30 | |
| 31 | <!-- first script to be run --> |
| 32 | <script src="preamble.js"></script> |
| 33 | |
| 34 | <!-- Third party library code included here --> |
| 35 | <!--TODO: use the minified version of d3, once debugging is complete --> |
| 36 | <script src="libs/d3.js"></script> |
| 37 | <script src="libs/jquery-2.1.1.min.js"></script> |
| 38 | |
| 39 | <!-- Base library and framework stylesheets included here --> |
| 40 | <link rel="stylesheet" href="base.css"> |
| 41 | <link rel="stylesheet" href="onos2.css"> |
| 42 | <link rel="stylesheet" href="mast2.css"> |
| 43 | |
| 44 | <!-- This is where contributed stylesheets get INJECTED --> |
| 45 | <!-- TODO: replace with template marker and inject refs server-side --> |
| 46 | <link rel="stylesheet" href="topo2.css"> |
| 47 | |
| 48 | |
| 49 | <!-- General library modules included here--> |
| 50 | <script src="geometry2.js"></script> |
| 51 | |
| 52 | <!-- ONOS UI Framework included here--> |
| 53 | <script src="onos2.js"></script> |
| 54 | |
| 55 | </head> |
| 56 | <body> |
| 57 | <div id="frame"> |
| 58 | <div id="mast"> |
| 59 | <!-- NOTE: masthead injected here by mast.js --> |
| 60 | </div> |
| 61 | <div id="view"> |
| 62 | <!-- NOTE: views injected here by onos.js --> |
| 63 | </div> |
| 64 | <div id="overlays"> |
| 65 | <!-- NOTE: overlays injected here, as needed --> |
| 66 | </div> |
Simon Hunt | 1a9eff9 | 2014-11-07 11:06:34 -0800 | [diff] [blame] | 67 | <div id="alerts"> |
| 68 | <!-- NOTE: alert content injected here, as needed --> |
| 69 | </div> |
Simon Hunt | 195cb38 | 2014-11-03 17:50:51 -0800 | [diff] [blame] | 70 | </div> |
| 71 | |
| 72 | <!-- Initialize the UI...--> |
| 73 | <script type="text/javascript"> |
Simon Hunt | 2524891 | 2014-11-04 11:25:48 -0800 | [diff] [blame] | 74 | var ONOS = $.onos({ |
| 75 | comment: "configuration options", |
Simon Hunt | 142d003 | 2014-11-04 20:13:09 -0800 | [diff] [blame] | 76 | startVid: 'topo', |
Simon Hunt | 0df1b1d | 2014-11-04 22:58:29 -0800 | [diff] [blame] | 77 | // startVid: 'sampleKeys', |
Simon Hunt | 2524891 | 2014-11-04 11:25:48 -0800 | [diff] [blame] | 78 | trace: false |
| 79 | }); |
Simon Hunt | 195cb38 | 2014-11-03 17:50:51 -0800 | [diff] [blame] | 80 | </script> |
| 81 | |
Simon Hunt | 1a9eff9 | 2014-11-07 11:06:34 -0800 | [diff] [blame] | 82 | <!-- Library module files included here --> |
| 83 | <script src="d3Utils.js"></script> |
| 84 | |
Simon Hunt | 195cb38 | 2014-11-03 17:50:51 -0800 | [diff] [blame] | 85 | <!-- Framework module files included here --> |
| 86 | <script src="mast2.js"></script> |
| 87 | |
Simon Hunt | 142d003 | 2014-11-04 20:13:09 -0800 | [diff] [blame] | 88 | <!-- Sample views; can be dispensed with eventually --> |
Simon Hunt | 2524891 | 2014-11-04 11:25:48 -0800 | [diff] [blame] | 89 | <script src="sample2.js"></script> |
| 90 | <script src="sampleAlt2.js"></script> |
Simon Hunt | db9eb07 | 2014-11-04 19:12:46 -0800 | [diff] [blame] | 91 | <script src="sampleRadio.js"></script> |
Simon Hunt | 0df1b1d | 2014-11-04 22:58:29 -0800 | [diff] [blame] | 92 | <script src="sampleKeys.js"></script> |
Simon Hunt | 195cb38 | 2014-11-03 17:50:51 -0800 | [diff] [blame] | 93 | |
Simon Hunt | 142d003 | 2014-11-04 20:13:09 -0800 | [diff] [blame] | 94 | <!-- Contributed (application) views injected here --> |
| 95 | <!-- TODO: replace with template marker and inject refs server-side --> |
| 96 | <script src="topo2.js"></script> |
| 97 | |
Simon Hunt | 195cb38 | 2014-11-03 17:50:51 -0800 | [diff] [blame] | 98 | <!-- finally, build the UI--> |
| 99 | <script type="text/javascript"> |
| 100 | $(ONOS.buildUi); |
| 101 | </script> |
| 102 | |
| 103 | </body> |
| 104 | </html> |