blob: 9ea102f8011689ded37ba11f4bdc9efda58583d9 [file] [log] [blame]
Bri Prebilic Cole17a18b22015-01-19 17:15:59 -08001<!DOCTYPE html>
2<!--
3 ~ Copyright 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
18<!--
19 ONOS -- Displaying icons with Angular test page
Bri Prebilic Cole17a18b22015-01-19 17:15:59 -080020 -->
21
22<html>
23<head lang="en">
24 <meta charset="UTF-8">
25 <title>Show Icons Angular</title>
26
Bri Prebilic Coleb07c2792015-01-20 09:58:09 -080027 <script type="text/javascript" src="../tp/angular.js"></script>
28 <script type="text/javascript" src="../tp/angular-route.js"></script>
Bri Prebilic Cole17a18b22015-01-19 17:15:59 -080029
Bri Prebilic Coleb07c2792015-01-20 09:58:09 -080030 <script type="text/javascript" src="../tp/d3.js"></script>
Bri Prebilic Cole17a18b22015-01-19 17:15:59 -080031
Bri Prebilic Coleb07c2792015-01-20 09:58:09 -080032 <script type="text/javascript" src="../app/fw/util/util.js"></script>
33 <script type="text/javascript" src="../app/fw/util/fn.js"></script>
34 <script type="text/javascript" src="../app/fw/util/theme.js"></script>
35 <script type="text/javascript" src="../app/fw/util/keys.js"></script>
36 <script type="text/javascript" src="../app/fw/svg/svg.js"></script>
37 <script type="text/javascript" src="../app/fw/svg/glyph.js"></script>
38 <script type="text/javascript" src="../app/fw/svg/icon.js"></script>
39 <script type="text/javascript" src="show-icons-test.js"></script>
Bri Prebilic Cole17a18b22015-01-19 17:15:59 -080040
41 <link rel="stylesheet" href="../app/common.css">
42
43 <style>
44 html,
45 body {
46 background-color: #ddf;
47 font-family: Arial, Helvetica, sans-serif;
48 font-size: 9pt;
49 }
50
51 h2 {
52 color: darkred;
53 }
54 </style>
55
56</head>
57<!-- outline for using a controller in Angular -->
58<body class="light" ng-app="showIconsTest">
59 <h2>Showing Icons with Icon Service Angular</h2>
60 <div id="show-icons" ng-controller="OvShowIconsTest as ctrl">
Bri Prebilic Coleb07c2792015-01-20 09:58:09 -080061 <!--{{message}}-->
62 <p>{{ctrl.a}} + {{ctrl.b}} = {{ctrl.a+ctrl.b}}</p>
Bri Prebilic Cole17a18b22015-01-19 17:15:59 -080063 </div>
64
65
66
67</body>
68</html>