blob: 0b737310dec36c63b4746edc6871494b3c01b6d4 [file] [log] [blame]
tom0eb04ca2014-08-25 14:34:51 -07001<!DOCTYPE html>
Simon Hunt0b05d4a2014-10-21 21:50:15 -07002<!--
Thomas Vachuska4f1a60c2014-10-28 13:39:07 -07003 ~ Copyright 2014 Open Networking Laboratory
Thomas Vachuska781d18b2014-10-27 10:31:25 -07004 ~
Thomas Vachuska4f1a60c2014-10-28 13:39:07 -07005 ~ 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 Vachuska781d18b2014-10-27 10:31:25 -07008 ~
Thomas Vachuska4f1a60c2014-10-28 13:39:07 -07009 ~ 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 Vachuska781d18b2014-10-27 10:31:25 -070016 -->
17
18<!--
Simon Hunt0b05d4a2014-10-21 21:50:15 -070019 ONOS UI - single page web app
20
21 @author Simon Hunt
22 -->
tom0eb04ca2014-08-25 14:34:51 -070023<html>
24<head>
Simon Hunt5cd0e8f2014-10-27 16:18:40 -070025 <meta charset="utf-8">
tom0eb04ca2014-08-25 14:34:51 -070026 <title>ONOS GUI</title>
Simon Hunt8bca74f2014-10-15 16:56:55 -070027
Simon Hunt5cd0e8f2014-10-27 16:18:40 -070028 <!--TODO: use the minified version of d3, once debugging is complete -->
29 <script src="libs/d3.js"></script>
Simon Hunt8bca74f2014-10-15 16:56:55 -070030 <script src="libs/jquery-2.1.1.min.js"></script>
Simon Hunt0b05d4a2014-10-21 21:50:15 -070031
32 <link rel="stylesheet" href="base.css">
33 <link rel="stylesheet" href="onos.css">
34
Simon Hunt1c219892014-10-22 16:32:39 -070035 <script src="geometry.js"></script>
Simon Hunt19cb0982014-10-23 16:44:49 -070036 <script src="onos.js"></script>
Simon Hunt0b05d4a2014-10-21 21:50:15 -070037
tom0eb04ca2014-08-25 14:34:51 -070038</head>
39<body>
Simon Hunt0b05d4a2014-10-21 21:50:15 -070040 <div id="frame">
41 <div id="mast">
Simon Hunt19cb0982014-10-23 16:44:49 -070042 <img id="logo" src="img/onos-logo.png" width="60" height="38">
43 <span class="title">Open Network Operating System</span>
Simon Hunt5cd0e8f2014-10-27 16:18:40 -070044 <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 Hunt0b05d4a2014-10-21 21:50:15 -070048 </span>
49 </div>
50 <div id="view"></div>
51 </div>
52
Simon Hunt3ab76a82014-10-22 13:07:32 -070053 <!-- Initialize the UI...-->
Simon Hunt0b05d4a2014-10-21 21:50:15 -070054 <script type="text/javascript">
55 var ONOS = $.onos({note: "config, if needed"});
56 </script>
57
Simon Hunt3ab76a82014-10-22 13:07:32 -070058 <!-- include module files-->
59 <!-- + mast.js-->
60 <!-- + nav.js-->
61 <!-- + .... application views-->
Simon Hunt0b05d4a2014-10-21 21:50:15 -070062
Simon Hunt3ab76a82014-10-22 13:07:32 -070063 <!-- for now, we are just bootstrapping the network visualization-->
Simon Hunt0b05d4a2014-10-21 21:50:15 -070064 <script src="network.js" type="text/javascript"></script>
65
Simon Hunt3ab76a82014-10-22 13:07:32 -070066 <!-- finally, build the UI-->
Simon Hunt0b05d4a2014-10-21 21:50:15 -070067 <script type="text/javascript">
68 $(ONOS.buildUi);
69 </script>
70
tom0eb04ca2014-08-25 14:34:51 -070071</body>
Simon Hunt0b05d4a2014-10-21 21:50:15 -070072</html>