blob: 337eca7c668dc664a13c40ec375755bce37d01ce [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">
Thomas Vachuska1de66012014-10-30 03:03:30 -070042 <img id="logo" src="img/onos-logo.png">
Simon Hunt19cb0982014-10-23 16:44:49 -070043 <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>
Simon Hunt6f376a32014-10-28 12:38:30 -070050 <div id="view">
51 <!-- NOTE: svg layer injected here -->
52 </div>
53 <div id="flyout"></div>
Simon Hunt0b05d4a2014-10-21 21:50:15 -070054 </div>
55
Simon Hunt3ab76a82014-10-22 13:07:32 -070056 <!-- Initialize the UI...-->
Simon Hunt0b05d4a2014-10-21 21:50:15 -070057 <script type="text/javascript">
58 var ONOS = $.onos({note: "config, if needed"});
59 </script>
60
Simon Hunt3ab76a82014-10-22 13:07:32 -070061 <!-- include module files-->
62 <!-- + mast.js-->
63 <!-- + nav.js-->
64 <!-- + .... application views-->
Simon Hunt0b05d4a2014-10-21 21:50:15 -070065
Simon Hunt3ab76a82014-10-22 13:07:32 -070066 <!-- for now, we are just bootstrapping the network visualization-->
Simon Hunt0b05d4a2014-10-21 21:50:15 -070067 <script src="network.js" type="text/javascript"></script>
68
Simon Hunt3ab76a82014-10-22 13:07:32 -070069 <!-- finally, build the UI-->
Simon Hunt0b05d4a2014-10-21 21:50:15 -070070 <script type="text/javascript">
71 $(ONOS.buildUi);
72 </script>
73
tom0eb04ca2014-08-25 14:34:51 -070074</body>
Simon Hunt0b05d4a2014-10-21 21:50:15 -070075</html>