-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
159 lines (134 loc) · 4.83 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
<!DOCTYPE html>
<html lang="en-US">
<head>
<title>
Snippet | SoHo XI
</title>
<!-- Meta Info -->
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="version" content="4.6.0" />
<meta name="commit" content="" />
<script nonce="090b2916" src="assets/js/jquery.js"></script>
<script nonce="090b2916" src="assets/js/d3.v4.js"></script>
<script nonce="090b2916" src="assets/js/sohoxi.js"></script>
<script nonce="090b2916" src="assets/js/sohoxi-migrate-4.4.0.js"></script>
<script nonce="090b2916" src="angular/angular.js"></script>
<script nonce="090b2916" src="angular/module.js"></script>
<!-- Supplying the culture in the head is supported
<script nonce="090b2916" src="assets/js/sohoxi.js?v=MTIuMC4wLjAuMQ"></script>
<script nonce="090b2916" src="../../js/cultures/en-US.js"></script>-->
<script nonce="090b2916">
var colors;
var theme;
var font = '';
theme = 'light';
//If Initialize isnt called need to defer this
$('html').personalize({ colors: colors, theme: theme, font: font });
</script>
<link rel="stylesheet" id="sohoxi-stylesheet" href="assets/css/light-theme.css" type="text/css" />
<!-- Cache Bust Test
<link rel="stylesheet" id="sohoxi-stylesheet" href="assets/css/light-theme.css?v=MTIuMC4yMy4xMA" type="text/css"/>
-->
<!-- Style Sheets -->
<!-- <link rel="stylesheet" href="assets/css/demo.css" type="text/css"/> -->
</head>
<body class="no-scroll"
ng-app="MyApp"
ng-controller="TestCtrl"
>
<a href="#maincontent" class="skip-link" data-translate="text">SkipToMain</a>
<div ng-include="svgIcons"></div>
<div class="page-container">
<header class="header is-personalizable">
<div class="toolbar">
<div class="title">
<h1>
<span>Snippet Angular</span>
</h1>
</div>
<!-- included in all "header-*.html" partials -->
<div class="more">
<button class="btn-actions page-changer" type="button">
<svg class="icon" focusable="false" aria-hidden="true" role="presentation">
<use xlink:href="#icon-more"></use>
</svg>
<span class="audible" data-translate="text">More</span>
</button>
<ul class="popupmenu is-selectable">
<li class="heading" role="presentation">Theme</li>
<li class="is-selectable is-checked">
<a href="#" data-theme="light-theme">Light</a>
</li>
<li class="is-selectable">
<a href="#" data-theme="dark-theme">Dark</a>
</li>
<li class="is-selectable">
<a href="#" data-theme="high-contrast-theme">High Contrast</a>
</li>
<li class="separator"></li>
<li class="heading" role="presentation">Personalization</li>
<li class="is-selectable is-checked">
<a data-rgbcolor="#2578A9" href="#">Azure</a>
</li>
<li class="is-selectable">
<a data-rgbcolor="#DB7726" href="#">Amber</a>
</li>
<li class="is-selectable">
<a data-rgbcolor="#9279A6" href="#">Amethyst</a>
</li>
<li class="is-selectable">
<a data-rgbcolor="#579E95" href="#">Turqoise</a>
</li>
<li class="is-selectable">
<a data-rgbcolor="#317C73" href="#">Emerald</a>
</li>
<li class="is-selectable">
<a data-rgbcolor="#5C5C5C" href="#">Graphite</a>
</li>
</ul>
</div>
</div>
</header>
<div class="page-container scrollable" id="maincontent" role="main">
<div class="row">
<div class="six columns">
<h2>{{ templateName === 'page1' ? 'Page 1' : 'Tooltip should not display on top right corner'}}</h2>
<div class="field"
ng-if="templateName === 'page1'"
>
<button class="btn-primary"
ng-click="changePage('page2')"
xi-tooltip="'Hello World'"
>
Show bug
</button>
</div>
<div class="field"
ng-if="templateName === 'page2'"
>
<button class="btn-primary"
ng-click="changePage('page1')"
>
Oh no
</button>
</div>
</div>
</div>
<div class="row top-padding">
<div class="twelve columns">
<!-- start -->
<!-- end -->
</div>
</div>
</div>
</div>
<script nonce="0074a138">
// Initialize all SoHo Xi Controls and set the locale
var initialLocale = 'en-US';
initialLocale = 'en-US';
$('body').initialize({ locale: initialLocale });
</script>
</body>
</html>