blob: d90bdc81af0960286a2f59d69d520f633bce0f12 [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>
107 <script src="app/view/topo/topoPanel.js"></script>
108 <script src="app/view/topo/topoSelect.js"></script>
Simon Hunt2052e5d2015-04-13 17:40:44 -0700109 <script src="app/view/topo/topoSprite.js"></script>
Thomas Vachuskae95da772015-02-23 15:50:11 -0800110 <script src="app/view/topo/topoTraffic.js"></script>
Bri Prebilic Cole4db8dce2015-03-18 13:57:24 -0700111 <script src="app/view/topo/topoToolbar.js"></script>
Thomas Vachuskae95da772015-02-23 15:50:11 -0800112 <script src="app/view/device/device.js"></script>
Thomas Vachuska583bc632015-04-14 10:10:57 -0700113 <script src="app/view/link/link.js"></script>
Thomas Vachuskae586b792015-03-26 13:59:38 -0700114 <script src="app/view/host/host.js"></script>
Bri Prebilic Cole96f26472015-03-31 13:07:05 -0700115 <script src="app/view/intent/intent.js"></script>
Bri Prebilic Cole384e8dc2015-04-13 15:51:14 -0700116 <script src="app/view/cluster/cluster.js"></script>
Thomas Vachuska583bc632015-04-14 10:10:57 -0700117 <script src="app/view/app/app.js"></script>
Thomas Vachuska583bc632015-04-14 10:10:57 -0700118
119 <!-- This is where contributed javascript will get injected -->
120 <!-- {INJECTED-JAVASCRIPT-START} -->
Thomas Vachuskae95da772015-02-23 15:50:11 -0800121 <!-- {INJECTED-JAVASCRIPT-END} -->
122
Thomas Vachuska583bc632015-04-14 10:10:57 -0700123 <!-- Builtin views stylesheets. -->
124 <link rel="stylesheet" href="app/view/topo/topo.css">
125 <link rel="stylesheet" href="app/view/device/device.css">
126 <link rel="stylesheet" href="app/view/link/link.css">
127 <link rel="stylesheet" href="app/view/host/host.css">
128 <link rel="stylesheet" href="app/view/intent/intent.css">
129 <link rel="stylesheet" href="app/view/app/app.css">
130 <link rel="stylesheet" href="app/view/cluster/cluster.css">
Thomas Vachuskae95da772015-02-23 15:50:11 -0800131
132 <!-- This is where contributed stylesheets will get injected -->
133 <!-- {INJECTED-STYLESHEETS-START} -->
Thomas Vachuskae95da772015-02-23 15:50:11 -0800134 <!-- {INJECTED-STYLESHEETS-END} -->
135
136</head>
137<body class="light" ng-app="onosApp">
138<div id="frame" ng-controller="OnosCtrl as onosCtrl">
139 <div id="mast"
140 ng-controller="MastCtrl as mastCtrl"
141 ng-include="'app/fw/mast/mast.html'"></div>
142
143 <div id="view" ng-view></div>
144
145 <div id="nav"
146 ng-controller="NavCtrl as navCtrl"
147 ng-include="'nav.html'"></div>
148
149 <div id="floatpanels"></div>
150 <div id="alerts"></div>
Bri Prebilic Cole54d09382015-03-19 18:40:27 -0700151 <div id="tooltip"></div>
Thomas Vachuskae95da772015-02-23 15:50:11 -0800152 <div id="flash"></div>
153 <div id="quickhelp"></div>
154 <div id="veil"
155 resize
156 ng-style="resizeWithOffset(0, 0)"></div>
157</div>
Thomas Vachuska83785e22015-04-01 02:55:02 -0700158
159<script>
160 <!-- Inject user agent info into html element to allow CSS sensitivity. -->
Simon Hunt20cfb872015-04-01 10:23:36 -0700161 (function () {
162 var t = !!('ontouchstart' in window) || !!('onmsgesturechange' in window);
163 d3.select(document.documentElement)
164 .attr('data-useragent', navigator.userAgent)
165 .attr('data-platform', navigator.platform)
166 .classed('touch', t);
167 }());
Thomas Vachuska83785e22015-04-01 02:55:02 -0700168</script>
Thomas Vachuskae95da772015-02-23 15:50:11 -0800169</body>
170</html>