blob: 24aeee33dbda82d8ad6d868bbad3f324e362ca79 [file] [log] [blame]
Simon Hunt195cb382014-11-03 17:50:51 -08001<!DOCTYPE html>
2<!--
3 ~ Copyright 2014 Open Networking Laboratory
4 ~
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
8 ~
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.
16 -->
17
18<!--
19 ONOS UI - single page web app
20 Version 1.1
21
22 @author Simon Hunt
23 -->
24<html>
25<head>
26 <meta charset="utf-8">
27 <title>ONOS GUI (v1.1)</title>
28
29 <link rel="shortcut icon" href="img/onos-logo.png">
30
31 <!-- first script to be run -->
32 <script src="preamble.js"></script>
33
34 <!-- Third party library code included here -->
35 <!--TODO: use the minified version of d3, once debugging is complete -->
36 <script src="libs/d3.js"></script>
Paul Greyson6cb8ca02014-11-12 18:09:02 -080037 <script src="libs/topojson.v1.min.js"></script>
Simon Hunt195cb382014-11-03 17:50:51 -080038 <script src="libs/jquery-2.1.1.min.js"></script>
39
40 <!-- Base library and framework stylesheets included here -->
41 <link rel="stylesheet" href="base.css">
42 <link rel="stylesheet" href="onos2.css">
Paul Greyson29cd58f2014-11-18 13:14:57 -080043 <link rel="stylesheet" href="onos_theme.css">
Simon Hunt195cb382014-11-03 17:50:51 -080044 <link rel="stylesheet" href="mast2.css">
Simon Hunt61d04042014-11-11 17:27:16 -080045 <link rel="stylesheet" href="floatPanel.css">
Simon Hunt195cb382014-11-03 17:50:51 -080046
47 <!-- This is where contributed stylesheets get INJECTED -->
48 <!-- TODO: replace with template marker and inject refs server-side -->
49 <link rel="stylesheet" href="topo2.css">
Paul Greyson29cd58f2014-11-18 13:14:57 -080050 <link rel="stylesheet" href="topo_theme.css">
Simon Huntbb282f52014-11-10 11:08:19 -080051 <link rel="stylesheet" href="webSockTrace.css">
Simon Hunt195cb382014-11-03 17:50:51 -080052
53
54 <!-- General library modules included here-->
55 <script src="geometry2.js"></script>
56
57 <!-- ONOS UI Framework included here-->
58 <script src="onos2.js"></script>
59
60</head>
Paul Greyson29cd58f2014-11-18 13:14:57 -080061<body class='theme_dark'>
Simon Hunt195cb382014-11-03 17:50:51 -080062 <div id="frame">
63 <div id="mast">
64 <!-- NOTE: masthead injected here by mast.js -->
65 </div>
66 <div id="view">
67 <!-- NOTE: views injected here by onos.js -->
68 </div>
Simon Hunt61d04042014-11-11 17:27:16 -080069 <div id="floatPanels">
70 <!-- NOTE: floating panels injected here, as needed -->
71 <!-- see onos.ui.addFloatingPanel -->
Simon Hunt195cb382014-11-03 17:50:51 -080072 </div>
Simon Hunt1a9eff92014-11-07 11:06:34 -080073 <div id="alerts">
74 <!-- NOTE: alert content injected here, as needed -->
75 </div>
Simon Hunt195cb382014-11-03 17:50:51 -080076 </div>
77
78 <!-- Initialize the UI...-->
79 <script type="text/javascript">
Simon Hunt25248912014-11-04 11:25:48 -080080 var ONOS = $.onos({
Thomas Vachuska65368e32014-11-08 16:10:20 -080081 comment: 'configuration options',
82 theme: 'light',
Simon Hunt142d0032014-11-04 20:13:09 -080083 startVid: 'topo',
Simon Hunt25248912014-11-04 11:25:48 -080084 trace: false
85 });
Simon Hunt195cb382014-11-03 17:50:51 -080086 </script>
87
Simon Hunt1a9eff92014-11-07 11:06:34 -080088 <!-- Library module files included here -->
89 <script src="d3Utils.js"></script>
Simon Hunt12ce12e2014-11-15 21:13:19 -080090 <script src="glyphs.js"></script>
Simon Hunt1a9eff92014-11-07 11:06:34 -080091
Simon Hunt195cb382014-11-03 17:50:51 -080092 <!-- Framework module files included here -->
93 <script src="mast2.js"></script>
94
Simon Huntf67722a2014-11-10 09:32:06 -080095 <!-- View Module Templates; REMOVE THESE LINES, FOR PRODUCTION -->
96 <script src="module-svg-template.js"></script>
97 <script src="module-div-template.js"></script>
98
99 <!-- Sample views; REMOVE THESE LINES, FOR PRODUCTION -->
Simon Hunt25248912014-11-04 11:25:48 -0800100 <script src="sample2.js"></script>
Simon Huntdb9eb072014-11-04 19:12:46 -0800101 <script src="sampleRadio.js"></script>
Simon Hunt0df1b1d2014-11-04 22:58:29 -0800102 <script src="sampleKeys.js"></script>
Simon Hunt56d51852014-11-09 13:03:35 -0800103 <script src="sampleHash.js"></script>
Simon Hunt195cb382014-11-03 17:50:51 -0800104
Simon Hunt142d0032014-11-04 20:13:09 -0800105 <!-- Contributed (application) views injected here -->
106 <!-- TODO: replace with template marker and inject refs server-side -->
Simon Huntbb282f52014-11-10 11:08:19 -0800107 <script src="webSockTrace.js"></script>
Paul Greyson6cb8ca02014-11-12 18:09:02 -0800108
Simon Hunt142d0032014-11-04 20:13:09 -0800109 <script src="topo2.js"></script>
110
Simon Hunt195cb382014-11-03 17:50:51 -0800111 <!-- finally, build the UI-->
112 <script type="text/javascript">
113 $(ONOS.buildUi);
114 </script>
115
116</body>
117</html>