blob: 154f941699177dd17ba5e43ff1c9b4f4b0609c68 [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>
chengfanb466a7e2015-08-21 09:59:29 -0500124 <script src="app/view/tunnel/tunnel.js"></script>
Thomas Vachuska583bc632015-04-14 10:10:57 -0700125
126 <!-- This is where contributed javascript will get injected -->
127 <!-- {INJECTED-JAVASCRIPT-START} -->
Thomas Vachuskae95da772015-02-23 15:50:11 -0800128 <!-- {INJECTED-JAVASCRIPT-END} -->
129
Thomas Vachuska583bc632015-04-14 10:10:57 -0700130 <!-- Builtin views stylesheets. -->
131 <link rel="stylesheet" href="app/view/topo/topo.css">
132 <link rel="stylesheet" href="app/view/device/device.css">
Simon Hunt1002cd82015-04-23 14:44:03 -0700133 <link rel="stylesheet" href="app/view/flow/flow.css">
Bri Prebilic Coleac829e42015-05-05 13:42:06 -0700134 <link rel="stylesheet" href="app/view/port/port.css">
Bri Prebilic Coleff3dc672015-05-06 12:59:38 -0700135 <link rel="stylesheet" href="app/view/group/group.css">
Thomas Vachuska583bc632015-04-14 10:10:57 -0700136 <link rel="stylesheet" href="app/view/link/link.css">
137 <link rel="stylesheet" href="app/view/host/host.css">
138 <link rel="stylesheet" href="app/view/intent/intent.css">
139 <link rel="stylesheet" href="app/view/app/app.css">
Thomas Vachuskaaa8b0eb2015-05-22 09:54:15 -0700140 <link rel="stylesheet" href="app/view/settings/settings.css">
Thomas Vachuska583bc632015-04-14 10:10:57 -0700141 <link rel="stylesheet" href="app/view/cluster/cluster.css">
chengfanb466a7e2015-08-21 09:59:29 -0500142 <link rel="stylesheet" href="app/view/tunnel/tunnel.css">
Thomas Vachuskae95da772015-02-23 15:50:11 -0800143
144 <!-- This is where contributed stylesheets will get injected -->
145 <!-- {INJECTED-STYLESHEETS-START} -->
Thomas Vachuskae95da772015-02-23 15:50:11 -0800146 <!-- {INJECTED-STYLESHEETS-END} -->
147
148</head>
149<body class="light" ng-app="onosApp">
Bri Prebilic Cole55ee09b2015-08-04 14:34:07 -0700150<div id="frame" ng-controller="OnosCtrl as onosCtrl" detect-browser>
Thomas Vachuskae95da772015-02-23 15:50:11 -0800151 <div id="mast"
152 ng-controller="MastCtrl as mastCtrl"
153 ng-include="'app/fw/mast/mast.html'"></div>
154
155 <div id="view" ng-view></div>
156
157 <div id="nav"
158 ng-controller="NavCtrl as navCtrl"
159 ng-include="'nav.html'"></div>
160
161 <div id="floatpanels"></div>
162 <div id="alerts"></div>
Bri Prebilic Cole54d09382015-03-19 18:40:27 -0700163 <div id="tooltip"></div>
Thomas Vachuskae95da772015-02-23 15:50:11 -0800164 <div id="flash"></div>
165 <div id="quickhelp"></div>
Bri Prebilic Cole068814d2015-05-14 16:06:38 -0700166 <div id="veil">
167 <div class="msg"></div>
168 <svg resize></svg>
169 </div>
Thomas Vachuskae95da772015-02-23 15:50:11 -0800170</div>
Thomas Vachuska83785e22015-04-01 02:55:02 -0700171
172<script>
173 <!-- Inject user agent info into html element to allow CSS sensitivity. -->
Simon Hunt20cfb872015-04-01 10:23:36 -0700174 (function () {
175 var t = !!('ontouchstart' in window) || !!('onmsgesturechange' in window);
176 d3.select(document.documentElement)
177 .attr('data-useragent', navigator.userAgent)
178 .attr('data-platform', navigator.platform)
179 .classed('touch', t);
180 }());
Thomas Vachuska83785e22015-04-01 02:55:02 -0700181</script>
Thomas Vachuskae95da772015-02-23 15:50:11 -0800182</body>
183</html>