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 |
Simon Hunt | 195cb38 | 2014-11-03 17:50:51 -0800 | [diff] [blame] | 21 | --> |
| 22 | <html> |
| 23 | <head> |
| 24 | <meta charset="utf-8"> |
Thomas Vachuska | 5f39965 | 2015-02-23 15:17:36 -0800 | [diff] [blame] | 25 | <link rel="shortcut icon" href="../img/onos-logo.png"> |
Simon Hunt | b33b40b | 2014-12-01 16:12:47 -0800 | [diff] [blame] | 26 | <title>ONOS</title> |
Simon Hunt | 195cb38 | 2014-11-03 17:50:51 -0800 | [diff] [blame] | 27 | |
Simon Hunt | 195cb38 | 2014-11-03 17:50:51 -0800 | [diff] [blame] | 28 | <!-- Third party library code included here --> |
| 29 | <!--TODO: use the minified version of d3, once debugging is complete --> |
Thomas Vachuska | 5f39965 | 2015-02-23 15:17:36 -0800 | [diff] [blame] | 30 | <script src="../tp/d3.js"></script> |
| 31 | <script src="../tp/topojson.v1.min.js"></script> |
| 32 | <script src="../tp/jquery-2.1.1.min.js"></script> |
Simon Hunt | 195cb38 | 2014-11-03 17:50:51 -0800 | [diff] [blame] | 33 | |
Simon Hunt | b33b40b | 2014-12-01 16:12:47 -0800 | [diff] [blame] | 34 | <!-- ONOS UI Framework included here --> |
| 35 | <script src="onos.js"></script> |
| 36 | |
| 37 | <!-- Framework and library stylesheets included here --> |
Simon Hunt | 195cb38 | 2014-11-03 17:50:51 -0800 | [diff] [blame] | 38 | <link rel="stylesheet" href="base.css"> |
Simon Hunt | e5ab138 | 2014-11-25 10:28:51 -0800 | [diff] [blame] | 39 | <link rel="stylesheet" href="onos.css"> |
| 40 | <link rel="stylesheet" href="onosMast.css"> |
| 41 | <link rel="stylesheet" href="onosFloatPanel.css"> |
| 42 | <link rel="stylesheet" href="onosFlash.css"> |
Simon Hunt | 5cef906 | 2014-11-24 15:24:35 -0800 | [diff] [blame] | 43 | <link rel="stylesheet" href="onosQuickHelp.css"> |
Simon Hunt | 195cb38 | 2014-11-03 17:50:51 -0800 | [diff] [blame] | 44 | |
| 45 | <!-- This is where contributed stylesheets get INJECTED --> |
| 46 | <!-- TODO: replace with template marker and inject refs server-side --> |
Simon Hunt | e5ab138 | 2014-11-25 10:28:51 -0800 | [diff] [blame] | 47 | <link rel="stylesheet" href="topo.css"> |
Simon Hunt | 195cb38 | 2014-11-03 17:50:51 -0800 | [diff] [blame] | 48 | </head> |
Thomas Vachuska | 8954329 | 2014-11-19 11:28:33 -0800 | [diff] [blame] | 49 | <body> |
Simon Hunt | 195cb38 | 2014-11-03 17:50:51 -0800 | [diff] [blame] | 50 | <div id="frame"> |
| 51 | <div id="mast"> |
| 52 | <!-- NOTE: masthead injected here by mast.js --> |
| 53 | </div> |
| 54 | <div id="view"> |
| 55 | <!-- NOTE: views injected here by onos.js --> |
| 56 | </div> |
Simon Hunt | 61d0404 | 2014-11-11 17:27:16 -0800 | [diff] [blame] | 57 | <div id="floatPanels"> |
| 58 | <!-- NOTE: floating panels injected here, as needed --> |
| 59 | <!-- see onos.ui.addFloatingPanel --> |
Simon Hunt | 195cb38 | 2014-11-03 17:50:51 -0800 | [diff] [blame] | 60 | </div> |
Simon Hunt | 1a9eff9 | 2014-11-07 11:06:34 -0800 | [diff] [blame] | 61 | <div id="alerts"> |
| 62 | <!-- NOTE: alert content injected here, as needed --> |
| 63 | </div> |
Simon Hunt | a3dd957 | 2014-11-20 15:22:41 -0800 | [diff] [blame] | 64 | <div id="feedback"> |
Simon Hunt | 5cef906 | 2014-11-24 15:24:35 -0800 | [diff] [blame] | 65 | <!-- NOTE: feedback flashes to user --> |
Simon Hunt | a3dd957 | 2014-11-20 15:22:41 -0800 | [diff] [blame] | 66 | </div> |
Simon Hunt | 5cef906 | 2014-11-24 15:24:35 -0800 | [diff] [blame] | 67 | <div id="quickhelp"> |
| 68 | <!-- NOTE: key bindings and mouse gesture help --> |
Simon Hunt | 988c6fc | 2014-11-20 17:43:03 -0800 | [diff] [blame] | 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({ |
Thomas Vachuska | 65368e3 | 2014-11-08 16:10:20 -0800 | [diff] [blame] | 75 | comment: 'configuration options', |
Thomas Vachuska | ece59ee | 2014-11-19 19:06:11 -0800 | [diff] [blame] | 76 | theme: 'dark', |
Simon Hunt | 352be5f | 2014-11-23 12:14:49 -0800 | [diff] [blame] | 77 | startVid: 'topo' |
Simon Hunt | 2524891 | 2014-11-04 11:25:48 -0800 | [diff] [blame] | 78 | }); |
Simon Hunt | 195cb38 | 2014-11-03 17:50:51 -0800 | [diff] [blame] | 79 | </script> |
| 80 | |
Simon Hunt | b33b40b | 2014-12-01 16:12:47 -0800 | [diff] [blame] | 81 | <!-- Library modules included here --> |
Simon Hunt | 1a9eff9 | 2014-11-07 11:06:34 -0800 | [diff] [blame] | 82 | <script src="d3Utils.js"></script> |
Simon Hunt | b33b40b | 2014-12-01 16:12:47 -0800 | [diff] [blame] | 83 | <script src="geometry.js"></script> |
Simon Hunt | 12ce12e | 2014-11-15 21:13:19 -0800 | [diff] [blame] | 84 | <script src="glyphs.js"></script> |
Simon Hunt | 1a9eff9 | 2014-11-07 11:06:34 -0800 | [diff] [blame] | 85 | |
Simon Hunt | b33b40b | 2014-12-01 16:12:47 -0800 | [diff] [blame] | 86 | <!-- Framework modules included here --> |
Simon Hunt | e5ab138 | 2014-11-25 10:28:51 -0800 | [diff] [blame] | 87 | <script src="onosMast.js"></script> |
| 88 | <script src="onosFlash.js"></script> |
Simon Hunt | 5cef906 | 2014-11-24 15:24:35 -0800 | [diff] [blame] | 89 | <script src="onosQuickHelp.js"></script> |
Simon Hunt | 195cb38 | 2014-11-03 17:50:51 -0800 | [diff] [blame] | 90 | |
Simon Hunt | f67722a | 2014-11-10 09:32:06 -0800 | [diff] [blame] | 91 | <!-- View Module Templates; REMOVE THESE LINES, FOR PRODUCTION --> |
| 92 | <script src="module-svg-template.js"></script> |
| 93 | <script src="module-div-template.js"></script> |
| 94 | |
Simon Hunt | b33b40b | 2014-12-01 16:12:47 -0800 | [diff] [blame] | 95 | <!-- Sample Views; REMOVE THESE LINES, FOR PRODUCTION --> |
Simon Hunt | e5ab138 | 2014-11-25 10:28:51 -0800 | [diff] [blame] | 96 | <script src="sample.js"></script> |
Simon Hunt | db9eb07 | 2014-11-04 19:12:46 -0800 | [diff] [blame] | 97 | <script src="sampleRadio.js"></script> |
Simon Hunt | 0df1b1d | 2014-11-04 22:58:29 -0800 | [diff] [blame] | 98 | <script src="sampleKeys.js"></script> |
Simon Hunt | 56d5185 | 2014-11-09 13:03:35 -0800 | [diff] [blame] | 99 | <script src="sampleHash.js"></script> |
Simon Hunt | 195cb38 | 2014-11-03 17:50:51 -0800 | [diff] [blame] | 100 | |
Simon Hunt | 142d003 | 2014-11-04 20:13:09 -0800 | [diff] [blame] | 101 | <!-- Contributed (application) views injected here --> |
| 102 | <!-- TODO: replace with template marker and inject refs server-side --> |
Simon Hunt | e5ab138 | 2014-11-25 10:28:51 -0800 | [diff] [blame] | 103 | <script src="topo.js"></script> |
Simon Hunt | 142d003 | 2014-11-04 20:13:09 -0800 | [diff] [blame] | 104 | |
Simon Hunt | 195cb38 | 2014-11-03 17:50:51 -0800 | [diff] [blame] | 105 | <!-- finally, build the UI--> |
| 106 | <script type="text/javascript"> |
| 107 | $(ONOS.buildUi); |
| 108 | </script> |
| 109 | |
| 110 | </body> |
| 111 | </html> |