blob: 64c1c22bcc5a18d457d71b013ef0ebf11f461966 [file] [log] [blame]
Simon Hunt6242ede2016-02-02 12:33:44 -08001<!DOCTYPE html>
2<!--
Brian O'Connor5ab426f2016-04-09 01:19:45 -07003 ~ Copyright 2016-present Open Networking Laboratory
Simon Hunt6242ede2016-02-02 12:33:44 -08004 ~
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 -- Display a glyph with Angular test page
20 -->
21
22<html>
23<head lang="en">
24 <meta charset="UTF-8">
25 <title>Show Icons Angular</title>
26
27 <script type="text/javascript" src="../tp/angular.js"></script>
28 <script type="text/javascript" src="../tp/angular-route.js"></script>
29
30 <script type="text/javascript" src="../tp/d3.js"></script>
31
32 <script type="text/javascript" src="../app/fw/util/util.js"></script>
33 <script type="text/javascript" src="../app/fw/util/fn.js"></script>
34
35 <script type="text/javascript" src="../app/fw/svg/svg.js"></script>
36 <script type="text/javascript" src="../app/fw/svg/svgUtil.js"></script>
37 <script type="text/javascript" src="../app/fw/svg/glyph.js"></script>
Simon Hunt4afa61d2016-02-23 09:31:43 -080038 <script type="text/javascript" src="../app/fw/svg/glyphData.js"></script>
Simon Hunt6242ede2016-02-02 12:33:44 -080039
40 <script type="text/javascript" src="big-icon.js"></script>
41
42 <link rel="stylesheet" href="../app/common.css">
43 <link rel="stylesheet" href="../app/fw/svg/icon.css">
44
45 <style>
46 html,
47 body {
48 background-color: #ddf;
49 font-family: Arial, Helvetica, sans-serif;
50 font-size: 9pt;
51 }
52
53 h2 {
54 color: darkred;
55 }
56
Simon Huntf715cdb2016-02-18 15:18:25 -080057 /* foreground color */
Simon Hunt6242ede2016-02-02 12:33:44 -080058 svg .glyph {
59 stroke: none;
Simon Huntf715cdb2016-02-18 15:18:25 -080060 fill: #246;
Simon Hunt6242ede2016-02-02 12:33:44 -080061 fill-rule: evenodd;
62 }
63
Simon Huntf715cdb2016-02-18 15:18:25 -080064 /* background color */
Simon Hunt6242ede2016-02-02 12:33:44 -080065 svg.embeddedGlyph .glyph rect {
66 fill: #fff
67 }
68
69 </style>
70
71</head>
72<!-- outline for using a controller in Angular -->
73<body class="light" ng-app="showGlyph" ng-controller="OvShowGlyph as ctrl">
74 <h2>Display a Glyph</h2>
75 <div id="showGlyphs"></div>
76 <svg><defs></defs></svg>
77</body>
78</html>