tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 1 | <!DOCTYPE html> |
Simon Hunt | 0b05d4a | 2014-10-21 21:50:15 -0700 | [diff] [blame] | 2 | <!-- |
Thomas Vachuska | 781d18b | 2014-10-27 10:31:25 -0700 | [diff] [blame] | 3 | ~ Licensed to the Apache Software Foundation (ASF) under one |
| 4 | ~ or more contributor license agreements. See the NOTICE file |
| 5 | ~ distributed with this work for additional information |
| 6 | ~ regarding copyright ownership. The ASF licenses this file |
| 7 | ~ to you under the Apache License, Version 2.0 (the |
| 8 | ~ "License"); you may not use this file except in compliance |
| 9 | ~ with the License. You may obtain a copy of the License at |
| 10 | ~ |
| 11 | ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | ~ |
| 13 | ~ Unless required by applicable law or agreed to in writing, |
| 14 | ~ software distributed under the License is distributed on an |
| 15 | ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 16 | ~ KIND, either express or implied. See the License for the |
| 17 | ~ specific language governing permissions and limitations |
| 18 | ~ under the License. |
| 19 | --> |
| 20 | |
| 21 | <!-- |
Simon Hunt | 0b05d4a | 2014-10-21 21:50:15 -0700 | [diff] [blame] | 22 | ONOS UI - single page web app |
| 23 | |
| 24 | @author Simon Hunt |
| 25 | --> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 26 | <html> |
| 27 | <head> |
Simon Hunt | 5cd0e8f | 2014-10-27 16:18:40 -0700 | [diff] [blame^] | 28 | <meta charset="utf-8"> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 29 | <title>ONOS GUI</title> |
Simon Hunt | 8bca74f | 2014-10-15 16:56:55 -0700 | [diff] [blame] | 30 | |
Simon Hunt | 5cd0e8f | 2014-10-27 16:18:40 -0700 | [diff] [blame^] | 31 | <!--TODO: use the minified version of d3, once debugging is complete --> |
| 32 | <script src="libs/d3.js"></script> |
Simon Hunt | 8bca74f | 2014-10-15 16:56:55 -0700 | [diff] [blame] | 33 | <script src="libs/jquery-2.1.1.min.js"></script> |
Simon Hunt | 0b05d4a | 2014-10-21 21:50:15 -0700 | [diff] [blame] | 34 | |
| 35 | <link rel="stylesheet" href="base.css"> |
| 36 | <link rel="stylesheet" href="onos.css"> |
| 37 | |
Simon Hunt | 1c21989 | 2014-10-22 16:32:39 -0700 | [diff] [blame] | 38 | <script src="geometry.js"></script> |
Simon Hunt | 19cb098 | 2014-10-23 16:44:49 -0700 | [diff] [blame] | 39 | <script src="onos.js"></script> |
Simon Hunt | 0b05d4a | 2014-10-21 21:50:15 -0700 | [diff] [blame] | 40 | |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 41 | </head> |
| 42 | <body> |
Simon Hunt | 0b05d4a | 2014-10-21 21:50:15 -0700 | [diff] [blame] | 43 | <div id="frame"> |
| 44 | <div id="mast"> |
Simon Hunt | 19cb098 | 2014-10-23 16:44:49 -0700 | [diff] [blame] | 45 | <img id="logo" src="img/onos-logo.png" width="60" height="38"> |
| 46 | <span class="title">Open Network Operating System</span> |
Simon Hunt | 5cd0e8f | 2014-10-27 16:18:40 -0700 | [diff] [blame^] | 47 | <span id="displayModes" class="right"> |
| 48 | <span id="showAll" class="radio active">All Layers</span> |
| 49 | <span id="showPkt" class="radio">Packet Only</span> |
| 50 | <span id="showOpt" class="radio">Optical Only</span> |
Simon Hunt | 0b05d4a | 2014-10-21 21:50:15 -0700 | [diff] [blame] | 51 | </span> |
| 52 | </div> |
| 53 | <div id="view"></div> |
| 54 | </div> |
| 55 | |
Simon Hunt | 3ab76a8 | 2014-10-22 13:07:32 -0700 | [diff] [blame] | 56 | <!-- Initialize the UI...--> |
Simon Hunt | 0b05d4a | 2014-10-21 21:50:15 -0700 | [diff] [blame] | 57 | <script type="text/javascript"> |
| 58 | var ONOS = $.onos({note: "config, if needed"}); |
| 59 | </script> |
| 60 | |
Simon Hunt | 3ab76a8 | 2014-10-22 13:07:32 -0700 | [diff] [blame] | 61 | <!-- include module files--> |
| 62 | <!-- + mast.js--> |
| 63 | <!-- + nav.js--> |
| 64 | <!-- + .... application views--> |
Simon Hunt | 0b05d4a | 2014-10-21 21:50:15 -0700 | [diff] [blame] | 65 | |
Simon Hunt | 3ab76a8 | 2014-10-22 13:07:32 -0700 | [diff] [blame] | 66 | <!-- for now, we are just bootstrapping the network visualization--> |
Simon Hunt | 0b05d4a | 2014-10-21 21:50:15 -0700 | [diff] [blame] | 67 | <script src="network.js" type="text/javascript"></script> |
| 68 | |
Simon Hunt | 3ab76a8 | 2014-10-22 13:07:32 -0700 | [diff] [blame] | 69 | <!-- finally, build the UI--> |
Simon Hunt | 0b05d4a | 2014-10-21 21:50:15 -0700 | [diff] [blame] | 70 | <script type="text/javascript"> |
| 71 | $(ONOS.buildUi); |
| 72 | </script> |
| 73 | |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 74 | </body> |
Simon Hunt | 0b05d4a | 2014-10-21 21:50:15 -0700 | [diff] [blame] | 75 | </html> |