blob: b2675ecc85c50b7c870d22fb6d12e3cc9a96253a [file] [log] [blame]
tom0eb04ca2014-08-25 14:34:51 -07001<!DOCTYPE html>
Simon Hunt0b05d4a2014-10-21 21:50:15 -07002<!--
Thomas Vachuska781d18b2014-10-27 10:31:25 -07003 ~ 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 Hunt0b05d4a2014-10-21 21:50:15 -070022 ONOS UI - single page web app
23
24 @author Simon Hunt
25 -->
tom0eb04ca2014-08-25 14:34:51 -070026<html>
27<head>
Simon Hunt5cd0e8f2014-10-27 16:18:40 -070028 <meta charset="utf-8">
tom0eb04ca2014-08-25 14:34:51 -070029 <title>ONOS GUI</title>
Simon Hunt8bca74f2014-10-15 16:56:55 -070030
Simon Hunt5cd0e8f2014-10-27 16:18:40 -070031 <!--TODO: use the minified version of d3, once debugging is complete -->
32 <script src="libs/d3.js"></script>
Simon Hunt8bca74f2014-10-15 16:56:55 -070033 <script src="libs/jquery-2.1.1.min.js"></script>
Simon Hunt0b05d4a2014-10-21 21:50:15 -070034
35 <link rel="stylesheet" href="base.css">
36 <link rel="stylesheet" href="onos.css">
37
Simon Hunt1c219892014-10-22 16:32:39 -070038 <script src="geometry.js"></script>
Simon Hunt19cb0982014-10-23 16:44:49 -070039 <script src="onos.js"></script>
Simon Hunt0b05d4a2014-10-21 21:50:15 -070040
tom0eb04ca2014-08-25 14:34:51 -070041</head>
42<body>
Simon Hunt0b05d4a2014-10-21 21:50:15 -070043 <div id="frame">
44 <div id="mast">
Simon Hunt19cb0982014-10-23 16:44:49 -070045 <img id="logo" src="img/onos-logo.png" width="60" height="38">
46 <span class="title">Open Network Operating System</span>
Simon Hunt5cd0e8f2014-10-27 16:18:40 -070047 <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 Hunt0b05d4a2014-10-21 21:50:15 -070051 </span>
52 </div>
53 <div id="view"></div>
54 </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>