blob: de70334fd3e19ceebf35f0dcfd2da52720080c92 [file] [log] [blame]
Thomas Vachuskae95da772015-02-23 15:50:11 -08001<!DOCTYPE html>
2<!--
3~ Copyright 2014,2015 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<html>
18<head>
19 <meta charset="utf-8">
20 <link rel="shortcut icon" href="data/img/onos-logo.png">
Thomas Vachuska83785e22015-04-01 02:55:02 -070021
22 <link rel="apple-touch-icon" href="data/img/apple-touch-icon.png">
23 <meta name="apple-mobile-web-app-capable" content="yes">
24 <meta name="apple-mobile-web-app-status-bar-style" content="black">
25 <meta name="viewport" content="width=device-width, initial-scale=1.0">
26
Simon Hunt7442d212015-02-26 10:55:00 -080027 <title>ONOS</title>
Thomas Vachuskae95da772015-02-23 15:50:11 -080028
29 <!-- Third party library code included here -->
30 <!--TODO: use minified versions, once debugging is complete -->
31 <script src="tp/angular.js"></script>
32 <script src="tp/angular-route.js"></script>
Simon Hunt36a58c62015-04-08 11:00:07 -070033 <script src="tp/angular-cookies.js"></script>
Thomas Vachuskae95da772015-02-23 15:50:11 -080034
35 <script src="tp/d3.js"></script>
36 <script src="tp/topojson.v1.min.js"></script>
37
38 <!-- ONOS UI Framework included here -->
39 <!-- TODO: use a single catenated-minified file here -->
40 <script src="onos.js"></script>
41 <script src="app/directives.js"></script>
42
43 <script src="app/fw/util/util.js"></script>
44 <script src="app/fw/util/fn.js"></script>
45 <script src="app/fw/util/random.js"></script>
46 <script src="app/fw/util/theme.js"></script>
47 <script src="app/fw/util/keys.js"></script>
Simon Huntc7ae7952015-04-08 18:59:27 -070048 <script src="app/fw/util/prefs.js"></script>
Thomas Vachuskae95da772015-02-23 15:50:11 -080049
50 <script src="app/fw/mast/mast.js"></script>
51 <script src="app/fw/nav/nav.js"></script>
52
53 <script src="app/fw/svg/svg.js"></script>
54 <script src="app/fw/svg/glyph.js"></script>
55 <script src="app/fw/svg/icon.js"></script>
56 <script src="app/fw/svg/geodata.js"></script>
57 <script src="app/fw/svg/map.js"></script>
58 <script src="app/fw/svg/zoom.js"></script>
59 <script src="app/fw/svg/svgUtil.js"></script>
60
61 <script src="app/fw/remote/remote.js"></script>
62 <script src="app/fw/remote/urlfn.js"></script>
63 <script src="app/fw/remote/rest.js"></script>
Simon Hunt20207df2015-03-10 18:30:14 -070064 <script src="app/fw/remote/wsock.js"></script>
Thomas Vachuskae95da772015-02-23 15:50:11 -080065 <script src="app/fw/remote/websocket.js"></script>
Thomas Vachuskae95da772015-02-23 15:50:11 -080066
67 <script src="app/fw/widget/widget.js"></script>
68 <script src="app/fw/widget/table.js"></script>
69 <script src="app/fw/widget/toolbar.js"></script>
Bri Prebilic Cole54d09382015-03-19 18:40:27 -070070 <script src="app/fw/widget/tooltip.js"></script>
Thomas Vachuskae95da772015-02-23 15:50:11 -080071 <script src="app/fw/widget/button.js"></script>
Bri Prebilic Cole864cdd62015-04-02 15:46:47 -070072 <script src="app/fw/widget/tableBuilder.js"></script>
Thomas Vachuskae95da772015-02-23 15:50:11 -080073
74 <script src="app/fw/layer/layer.js"></script>
75 <script src="app/fw/layer/panel.js"></script>
76 <script src="app/fw/layer/flash.js"></script>
77 <script src="app/fw/layer/quickhelp.js"></script>
78 <script src="app/fw/layer/veil.js"></script>
Simon Huntab34ecb2015-12-11 13:14:48 -080079 <script src="app/fw/layer/loading.js"></script>
Thomas Vachuskae95da772015-02-23 15:50:11 -080080
81 <!-- Framework and library stylesheets included here -->
82 <!-- TODO: use a single catenated-minified file here -->
83 <link rel="stylesheet" href="app/onos.css">
84 <link rel="stylesheet" href="app/common.css">
85 <link rel="stylesheet" href="app/fw/mast/mast.css">
86 <link rel="stylesheet" href="app/fw/svg/glyph.css">
87 <link rel="stylesheet" href="app/fw/svg/icon.css">
88 <link rel="stylesheet" href="app/fw/layer/panel.css">
89 <link rel="stylesheet" href="app/fw/layer/flash.css">
90 <link rel="stylesheet" href="app/fw/layer/quickhelp.css">
91 <link rel="stylesheet" href="app/fw/layer/veil.css">
Simon Huntab34ecb2015-12-11 13:14:48 -080092 <link rel="stylesheet" href="app/fw/layer/loading.css">
Thomas Vachuskae95da772015-02-23 15:50:11 -080093 <link rel="stylesheet" href="app/fw/nav/nav.css">
Bri Prebilic Cole5000a752015-02-23 17:20:53 -080094 <link rel="stylesheet" href="app/fw/widget/button.css">
95 <link rel="stylesheet" href="app/fw/widget/toolbar.css">
Bri Prebilic Cole54d09382015-03-19 18:40:27 -070096 <link rel="stylesheet" href="app/fw/widget/tooltip.css">
Bri Prebilic Cole264c5ec2015-04-07 10:22:26 -070097 <link rel="stylesheet" href="app/fw/widget/table.css">
Thomas Vachuskae95da772015-02-23 15:50:11 -080098
Thomas Vachuska583bc632015-04-14 10:10:57 -070099 <!-- Builtin views javascript. -->
Thomas Vachuskae95da772015-02-23 15:50:11 -0800100 <script src="app/view/topo/topo.js"></script>
Simon Hunta4242de2015-02-24 17:11:55 -0800101 <script src="app/view/topo/topoD3.js"></script>
Thomas Vachuskae95da772015-02-23 15:50:11 -0800102 <script src="app/view/topo/topoEvent.js"></script>
Simon Hunt8d558082015-10-29 21:32:50 -0700103 <script src="app/view/topo/topoDialog.js"></script>
Thomas Vachuskae95da772015-02-23 15:50:11 -0800104 <script src="app/view/topo/topoFilter.js"></script>
105 <script src="app/view/topo/topoForce.js"></script>
106 <script src="app/view/topo/topoInst.js"></script>
Simon Huntfb8ea1f2015-02-24 21:38:09 -0800107 <script src="app/view/topo/topoLink.js"></script>
Thomas Vachuskae95da772015-02-23 15:50:11 -0800108 <script src="app/view/topo/topoModel.js"></script>
109 <script src="app/view/topo/topoOblique.js"></script>
Simon Hunt72e44bf2015-07-21 21:34:20 -0700110 <script src="app/view/topo/topoOverlay.js"></script>
Thomas Vachuskae95da772015-02-23 15:50:11 -0800111 <script src="app/view/topo/topoPanel.js"></script>
112 <script src="app/view/topo/topoSelect.js"></script>
Simon Hunt2052e5d2015-04-13 17:40:44 -0700113 <script src="app/view/topo/topoSprite.js"></script>
Thomas Vachuskae95da772015-02-23 15:50:11 -0800114 <script src="app/view/topo/topoTraffic.js"></script>
Simon Hunt72e44bf2015-07-21 21:34:20 -0700115 <script src="app/view/topo/topoTrafficNew.js"></script>
Bri Prebilic Cole4db8dce2015-03-18 13:57:24 -0700116 <script src="app/view/topo/topoToolbar.js"></script>
Thomas Vachuskae95da772015-02-23 15:50:11 -0800117 <script src="app/view/device/device.js"></script>
Simon Hunt1002cd82015-04-23 14:44:03 -0700118 <script src="app/view/flow/flow.js"></script>
Bri Prebilic Coleac829e42015-05-05 13:42:06 -0700119 <script src="app/view/port/port.js"></script>
Bri Prebilic Coleff3dc672015-05-06 12:59:38 -0700120 <script src="app/view/group/group.js"></script>
Thomas Vachuska583bc632015-04-14 10:10:57 -0700121 <script src="app/view/link/link.js"></script>
Thomas Vachuskae586b792015-03-26 13:59:38 -0700122 <script src="app/view/host/host.js"></script>
Bri Prebilic Cole96f26472015-03-31 13:07:05 -0700123 <script src="app/view/intent/intent.js"></script>
Thomas Vachuska583bc632015-04-14 10:10:57 -0700124 <script src="app/view/app/app.js"></script>
Thomas Vachuskaaa8b0eb2015-05-22 09:54:15 -0700125 <script src="app/view/settings/settings.js"></script>
126 <script src="app/view/cluster/cluster.js"></script>
Thomas Vachuska3ece3732015-09-22 23:58:50 -0700127 <script src="app/view/processor/processor.js"></script>
chengfanb466a7e2015-08-21 09:59:29 -0500128 <script src="app/view/tunnel/tunnel.js"></script>
Thomas Vachuska583bc632015-04-14 10:10:57 -0700129
130 <!-- This is where contributed javascript will get injected -->
131 <!-- {INJECTED-JAVASCRIPT-START} -->
Thomas Vachuskae95da772015-02-23 15:50:11 -0800132 <!-- {INJECTED-JAVASCRIPT-END} -->
133
Thomas Vachuska583bc632015-04-14 10:10:57 -0700134 <!-- Builtin views stylesheets. -->
135 <link rel="stylesheet" href="app/view/topo/topo.css">
136 <link rel="stylesheet" href="app/view/device/device.css">
Simon Hunt1002cd82015-04-23 14:44:03 -0700137 <link rel="stylesheet" href="app/view/flow/flow.css">
Bri Prebilic Coleac829e42015-05-05 13:42:06 -0700138 <link rel="stylesheet" href="app/view/port/port.css">
Bri Prebilic Coleff3dc672015-05-06 12:59:38 -0700139 <link rel="stylesheet" href="app/view/group/group.css">
Thomas Vachuska583bc632015-04-14 10:10:57 -0700140 <link rel="stylesheet" href="app/view/link/link.css">
141 <link rel="stylesheet" href="app/view/host/host.css">
142 <link rel="stylesheet" href="app/view/intent/intent.css">
143 <link rel="stylesheet" href="app/view/app/app.css">
Thomas Vachuskaaa8b0eb2015-05-22 09:54:15 -0700144 <link rel="stylesheet" href="app/view/settings/settings.css">
Thomas Vachuska583bc632015-04-14 10:10:57 -0700145 <link rel="stylesheet" href="app/view/cluster/cluster.css">
Thomas Vachuska3ece3732015-09-22 23:58:50 -0700146 <link rel="stylesheet" href="app/view/processor/processor.css">
chengfanb466a7e2015-08-21 09:59:29 -0500147 <link rel="stylesheet" href="app/view/tunnel/tunnel.css">
Thomas Vachuskae95da772015-02-23 15:50:11 -0800148
149 <!-- This is where contributed stylesheets will get injected -->
150 <!-- {INJECTED-STYLESHEETS-START} -->
Thomas Vachuskae95da772015-02-23 15:50:11 -0800151 <!-- {INJECTED-STYLESHEETS-END} -->
152
153</head>
154<body class="light" ng-app="onosApp">
Bri Prebilic Cole55ee09b2015-08-04 14:34:07 -0700155<div id="frame" ng-controller="OnosCtrl as onosCtrl" detect-browser>
Thomas Vachuskae95da772015-02-23 15:50:11 -0800156 <div id="mast"
157 ng-controller="MastCtrl as mastCtrl"
158 ng-include="'app/fw/mast/mast.html'"></div>
159
160 <div id="view" ng-view></div>
161
162 <div id="nav"
163 ng-controller="NavCtrl as navCtrl"
164 ng-include="'nav.html'"></div>
165
166 <div id="floatpanels"></div>
167 <div id="alerts"></div>
Bri Prebilic Cole54d09382015-03-19 18:40:27 -0700168 <div id="tooltip"></div>
Thomas Vachuskae95da772015-02-23 15:50:11 -0800169 <div id="flash"></div>
170 <div id="quickhelp"></div>
Bri Prebilic Cole068814d2015-05-14 16:06:38 -0700171 <div id="veil">
172 <div class="msg"></div>
173 <svg resize></svg>
174 </div>
Thomas Vachuskae95da772015-02-23 15:50:11 -0800175</div>
Thomas Vachuska83785e22015-04-01 02:55:02 -0700176
177<script>
178 <!-- Inject user agent info into html element to allow CSS sensitivity. -->
Simon Hunt20cfb872015-04-01 10:23:36 -0700179 (function () {
180 var t = !!('ontouchstart' in window) || !!('onmsgesturechange' in window);
181 d3.select(document.documentElement)
182 .attr('data-useragent', navigator.userAgent)
183 .attr('data-platform', navigator.platform)
184 .classed('touch', t);
185 }());
Thomas Vachuska83785e22015-04-01 02:55:02 -0700186</script>
Thomas Vachuskae95da772015-02-23 15:50:11 -0800187</body>
188</html>