-
Notifications
You must be signed in to change notification settings - Fork 14
/
index.html
380 lines (375 loc) · 17 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
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<!-- Library includes -->
<link rel="stylesheet" type="text/css" href="assets/semantic/dist/semantic.min.css">
<link rel="stylesheet" type="text/css" href="node_modules/@fengyuanchen/datepicker/dist/datepicker.min.css">
<link rel="stylesheet" type="text/css" href="node_modules/vis/dist/vis.css">
<link rel="stylesheet" type="text/css" href="node_modules/datatables.net-se/css/dataTables.semanticui.min.css">
<link rel="stylesheet" type="text/css" href="node_modules/datatables.net-fixedcolumns-se/css/fixedColumns.semanticui.min.css">
<link rel="stylesheet" type="text/css" href="node_modules/datatables.net-buttons-se/css/buttons.semanticui.min.css">
<script>window.$ = window.jQuery = require('jquery');</script>
<script src="assets/semantic/dist/semantic.min.js"></script>
<script src="js/util/jszip.min.js"></script>
<script src="node_modules/floatthead/dist/jquery.floatThead.js"></script>
<script src="node_modules/jquery-tablesort/jquery.tablesort.min.js"></script>
<script src="node_modules/@fengyuanchen/datepicker/dist/datepicker.min.js"></script>
<script src="node_modules/chart.js/dist/Chart.min.js"></script>
<script src="node_modules/vis/dist/vis.min.js"></script>
<script src="js/util/advanced-analysis.js"></script>
<!-- End Library includes -->
<!-- Application includes -->
<link rel="stylesheet" type="text/css" href="assets/css/index.css">
<!-- Deprecated styling from imports, adding styles to global -->
<link rel="stylesheet" type="text/css" href="assets/css/team-ranking.css">
<link rel="stylesheet" type="text/css" href="assets/css/hero-collection.css">
<link rel="stylesheet" type="text/css" href="assets/css/maps.css">
<link rel="stylesheet" type="text/css" href="assets/css/match-detail.css">
<link rel="stylesheet" type="text/css" href="assets/css/matches.css">
<link rel="stylesheet" type="text/css" href="assets/css/player.css">
<link rel="stylesheet" type="text/css" href="assets/css/player-ranking.css">
<link rel="stylesheet" type="text/css" href="assets/css/settings.css">
<link rel="stylesheet" type="text/css" href="assets/css/teams.css">
<link rel="stylesheet" type="text/css" href="assets/css/hero-trends.css">
<link rel="import" href="templates/settings-page.html" name="settings">
<link rel="import" href="templates/matches-page.html" name="matches">
<link rel="import" href="templates/match-detail-page.html" name="match-detail">
<link rel="import" href="templates/player-page.html" name="player">
<link rel="import" href="templates/filter-popup-widget.html" name="filter">
<link rel="import" href="templates/hero-collection-page.html" name="hero-collection">
<link rel="import" href="templates/player-ranking-page.html" name="player-ranking">
<link rel="import" href="templates/teams-page.html" name="teams">
<link rel="import" href="templates/team-ranking-page.html" name="team-ranking">
<link rel="import" href="templates/about-page.html" name="about">
<link rel="import" href="templates/trends-page.html" name="trends">
<link rel="import" href="templates/maps-page.html" name="maps">
<script src="js/index.js"></script>
<!-- End Application includes -->
<title>Stats of the Storm</title>
</head>
<body>
<div id="print-window" class="is-hidden">
<div class="contents">
</div>
</div>
<div id="main-menu" class="ui sidebar inverted vertical menu">
<div class="header item app-title">
<img class="ui mini image" src="assets/images/storm_ui_mvp_icon.png">
Stats of the Storm
<div class="app-version-number sub header">
</div>
</div>
<a class="item" section-name="matches">Matches</a>
<a class="item" section-name="player">Player Details</a>
<a class="item" section-name="teams">Team Details</a>
<div class="item">
<div class="header">Collection Stats</div>
<div class="menu">
<a class="item" section-name="hero-collection">Heroes</a>
<a class="item" section-name="player-ranking">Players</a>
<a class="item" section-name="team-ranking">Teams</a>
<a class="item" section-name="maps">Battlegrounds</a>
<a class="item" section-name="trends">Trends</a>
</div>
</div>
<a class="item" section-name="settings">Settings</a>
<a class="item" section-name="about">About</a>
</div>
<div class="inverted pusher" id="page-wrapper">
<!-- put stuff here! -->
<div class="ui top fixed inverted menu" id="section-menu">
<a class="icon item" id="show-sidebar-button"><i class="sidebar icon"></i></a>
<a class="icon item" id="section-menu-back-button"><i class="arrow left icon"></i></a>
<div class="header item" id="section-menu-name">Loading...</div>
<div class="ui dropdown link item is-hidden section-submenu" id="hero-collection-file-menu">
File
<i class="dropdown icon"></i>
<div class="menu">
<div class="item">
<i class="dropdown icon"></i>
<span class="text">Export JSON</span>
<div class="menu">
<div class="item" data-value="json-pick">Draft Data</div>
<div class="item" data-value="json-hero">Hero Details</div>
</div>
</div>
<div class="item">
<i class="dropdown icon"></i>
<span class="text">Export CSV</span>
<div class="menu">
<div class="item" data-value="csv-draft">Draft Data</div>
<div class="item" data-value="csv-hero">Hero Details Data</div>
</div>
</div>
<div class="item">
<i class="dropdown icon"></i>
<span class="text">Export PDF</span>
<div class="menu">
<div class="item" data-value="print-all">Summary</div>
<div class="item" data-value="print-sections">Selected Sections...</div>
<div class="item" data-value="print-hero">Hero Details</div>
</div>
</div>
</div>
</div>
<div class="ui dropdown link item is-hidden section-submenu" id="match-detail-file-menu">
File
<i class="dropdown icon"></i>
<div class="menu">
<div class="item">
<i class="dropdown icon"></i>
<span class="text">Draft Display Mode</span>
<div class="menu">
<div class="item" data-value="standard">Pick Order</div>
<div class="item" data-value="expanded">By Team</div>
</div>
</div>
<div class="item" data-value="change-draft">Modify Draft...</div>
<div class="ui divider"></div>
<div class="item">
<i class="dropdown icon"></i>
<span class="text">Export JSON</span>
<div class="menu">
<div class="item" data-value="match">Match</div>
</div>
</div>
<div class="item">
<i class="dropdown icon"></i>
<span class="text">Export PDF</span>
<div class="menu">
<div class="item" data-value="print-all">Match</div>
<div class="item" data-value="print-sections">Selected Sections...</div>
</div>
</div>
<div class="ui divider"></div>
<div class="item" data-value="delete">Delete Match</div>
</div>
</div>
<div class="ui dropdown link item is-hidden section-submenu" id="match-detail-teams">
Teams
<i class="dropdown icon"></i>
<div class="menu">
<div class="item" data-value="new-from-blue">New Team From Blue</div>
<div class="item" data-value="add-existing-blue">Add Blue To Existing Team</div>
<div class="ui divider"></div>
<div class="item" data-value="new-from-red">New Team From Red</div>
<div class="item" data-value="add-existing-red">Add Red To Existing Team</div>
</div>
</div>
<div class="ui dropdown link item is-hidden section-submenu" id="matches-file-menu">
File
<i class="dropdown icon"></i>
<div class="menu">
<div class="item">
<i class="dropdown icon"></i>
<span class="text">Export JSON</span>
<div class="menu">
<div class="item" data-value="match">Current Matches</div>
</div>
</div>
<div class="ui divider"></div>
<div class="item" data-value="delete">Delete Current Matches</div>
</div>
</div>
<div class="ui dropdown link item is-hidden section-submenu" id="player-export-menu">
File
<i class="dropdown icon"></i>
<div class="menu">
<div class="item">
<i class="dropdown icon"></i>
<span class="text">Export JSON</span>
<div class="menu">
<div class="item" data-value="player">Current Player</div>
<div class="item" data-value="all-players">All Players</div>
</div>
</div>
<div class="item">
<i class="dropdown icon"></i>
<span class="text">Export CSV</span>
<div class="menu">
<div class="item" data-value="csv-current">Current Player's Hero Data</div>
<div class="item" data-value="csv-all">All Hero Data for Collection</div>
</div>
</div>
<div class="item">
<i class="dropdown icon"></i>
<span class="text">Export PDF</span>
<div class="menu">
<div class="item" data-value="print-player">Current Player</div>
<div class="item" data-value="print-sections">Selected Sections...</div>
</div>
</div>
</div>
</div>
<div class="ui dropdown link item is-hidden section-submenu" id="player-edit-menu">
Edit
<i class="dropdown icon"></i>
<div class="menu">
<div class="item" data-value="alias">Set Aliases</div>
<div class="item" data-value="nickname">Set Nickname</div>
</div>
</div>
<div class="ui dropdown link item is-hidden section-submenu" id="team-file-menu">
File
<i class="dropdown icon"></i>
<div class="menu">
<div class="item">
<i class="dropdown icon"></i>
<span class="text">Export PDF</span>
<div class="menu">
<div class="item" data-value="print-team">Team</div>
<div class="item" data-value="print-sections">Selected Sections...</div>
</div>
</div>
</div>
</div>
<div class="ui dropdown link item is-hidden section-submenu" id="players-file-menu">
File
<i class="dropdown icon"></i>
<div class="menu">
<div class="item" data-value="csv">Export CSV</div>
<div class="item" data-value="excel">Export Excel</div>
</div>
</div>
<div class="ui dropdown link item is-hidden section-submenu" id="team-ranking-file-menu">
File
<i class="dropdown icon"></i>
<div class="menu">
<div class="item" data-value="csv">Export CSV</div>
<div class="item" data-value="excel">Export Excel</div>
</div>
</div>
<div class="ui dropdown link item is-hidden section-submenu" id="trends-file-menu">
File
<i class="dropdown icon"></i>
<div class="menu">
<div class="item">
<i class="dropdown icon"></i>
<span class="text">Export PDF</span>
<div class="menu">
<div class="item" data-value="print">Trends</div>
<div class="item" data-value="print-sections">Selected Sections...</div>
</div>
</div>
</div>
</div>
<div class="ui dropdown link item is-hidden section-submenu" id="maps-file-menu">
File
<i class="dropdown icon"></i>
<div class="menu">
<div class="item" data-value="print">Export PDF</div>
</div>
</div>
<div class="ui dropdown link item is-hidden section-submenu" id="team-edit-menu">
Edit
<i class="dropdown icon"></i>
<div class="menu">
<div class="item" data-value="new">New Team</div>
<div class="item" data-value="rename">Rename Team</div>
<div class="item" data-value="delete">Delete Team</div>
</div>
</div>
<div class="ui dropdown link item is-hidden section-submenu" id="match-detail-collection">
Collections
<i class="dropdown icon"></i>
<div class="menu">
<div class="item" data-value="add">Add To Collection</div>
<div class="item" data-value="remove">Remove From Collection</div>
</div>
</div>
<div class="ui dropdown link item is-hidden section-submenu" id="matches-collection">
Collections
<i class="dropdown icon"></i>
<div class="menu">
<div class="item" data-value="add-current">Add Current Matches To Collection</div>
<div class="item" data-value="remove-current">Remove Current Matches From Collection</div>
</div>
</div>
<div class="link item is-hidden section-submenu" id="matches-tags">
Tags
<i class="dropdown icon"></i>
</div>
<div class="ui popup bottom left" id="matches-tags-popup">
<h4 class="ui header">Edit Match Tags</h4>
<div class="ui multiple search selection dropdown">
<i class="dropdown icon"></i>
<div class="default text">No Tags</div>
<div class="menu">
</div>
</div>
</div>
<div class="link item is-hidden section-submenu" id="match-tags">
Tags
<i class="dropdown icon"></i>
</div>
<div class="ui popup bottom left" id="match-tags-popup">
<h4 class="ui header">Edit Match Tags</h4>
<div class="ui multiple search selection dropdown">
<i class="dropdown icon"></i>
<div class="default text">No Tags</div>
<div class="menu">
</div>
</div>
</div>
<div class="right menu">
<div class="ui scrolling dropdown link item" id="collection-switch-menu">
Collection: <span class="collection-name">None</span></a>
<div class="menu">
</div>
</div>
<a class="item" id="app-minimize-button"><i class="window minimize outline icon"></i></a>
<a class="item" id="app-maximize-button"><i class="window maximize outline icon"></i></a>
<a class="item" id="app-quit-button"><i class="window close icon"></i></a>
</div>
</div>
<div id="main-content">
</div>
<div id="filter-widget">
</div>
<div id="message-container">
</div>
<!-- LinvoDB Migration Modal -->
<div class="ui modal" id="linvo-db-migrate">
<div class="header">Database Conversion Required</div>
<div class="content" id="linvo-db-migrate-step1">
<p>
Hi there! Stats of the Storm has updated its backend. This update
will improve RAM usage and remove the database size limit (which you might run into
after importing ~3000 games). Note that this update will make data load
slower than before, in exchange for constant RAM usage and unbounded database size.
</p>
<p>
You must convert your database to continue using Stats of the Storm.
This will leave your original database intact. If you encounter any errors,
submit a bug report along with your database files. When you are ready to begin,
click the Convert button below. While this process is running, do not close the app.
</p>
<div class="ui fluid green button" id="linvo-convert">
Convert
</div>
</div>
<div class="content is-hidden" id="linvo-db-migrate-active">
<p class="status">
</p>
<div class="ui blue active progress" id="linvo-db-migrate-progress">
<div class="bar">
<div class="progress"></div>
</div>
<div class="label">Initializing</div>
</div>
<div class="ui fluid green button is-hidden" id="linvo-db-migrate-reboot">
Relaunch
</div>
</div>
</div>
</div>
<div class="ui active page dimmer" id="main-app-loader">
<div class="ui huge text loader">
Stats of the Storm<br>
<span class="app-version-number"></span><br>
<span class="load-status"></span>
</div>
</div>
</body>
</html>