-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
199 lines (139 loc) · 3.68 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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
<!DOCTYPE html>
<html lang="en">
<head>
<title>Stateographer</title>
<link href="dist/css/bootstrap.css" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.5.0-beta.1/angular.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular-ui-router/0.2.15/angular-ui-router.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.min.js" charset="utf-8"></script>
<script src="js/stateographer.js"></script>
<script src="js/ui-bootstrap-custom-tpls-0.14.3.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" integrity="sha512-dTfge/zgoMYpP7QbHy4gWMEGsbsdZeCXz7irItjcC3sPUFtf0kuFbDz/ixG7ArTxmDjLXDmezHubeNikyKGVyQ==" crossorigin="anonymous">
<style>
.node {
cursor: pointer;
}
.node rect {
fill: #fff;
stroke: steelblue;
stroke-width: 3px;
}
.node text {
font: 12px sans-serif;
}
.link {
fill: none;
stroke: #ccc;
stroke-width: 2px;
}
</style>
</head>
<body ng-app="stateographer">
<div class="container">
<div class="header-bar-wrap" ng-controller="HistoryController">
<div ng-repeat="entry in history track by $index">
<div class="header-item left" style="float:{{ floatDirection(entry) }}"ng-if="entry.params.length < 2">
<a href="#">{{ entry.state.name || '<root>' }}</a>
</div>
<div class="header-item left" uib-dropdown on-toggle="toggled(open)" ng-if="entry.params.length > 1">
<a href id="simple-dropdown" uib-dropdown-toggle>
{{ entry.state.name }}
</a>
<ul class="uib-dropdown-menu" aria-labelledby="simple-dropdown">
<li ng-repeat="p in entry.params">
<a href>{{ p }}</a>
</li>
</ul>
</div>
</div>
<div class="row">
<div class="col1">
<div class="side-panel">
<p>Side panel</p>
</div>
</div>
<!--end col1 -->
<div class="col2">
<div class="row">
<div class="main-panel">
</div>
</div>
<hr>
<div class="row">
<div class="items-wrap">
<div class="item-col">
<h3>Heading1</h3>
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
</div>
<div class="item-col">
<h3>Heading 2</h3>
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
</div>
<div class="item-col">
<h3>Heading 3</h3>
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
</div>
</div>
<!--end items wrap -->
</div>
<!--end first row of items -->
<div class="row">
<div class="items-wrap">
<div class="item-col">
<h3>Heading1</h3>
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
</div>
<div class="item-col">
<h3>Heading 2</h3>
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
</div>
<div class="item-col">
<h3>Heading 3</h3>
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
</div>
</div>
<!--end items wrap -->
</div>
<!--end second row of items -->
</div>
<!--end col2 -->
</div>
</div>
<!--end container -->
<footer class="footer">
<div class="container">
<p class="text-muted">
<a ui-sref="home">Home</a> |
<a ui-sref="home.messages.inbox.view({ message: 5 })">Message 5</a> |
<a ui-sref="home.messages.inbox.view({ message: 10 })">Message 10</a> |
<a ui-sref="home.profile.edit">Edit Profile</a> |
<ui-view />
</p>
</div>
</footer>
</body>
</html>