blob: 0b5ad61078b9c895da386de331c08b8d4f1b65fc [file] [log] [blame]
Simon Hunt195cb382014-11-03 17:50:51 -08001<!DOCTYPE html>
2<!--
3 ~ Copyright 2014 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
18<!--
19 ONOS UI - single page web app
20 Version 1.1
21
22 @author Simon Hunt
23 -->
24<html>
25<head>
26 <meta charset="utf-8">
Simon Hunt195cb382014-11-03 17:50:51 -080027 <link rel="shortcut icon" href="img/onos-logo.png">
Simon Huntb33b40b2014-12-01 16:12:47 -080028 <title>ONOS</title>
Simon Hunt195cb382014-11-03 17:50:51 -080029
Simon Hunt195cb382014-11-03 17:50:51 -080030 <!-- Third party library code included here -->
31 <!--TODO: use the minified version of d3, once debugging is complete -->
Simon Hunte5ab1382014-11-25 10:28:51 -080032 <script src="tp/d3.js"></script>
33 <script src="tp/topojson.v1.min.js"></script>
34 <script src="tp/jquery-2.1.1.min.js"></script>
Simon Hunt195cb382014-11-03 17:50:51 -080035
Simon Huntb33b40b2014-12-01 16:12:47 -080036 <!-- ONOS UI Framework included here -->
37 <script src="onos.js"></script>
38
39 <!-- Framework and library stylesheets included here -->
Simon Hunt195cb382014-11-03 17:50:51 -080040 <link rel="stylesheet" href="base.css">
Simon Hunte5ab1382014-11-25 10:28:51 -080041 <link rel="stylesheet" href="onos.css">
42 <link rel="stylesheet" href="onosMast.css">
43 <link rel="stylesheet" href="onosFloatPanel.css">
44 <link rel="stylesheet" href="onosFlash.css">
Simon Hunt5cef9062014-11-24 15:24:35 -080045 <link rel="stylesheet" href="onosQuickHelp.css">
Simon Hunt195cb382014-11-03 17:50:51 -080046
47 <!-- This is where contributed stylesheets get INJECTED -->
48 <!-- TODO: replace with template marker and inject refs server-side -->
Simon Hunte5ab1382014-11-25 10:28:51 -080049 <link rel="stylesheet" href="topo.css">
Simon Hunt195cb382014-11-03 17:50:51 -080050</head>
Thomas Vachuska89543292014-11-19 11:28:33 -080051<body>
Simon Hunt195cb382014-11-03 17:50:51 -080052 <div id="frame">
53 <div id="mast">
54 <!-- NOTE: masthead injected here by mast.js -->
55 </div>
56 <div id="view">
57 <!-- NOTE: views injected here by onos.js -->
58 </div>
Simon Hunt61d04042014-11-11 17:27:16 -080059 <div id="floatPanels">
60 <!-- NOTE: floating panels injected here, as needed -->
61 <!-- see onos.ui.addFloatingPanel -->
Simon Hunt195cb382014-11-03 17:50:51 -080062 </div>
Simon Hunt1a9eff92014-11-07 11:06:34 -080063 <div id="alerts">
64 <!-- NOTE: alert content injected here, as needed -->
65 </div>
Simon Hunta3dd9572014-11-20 15:22:41 -080066 <div id="feedback">
Simon Hunt5cef9062014-11-24 15:24:35 -080067 <!-- NOTE: feedback flashes to user -->
Simon Hunta3dd9572014-11-20 15:22:41 -080068 </div>
Simon Hunt5cef9062014-11-24 15:24:35 -080069 <div id="quickhelp">
70 <!-- NOTE: key bindings and mouse gesture help -->
Simon Hunt988c6fc2014-11-20 17:43:03 -080071 </div>
Simon Hunt195cb382014-11-03 17:50:51 -080072 </div>
73
74 <!-- Initialize the UI...-->
75 <script type="text/javascript">
Simon Hunt25248912014-11-04 11:25:48 -080076 var ONOS = $.onos({
Thomas Vachuska65368e32014-11-08 16:10:20 -080077 comment: 'configuration options',
Thomas Vachuskaece59ee2014-11-19 19:06:11 -080078 theme: 'dark',
Simon Hunt352be5f2014-11-23 12:14:49 -080079 startVid: 'topo'
Simon Hunt25248912014-11-04 11:25:48 -080080 });
Simon Hunt195cb382014-11-03 17:50:51 -080081 </script>
82
Simon Huntb33b40b2014-12-01 16:12:47 -080083 <!-- Library modules included here -->
Simon Hunt1a9eff92014-11-07 11:06:34 -080084 <script src="d3Utils.js"></script>
Simon Huntb33b40b2014-12-01 16:12:47 -080085 <script src="geometry.js"></script>
Simon Hunt12ce12e2014-11-15 21:13:19 -080086 <script src="glyphs.js"></script>
Simon Hunt1a9eff92014-11-07 11:06:34 -080087
Simon Huntb33b40b2014-12-01 16:12:47 -080088 <!-- Framework modules included here -->
Simon Hunte5ab1382014-11-25 10:28:51 -080089 <script src="onosMast.js"></script>
90 <script src="onosFlash.js"></script>
Simon Hunt5cef9062014-11-24 15:24:35 -080091 <script src="onosQuickHelp.js"></script>
Simon Hunt195cb382014-11-03 17:50:51 -080092
Simon Huntf67722a2014-11-10 09:32:06 -080093 <!-- View Module Templates; REMOVE THESE LINES, FOR PRODUCTION -->
94 <script src="module-svg-template.js"></script>
95 <script src="module-div-template.js"></script>
96
Simon Huntb33b40b2014-12-01 16:12:47 -080097 <!-- Sample Views; REMOVE THESE LINES, FOR PRODUCTION -->
Simon Hunte5ab1382014-11-25 10:28:51 -080098 <script src="sample.js"></script>
Simon Huntdb9eb072014-11-04 19:12:46 -080099 <script src="sampleRadio.js"></script>
Simon Hunt0df1b1d2014-11-04 22:58:29 -0800100 <script src="sampleKeys.js"></script>
Simon Hunt56d51852014-11-09 13:03:35 -0800101 <script src="sampleHash.js"></script>
Simon Hunt195cb382014-11-03 17:50:51 -0800102
Simon Hunt142d0032014-11-04 20:13:09 -0800103 <!-- Contributed (application) views injected here -->
104 <!-- TODO: replace with template marker and inject refs server-side -->
Simon Hunte5ab1382014-11-25 10:28:51 -0800105 <script src="topo.js"></script>
Simon Hunt142d0032014-11-04 20:13:09 -0800106
Simon Hunt195cb382014-11-03 17:50:51 -0800107 <!-- finally, build the UI-->
108 <script type="text/javascript">
109 $(ONOS.buildUi);
110 </script>
111
112</body>
113</html>