blob: ac0f84fb312255848c981c6926391b133a6116b7 [file] [log] [blame]
Simon Hunt6242ede2016-02-02 12:33:44 -08001<!DOCTYPE html>
2<!--
3 ~ Copyright 2016 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 -- 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>
38
39 <script type="text/javascript" src="big-icon.js"></script>
40
41 <link rel="stylesheet" href="../app/common.css">
42 <link rel="stylesheet" href="../app/fw/svg/icon.css">
43
44 <style>
45 html,
46 body {
47 background-color: #ddf;
48 font-family: Arial, Helvetica, sans-serif;
49 font-size: 9pt;
50 }
51
52 h2 {
53 color: darkred;
54 }
55
56 svg .glyph {
57 stroke: none;
58 fill: #123456;
59 fill-rule: evenodd;
60 }
61
62 svg.embeddedGlyph .glyph rect {
63 fill: #fff
64 }
65
66 </style>
67
68</head>
69<!-- outline for using a controller in Angular -->
70<body class="light" ng-app="showGlyph" ng-controller="OvShowGlyph as ctrl">
71 <h2>Display a Glyph</h2>
72 <div id="showGlyphs"></div>
73 <svg><defs></defs></svg>
74</body>
75</html>