blob: 5df3c66418bdd13e3f2377156689f94321721617 [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>
79
80 <!-- Framework and library stylesheets included here -->
81 <!-- TODO: use a single catenated-minified file here -->
82 <link rel="stylesheet" href="app/onos.css">
83 <link rel="stylesheet" href="app/common.css">
84 <link rel="stylesheet" href="app/fw/mast/mast.css">
85 <link rel="stylesheet" href="app/fw/svg/glyph.css">
86 <link rel="stylesheet" href="app/fw/svg/icon.css">
87 <link rel="stylesheet" href="app/fw/layer/panel.css">
88 <link rel="stylesheet" href="app/fw/layer/flash.css">
89 <link rel="stylesheet" href="app/fw/layer/quickhelp.css">
90 <link rel="stylesheet" href="app/fw/layer/veil.css">
91 <link rel="stylesheet" href="app/fw/nav/nav.css">
Bri Prebilic Cole5000a752015-02-23 17:20:53 -080092 <link rel="stylesheet" href="app/fw/widget/button.css">
93 <link rel="stylesheet" href="app/fw/widget/toolbar.css">
Bri Prebilic Cole54d09382015-03-19 18:40:27 -070094 <link rel="stylesheet" href="app/fw/widget/tooltip.css">
Bri Prebilic Cole264c5ec2015-04-07 10:22:26 -070095 <link rel="stylesheet" href="app/fw/widget/table.css">
Thomas Vachuskae95da772015-02-23 15:50:11 -080096
Thomas Vachuska583bc632015-04-14 10:10:57 -070097 <!-- Builtin views javascript. -->
Thomas Vachuskae95da772015-02-23 15:50:11 -080098 <script src="app/view/topo/topo.js"></script>
Simon Hunta4242de2015-02-24 17:11:55 -080099 <script src="app/view/topo/topoD3.js"></script>
Thomas Vachuskae95da772015-02-23 15:50:11 -0800100 <script src="app/view/topo/topoEvent.js"></script>
101 <script src="app/view/topo/topoFilter.js"></script>
102 <script src="app/view/topo/topoForce.js"></script>
103 <script src="app/view/topo/topoInst.js"></script>
Simon Huntfb8ea1f2015-02-24 21:38:09 -0800104 <script src="app/view/topo/topoLink.js"></script>
Thomas Vachuskae95da772015-02-23 15:50:11 -0800105 <script src="app/view/topo/topoModel.js"></script>
106 <script src="app/view/topo/topoOblique.js"></script>
Simon Hunt72e44bf2015-07-21 21:34:20 -0700107 <script src="app/view/topo/topoOverlay.js"></script>
Thomas Vachuskae95da772015-02-23 15:50:11 -0800108 <script src="app/view/topo/topoPanel.js"></script>
109 <script src="app/view/topo/topoSelect.js"></script>
Simon Hunt2052e5d2015-04-13 17:40:44 -0700110 <script src="app/view/topo/topoSprite.js"></script>
Thomas Vachuskae95da772015-02-23 15:50:11 -0800111 <script src="app/view/topo/topoTraffic.js"></script>
Simon Hunt72e44bf2015-07-21 21:34:20 -0700112 <script src="app/view/topo/topoTrafficNew.js"></script>
Bri Prebilic Cole4db8dce2015-03-18 13:57:24 -0700113 <script src="app/view/topo/topoToolbar.js"></script>
Thomas Vachuskae95da772015-02-23 15:50:11 -0800114 <script src="app/view/device/device.js"></script>
Simon Hunt1002cd82015-04-23 14:44:03 -0700115 <script src="app/view/flow/flow.js"></script>
Bri Prebilic Coleac829e42015-05-05 13:42:06 -0700116 <script src="app/view/port/port.js"></script>
Bri Prebilic Coleff3dc672015-05-06 12:59:38 -0700117 <script src="app/view/group/group.js"></script>
Thomas Vachuska583bc632015-04-14 10:10:57 -0700118 <script src="app/view/link/link.js"></script>
Thomas Vachuskae586b792015-03-26 13:59:38 -0700119 <script src="app/view/host/host.js"></script>
Bri Prebilic Cole96f26472015-03-31 13:07:05 -0700120 <script src="app/view/intent/intent.js"></script>
Thomas Vachuska583bc632015-04-14 10:10:57 -0700121 <script src="app/view/app/app.js"></script>
Thomas Vachuskaaa8b0eb2015-05-22 09:54:15 -0700122 <script src="app/view/settings/settings.js"></script>
123 <script src="app/view/cluster/cluster.js"></script>
Thomas Vachuska3ece3732015-09-22 23:58:50 -0700124 <script src="app/view/processor/processor.js"></script>
chengfanb466a7e2015-08-21 09:59:29 -0500125 <script src="app/view/tunnel/tunnel.js"></script>
Thomas Vachuska583bc632015-04-14 10:10:57 -0700126
127 <!-- This is where contributed javascript will get injected -->
128 <!-- {INJECTED-JAVASCRIPT-START} -->
Thomas Vachuskae95da772015-02-23 15:50:11 -0800129 <!-- {INJECTED-JAVASCRIPT-END} -->
130
Thomas Vachuska583bc632015-04-14 10:10:57 -0700131 <!-- Builtin views stylesheets. -->
132 <link rel="stylesheet" href="app/view/topo/topo.css">
133 <link rel="stylesheet" href="app/view/device/device.css">
Simon Hunt1002cd82015-04-23 14:44:03 -0700134 <link rel="stylesheet" href="app/view/flow/flow.css">
Bri Prebilic Coleac829e42015-05-05 13:42:06 -0700135 <link rel="stylesheet" href="app/view/port/port.css">
Bri Prebilic Coleff3dc672015-05-06 12:59:38 -0700136 <link rel="stylesheet" href="app/view/group/group.css">
Thomas Vachuska583bc632015-04-14 10:10:57 -0700137 <link rel="stylesheet" href="app/view/link/link.css">
138 <link rel="stylesheet" href="app/view/host/host.css">
139 <link rel="stylesheet" href="app/view/intent/intent.css">
140 <link rel="stylesheet" href="app/view/app/app.css">
Thomas Vachuskaaa8b0eb2015-05-22 09:54:15 -0700141 <link rel="stylesheet" href="app/view/settings/settings.css">
Thomas Vachuska583bc632015-04-14 10:10:57 -0700142 <link rel="stylesheet" href="app/view/cluster/cluster.css">
Thomas Vachuska3ece3732015-09-22 23:58:50 -0700143 <link rel="stylesheet" href="app/view/processor/processor.css">
chengfanb466a7e2015-08-21 09:59:29 -0500144 <link rel="stylesheet" href="app/view/tunnel/tunnel.css">
Thomas Vachuskae95da772015-02-23 15:50:11 -0800145
146 <!-- This is where contributed stylesheets will get injected -->
147 <!-- {INJECTED-STYLESHEETS-START} -->
Thomas Vachuskae95da772015-02-23 15:50:11 -0800148 <!-- {INJECTED-STYLESHEETS-END} -->
149
150</head>
151<body class="light" ng-app="onosApp">
Bri Prebilic Cole55ee09b2015-08-04 14:34:07 -0700152<div id="frame" ng-controller="OnosCtrl as onosCtrl" detect-browser>
Thomas Vachuskae95da772015-02-23 15:50:11 -0800153 <div id="mast"
154 ng-controller="MastCtrl as mastCtrl"
155 ng-include="'app/fw/mast/mast.html'"></div>
156
157 <div id="view" ng-view></div>
158
159 <div id="nav"
160 ng-controller="NavCtrl as navCtrl"
161 ng-include="'nav.html'"></div>
162
163 <div id="floatpanels"></div>
164 <div id="alerts"></div>
Bri Prebilic Cole54d09382015-03-19 18:40:27 -0700165 <div id="tooltip"></div>
Thomas Vachuskae95da772015-02-23 15:50:11 -0800166 <div id="flash"></div>
167 <div id="quickhelp"></div>
Bri Prebilic Cole068814d2015-05-14 16:06:38 -0700168 <div id="veil">
169 <div class="msg"></div>
170 <svg resize></svg>
171 </div>
Thomas Vachuskae95da772015-02-23 15:50:11 -0800172</div>
Thomas Vachuska83785e22015-04-01 02:55:02 -0700173
174<script>
175 <!-- Inject user agent info into html element to allow CSS sensitivity. -->
Simon Hunt20cfb872015-04-01 10:23:36 -0700176 (function () {
177 var t = !!('ontouchstart' in window) || !!('onmsgesturechange' in window);
178 d3.select(document.documentElement)
179 .attr('data-useragent', navigator.userAgent)
180 .attr('data-platform', navigator.platform)
181 .classed('touch', t);
182 }());
Thomas Vachuska83785e22015-04-01 02:55:02 -0700183</script>
Thomas Vachuskae95da772015-02-23 15:50:11 -0800184</body>
185</html>