blob: 15759ed47a64bd96b7cbf60f094052aebbdc06aa [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 Colec006eef2015-01-20 11:42:05 -080031 <script type="text/javascript" src="../tp/jquery-2.1.1.min.js"></script>
Bri Prebilic Cole17a18b22015-01-19 17:15:59 -080032
Bri Prebilic Coleb07c2792015-01-20 09:58:09 -080033 <script type="text/javascript" src="../app/fw/util/util.js"></script>
34 <script type="text/javascript" src="../app/fw/util/fn.js"></script>
35 <script type="text/javascript" src="../app/fw/util/theme.js"></script>
36 <script type="text/javascript" src="../app/fw/util/keys.js"></script>
Bri Prebilic Colec006eef2015-01-20 11:42:05 -080037
Bri Prebilic Coleb07c2792015-01-20 09:58:09 -080038 <script type="text/javascript" src="../app/fw/svg/svg.js"></script>
39 <script type="text/javascript" src="../app/fw/svg/glyph.js"></script>
40 <script type="text/javascript" src="../app/fw/svg/icon.js"></script>
Bri Prebilic Colec006eef2015-01-20 11:42:05 -080041 <script type="text/javascript" src="../app/fw/svg/geodata.js"></script>
42 <script type="text/javascript" src="../app/fw/svg/map.js"></script>
43 <script type="text/javascript" src="../app/fw/svg/zoom.js"></script>
44
Bri Prebilic Coleb07c2792015-01-20 09:58:09 -080045 <script type="text/javascript" src="show-icons-test.js"></script>
Bri Prebilic Cole17a18b22015-01-19 17:15:59 -080046
47 <link rel="stylesheet" href="../app/common.css">
Bri Prebilic Colec006eef2015-01-20 11:42:05 -080048 <link rel="stylesheet" href="../app/fw/svg/icon.css">
Bri Prebilic Cole17a18b22015-01-19 17:15:59 -080049
50 <style>
51 html,
52 body {
53 background-color: #ddf;
54 font-family: Arial, Helvetica, sans-serif;
55 font-size: 9pt;
56 }
57
58 h2 {
59 color: darkred;
60 }
Bri Prebilic Colec006eef2015-01-20 11:42:05 -080061
62 svg .glyph {
63 stroke: none;
64 fill: #123456;
65 fill-rule: evenodd;
66 }
67
68 svg.embeddedGlyph .glyph rect {
69 fill: #fff
70 }
71
Bri Prebilic Cole17a18b22015-01-19 17:15:59 -080072 </style>
73
74</head>
75<!-- outline for using a controller in Angular -->
Bri Prebilic Colec006eef2015-01-20 11:42:05 -080076<body class="light" ng-app="showIconsTest" ng-controller="OvShowIconsTest as ctrl">
77 <h2>Displaying Icons and Glyphs with Angular</h2>
78 <div id="showIcons">
79 <p>Show all icons in icon library:<br></p>
80 </div>
81 <hr>
82 <div id="showGlyphs">
83 <p>Show all glyphs in glyph library:</p>
84 <p>(Displays checkMark and xMark too, because icons are built on top
85 of glyphs.)</p>
Bri Prebilic Cole17a18b22015-01-19 17:15:59 -080086 </div>
87
88
89
90</body>
91</html>