blob: 40d3bd46886b64c72d5c1b0e4d9ab52794779635 [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>
33
34 <script src="tp/d3.js"></script>
35 <script src="tp/topojson.v1.min.js"></script>
36
37 <!-- ONOS UI Framework included here -->
38 <!-- TODO: use a single catenated-minified file here -->
39 <script src="onos.js"></script>
40 <script src="app/directives.js"></script>
41
42 <script src="app/fw/util/util.js"></script>
43 <script src="app/fw/util/fn.js"></script>
44 <script src="app/fw/util/random.js"></script>
45 <script src="app/fw/util/theme.js"></script>
46 <script src="app/fw/util/keys.js"></script>
47
48 <script src="app/fw/mast/mast.js"></script>
49 <script src="app/fw/nav/nav.js"></script>
50
51 <script src="app/fw/svg/svg.js"></script>
52 <script src="app/fw/svg/glyph.js"></script>
53 <script src="app/fw/svg/icon.js"></script>
54 <script src="app/fw/svg/geodata.js"></script>
55 <script src="app/fw/svg/map.js"></script>
56 <script src="app/fw/svg/zoom.js"></script>
57 <script src="app/fw/svg/svgUtil.js"></script>
58
59 <script src="app/fw/remote/remote.js"></script>
60 <script src="app/fw/remote/urlfn.js"></script>
61 <script src="app/fw/remote/rest.js"></script>
Simon Hunt20207df2015-03-10 18:30:14 -070062 <script src="app/fw/remote/wsock.js"></script>
Thomas Vachuskae95da772015-02-23 15:50:11 -080063 <script src="app/fw/remote/websocket.js"></script>
Thomas Vachuskae95da772015-02-23 15:50:11 -080064
65 <script src="app/fw/widget/widget.js"></script>
66 <script src="app/fw/widget/table.js"></script>
67 <script src="app/fw/widget/toolbar.js"></script>
Bri Prebilic Cole54d09382015-03-19 18:40:27 -070068 <script src="app/fw/widget/tooltip.js"></script>
Thomas Vachuskae95da772015-02-23 15:50:11 -080069 <script src="app/fw/widget/button.js"></script>
Bri Prebilic Cole864cdd62015-04-02 15:46:47 -070070 <script src="app/fw/widget/tableBuilder.js"></script>
Thomas Vachuskae95da772015-02-23 15:50:11 -080071
72 <script src="app/fw/layer/layer.js"></script>
73 <script src="app/fw/layer/panel.js"></script>
74 <script src="app/fw/layer/flash.js"></script>
75 <script src="app/fw/layer/quickhelp.js"></script>
76 <script src="app/fw/layer/veil.js"></script>
77
78 <!-- Framework and library stylesheets included here -->
79 <!-- TODO: use a single catenated-minified file here -->
80 <link rel="stylesheet" href="app/onos.css">
81 <link rel="stylesheet" href="app/common.css">
82 <link rel="stylesheet" href="app/fw/mast/mast.css">
83 <link rel="stylesheet" href="app/fw/svg/glyph.css">
84 <link rel="stylesheet" href="app/fw/svg/icon.css">
85 <link rel="stylesheet" href="app/fw/layer/panel.css">
86 <link rel="stylesheet" href="app/fw/layer/flash.css">
87 <link rel="stylesheet" href="app/fw/layer/quickhelp.css">
88 <link rel="stylesheet" href="app/fw/layer/veil.css">
89 <link rel="stylesheet" href="app/fw/nav/nav.css">
Bri Prebilic Cole5000a752015-02-23 17:20:53 -080090 <link rel="stylesheet" href="app/fw/widget/button.css">
91 <link rel="stylesheet" href="app/fw/widget/toolbar.css">
Bri Prebilic Cole54d09382015-03-19 18:40:27 -070092 <link rel="stylesheet" href="app/fw/widget/tooltip.css">
Thomas Vachuskae95da772015-02-23 15:50:11 -080093
94 <!-- This is where contributed javascript will get injected -->
95 <!-- {INJECTED-JAVASCRIPT-START} -->
Thomas Vachuskae95da772015-02-23 15:50:11 -080096 <script src="app/view/topo/topo.js"></script>
Simon Hunta4242de2015-02-24 17:11:55 -080097 <script src="app/view/topo/topoD3.js"></script>
Thomas Vachuskae95da772015-02-23 15:50:11 -080098 <script src="app/view/topo/topoEvent.js"></script>
99 <script src="app/view/topo/topoFilter.js"></script>
100 <script src="app/view/topo/topoForce.js"></script>
101 <script src="app/view/topo/topoInst.js"></script>
Simon Huntfb8ea1f2015-02-24 21:38:09 -0800102 <script src="app/view/topo/topoLink.js"></script>
Thomas Vachuskae95da772015-02-23 15:50:11 -0800103 <script src="app/view/topo/topoModel.js"></script>
104 <script src="app/view/topo/topoOblique.js"></script>
105 <script src="app/view/topo/topoPanel.js"></script>
106 <script src="app/view/topo/topoSelect.js"></script>
107 <script src="app/view/topo/topoTraffic.js"></script>
Bri Prebilic Cole4db8dce2015-03-18 13:57:24 -0700108 <script src="app/view/topo/topoToolbar.js"></script>
Thomas Vachuskae95da772015-02-23 15:50:11 -0800109 <script src="app/view/device/device.js"></script>
Thomas Vachuskae586b792015-03-26 13:59:38 -0700110 <script src="app/view/host/host.js"></script>
Thomas Vachuska0fa583c2015-03-30 23:07:41 -0700111 <script src="app/view/app/app.js"></script>
Bri Prebilic Cole96f26472015-03-31 13:07:05 -0700112 <script src="app/view/intent/intent.js"></script>
Thomas Vachuska4c2fa062015-03-23 15:07:55 -0700113 <script src="app/view/sample/sample.js"></script>
Thomas Vachuskae95da772015-02-23 15:50:11 -0800114 <!-- {INJECTED-JAVASCRIPT-END} -->
115
116
117 <!-- This is where contributed stylesheets will get injected -->
118 <!-- {INJECTED-STYLESHEETS-START} -->
Thomas Vachuskae95da772015-02-23 15:50:11 -0800119 <link rel="stylesheet" href="app/view/topo/topo.css">
120 <link rel="stylesheet" href="app/view/device/device.css">
Thomas Vachuskae586b792015-03-26 13:59:38 -0700121 <link rel="stylesheet" href="app/view/host/host.css">
Thomas Vachuska0fa583c2015-03-30 23:07:41 -0700122 <link rel="stylesheet" href="app/view/app/app.css">
Bri Prebilic Cole96f26472015-03-31 13:07:05 -0700123 <link rel="stylesheet" href="app/view/intent/intent.css">
Thomas Vachuska4c2fa062015-03-23 15:07:55 -0700124 <link rel="stylesheet" href="app/view/sample/sample.css">
Thomas Vachuskae95da772015-02-23 15:50:11 -0800125 <!-- {INJECTED-STYLESHEETS-END} -->
126
127</head>
128<body class="light" ng-app="onosApp">
129<div id="frame" ng-controller="OnosCtrl as onosCtrl">
130 <div id="mast"
131 ng-controller="MastCtrl as mastCtrl"
132 ng-include="'app/fw/mast/mast.html'"></div>
133
134 <div id="view" ng-view></div>
135
136 <div id="nav"
137 ng-controller="NavCtrl as navCtrl"
138 ng-include="'nav.html'"></div>
139
140 <div id="floatpanels"></div>
141 <div id="alerts"></div>
Bri Prebilic Cole54d09382015-03-19 18:40:27 -0700142 <div id="tooltip"></div>
Thomas Vachuskae95da772015-02-23 15:50:11 -0800143 <div id="flash"></div>
144 <div id="quickhelp"></div>
145 <div id="veil"
146 resize
147 ng-style="resizeWithOffset(0, 0)"></div>
148</div>
Thomas Vachuska83785e22015-04-01 02:55:02 -0700149
150<script>
151 <!-- Inject user agent info into html element to allow CSS sensitivity. -->
Simon Hunt20cfb872015-04-01 10:23:36 -0700152 (function () {
153 var t = !!('ontouchstart' in window) || !!('onmsgesturechange' in window);
154 d3.select(document.documentElement)
155 .attr('data-useragent', navigator.userAgent)
156 .attr('data-platform', navigator.platform)
157 .classed('touch', t);
158 }());
Thomas Vachuska83785e22015-04-01 02:55:02 -0700159</script>
Thomas Vachuskae95da772015-02-23 15:50:11 -0800160</body>
161</html>