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 | 4f1a60c | 2014-10-28 13:39:07 -0700 | [diff] [blame] | 3 | ~ Copyright 2014 Open Networking Laboratory |
Thomas Vachuska | 781d18b | 2014-10-27 10:31:25 -0700 | [diff] [blame] | 4 | ~ |
Thomas Vachuska | 4f1a60c | 2014-10-28 13:39:07 -0700 | [diff] [blame] | 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 |
Thomas Vachuska | 781d18b | 2014-10-27 10:31:25 -0700 | [diff] [blame] | 8 | ~ |
Thomas Vachuska | 4f1a60c | 2014-10-28 13:39:07 -0700 | [diff] [blame] | 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. |
Thomas Vachuska | 781d18b | 2014-10-27 10:31:25 -0700 | [diff] [blame] | 16 | --> |
| 17 | |
| 18 | <!-- |
Simon Hunt | 0b05d4a | 2014-10-21 21:50:15 -0700 | [diff] [blame] | 19 | ONOS UI - single page web app |
| 20 | |
| 21 | @author Simon Hunt |
| 22 | --> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 23 | <html> |
| 24 | <head> |
Simon Hunt | 5cd0e8f | 2014-10-27 16:18:40 -0700 | [diff] [blame] | 25 | <meta charset="utf-8"> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 26 | <title>ONOS GUI</title> |
Simon Hunt | 8bca74f | 2014-10-15 16:56:55 -0700 | [diff] [blame] | 27 | |
Simon Hunt | 5cd0e8f | 2014-10-27 16:18:40 -0700 | [diff] [blame] | 28 | <!--TODO: use the minified version of d3, once debugging is complete --> |
| 29 | <script src="libs/d3.js"></script> |
Simon Hunt | 8bca74f | 2014-10-15 16:56:55 -0700 | [diff] [blame] | 30 | <script src="libs/jquery-2.1.1.min.js"></script> |
Simon Hunt | 0b05d4a | 2014-10-21 21:50:15 -0700 | [diff] [blame] | 31 | |
| 32 | <link rel="stylesheet" href="base.css"> |
| 33 | <link rel="stylesheet" href="onos.css"> |
| 34 | |
Simon Hunt | 1c21989 | 2014-10-22 16:32:39 -0700 | [diff] [blame] | 35 | <script src="geometry.js"></script> |
Simon Hunt | 19cb098 | 2014-10-23 16:44:49 -0700 | [diff] [blame] | 36 | <script src="onos.js"></script> |
Simon Hunt | 0b05d4a | 2014-10-21 21:50:15 -0700 | [diff] [blame] | 37 | |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 38 | </head> |
| 39 | <body> |
Simon Hunt | 0b05d4a | 2014-10-21 21:50:15 -0700 | [diff] [blame] | 40 | <div id="frame"> |
| 41 | <div id="mast"> |
Thomas Vachuska | 1de6601 | 2014-10-30 03:03:30 -0700 | [diff] [blame^] | 42 | <img id="logo" src="img/onos-logo.png"> |
Simon Hunt | 19cb098 | 2014-10-23 16:44:49 -0700 | [diff] [blame] | 43 | <span class="title">Open Network Operating System</span> |
Simon Hunt | 5cd0e8f | 2014-10-27 16:18:40 -0700 | [diff] [blame] | 44 | <span id="displayModes" class="right"> |
| 45 | <span id="showAll" class="radio active">All Layers</span> |
| 46 | <span id="showPkt" class="radio">Packet Only</span> |
| 47 | <span id="showOpt" class="radio">Optical Only</span> |
Simon Hunt | 0b05d4a | 2014-10-21 21:50:15 -0700 | [diff] [blame] | 48 | </span> |
| 49 | </div> |
Simon Hunt | 6f376a3 | 2014-10-28 12:38:30 -0700 | [diff] [blame] | 50 | <div id="view"> |
| 51 | <!-- NOTE: svg layer injected here --> |
| 52 | </div> |
| 53 | <div id="flyout"></div> |
Simon Hunt | 0b05d4a | 2014-10-21 21:50:15 -0700 | [diff] [blame] | 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> |