blob: ba3a39022ae6f952645454138cd59e9d7fc4253d [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>
Bri Prebilic Colec006eef2015-01-20 11:42:05 -080036
Bri Prebilic Coleb07c2792015-01-20 09:58:09 -080037 <script type="text/javascript" src="../app/fw/svg/svg.js"></script>
Simon Huntc4c5a072015-03-25 15:32:19 -070038 <script type="text/javascript" src="../app/fw/svg/svgUtil.js"></script>
Bri Prebilic Coleb07c2792015-01-20 09:58:09 -080039 <script type="text/javascript" src="../app/fw/svg/glyph.js"></script>
Simon Hunt4afa61d2016-02-23 09:31:43 -080040 <script type="text/javascript" src="../app/fw/svg/glyphData.js"></script>
Bri Prebilic Coleb07c2792015-01-20 09:58:09 -080041 <script type="text/javascript" src="../app/fw/svg/icon.js"></script>
Bri Prebilic Colec006eef2015-01-20 11:42:05 -080042 <script type="text/javascript" src="../app/fw/svg/geodata.js"></script>
43 <script type="text/javascript" src="../app/fw/svg/map.js"></script>
44 <script type="text/javascript" src="../app/fw/svg/zoom.js"></script>
45
Bri Prebilic Coleb07c2792015-01-20 09:58:09 -080046 <script type="text/javascript" src="show-icons-test.js"></script>
Bri Prebilic Cole17a18b22015-01-19 17:15:59 -080047
48 <link rel="stylesheet" href="../app/common.css">
Bri Prebilic Colec006eef2015-01-20 11:42:05 -080049 <link rel="stylesheet" href="../app/fw/svg/icon.css">
Bri Prebilic Cole17a18b22015-01-19 17:15:59 -080050
51 <style>
52 html,
53 body {
54 background-color: #ddf;
55 font-family: Arial, Helvetica, sans-serif;
56 font-size: 9pt;
57 }
58
59 h2 {
60 color: darkred;
61 }
Bri Prebilic Colec006eef2015-01-20 11:42:05 -080062
63 svg .glyph {
64 stroke: none;
65 fill: #123456;
66 fill-rule: evenodd;
67 }
68
69 svg.embeddedGlyph .glyph rect {
70 fill: #fff
71 }
72
Bri Prebilic Cole17a18b22015-01-19 17:15:59 -080073 </style>
74
75</head>
76<!-- outline for using a controller in Angular -->
Bri Prebilic Colec006eef2015-01-20 11:42:05 -080077<body class="light" ng-app="showIconsTest" ng-controller="OvShowIconsTest as ctrl">
78 <h2>Displaying Icons and Glyphs with Angular</h2>
79 <div id="showIcons">
80 <p>Show all icons in icon library:<br></p>
81 </div>
82 <hr>
83 <div id="showGlyphs">
84 <p>Show all glyphs in glyph library:</p>
85 <p>(Displays checkMark and xMark too, because icons are built on top
86 of glyphs.)</p>
Bri Prebilic Cole17a18b22015-01-19 17:15:59 -080087 </div>
88
89
90
91</body>
92</html>