forked from swfdevpro/theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
stat_charts.html
506 lines (495 loc) · 26.8 KB
/
stat_charts.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
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
<!-- light-blue - v3.1.0 - 2014-12-06 -->
<!DOCTYPE html>
<html>
<head>
<title>Light Blue - Responsive Admin Dashboard Template</title>
<link href="css/application.min.css" rel="stylesheet">
<link rel="shortcut icon" href="img/favicon.png">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<meta charset="utf-8">
<script>
/* yeah we need this empty stylesheet here. It's cool chrome & chromium fix
chrome fix https://code.google.com/p/chromium/issues/detail?id=167083
https://code.google.com/p/chromium/issues/detail?id=332189
*/
</script>
</head>
<body class="background-dark">
<div class="logo">
<h4><a href="index.html">Light <strong>Blue</strong></a></h4>
</div>
<nav id="sidebar" class="sidebar nav-collapse collapse">
<ul id="side-nav" class="side-nav">
<li class="">
<a href="index.html"><i class="fa fa-home"></i> <span class="name">Dashboard</span></a>
</li>
<li class="panel ">
<a class="accordion-toggle collapsed" data-toggle="collapse"
data-parent="#side-nav" href="#forms-collapse"><i class="fa fa-pencil"></i> <span class="name">Forms</span></a>
<ul id="forms-collapse" class="panel-collapse collapse ">
<li class=""><a href="form_account.html">Account</a></li>
<li class=""><a href="form_article.html">Article</a></li>
<li class=""><a href="form_elements.html">Elements</a></li>
<li class=""><a href="form_validation.html">Validation</a></li>
<li class=""><a href="form_wizard.html">Wizard</a></li>
</ul>
</li>
<li class="panel active">
<a class="accordion-toggle " data-toggle="collapse"
data-parent="#side-nav" href="#stats-collapse"><i class="fa fa-area-chart"></i> <span class="name">Statistics</span></a>
<ul id="stats-collapse" class="panel-collapse collapse in">
<li class=""><a href="stat_statistics.html">Stats</a></li>
<li class="active"><a href="stat_charts.html">Charts</a></li>
<li class=""><a href="stat_realtime.html">Realtime</a></li>
</ul>
</li>
<li class="panel ">
<a class="accordion-toggle collapsed" data-toggle="collapse"
data-parent="#side-nav" href="#ui-collapse"><i class="fa fa-magic"></i> <span class="name">User Interface</span></a>
<ul id="ui-collapse" class="panel-collapse collapse ">
<li class=""><a href="ui_buttons.html">Buttons</a></li>
<li class=""><a href="ui_dialogs.html">Dialogs</a></li>
<li class=""><a href="ui_notifications.html">Notifications</a></li>
<li class=""><a href="ui_icons.html">Icons</a></li>
<li class=""><a href="ui_tabs.html">Tabs</a></li>
<li class=""><a href="ui_accordion.html">Accordion</a></li>
</ul>
</li>
<li class="panel ">
<a class="accordion-toggle collapsed" data-toggle="collapse"
data-parent="#side-nav" href="#components-collapse"><i class="fa fa-tree"></i> <span class="name">Components</span></a>
<ul id="components-collapse" class="panel-collapse collapse ">
<li class=""><a href="component_calendar.html">Calendar</a></li>
<li class=""><a href="component_maps.html" data-no-pjax>Maps</a></li>
<li class=""><a href="component_gallery.html">Gallery</a></li>
<li class=""><a href="component_fileupload.html" data-no-pjax>Fileupload</a></li>
<li class=""><a href="component_bootstrap.html">Bootstrap</a></li>
<li class=""><a href="component_list_groups.html">List Groups</a></li>
</ul>
</li>
<li class="panel ">
<a class="accordion-toggle collapsed" data-toggle="collapse"
data-parent="#side-nav" href="#tables-collapse"><i class="fa fa-cog"></i> <span class="name">Tables</span></a>
<ul id="tables-collapse" class="panel-collapse collapse ">
<li class=""><a href="tables_static.html">Static <sup class="text-danger fw-bold">upd</sup></a></li>
<li class=""><a href="tables_dynamic.html">Dynamic</a></li>
</ul>
</li>
<li class="panel ">
<a class="accordion-toggle collapsed" data-toggle="collapse"
data-parent="#side-nav" href="#grid-collapse"><i class="fa fa-th"></i> <span class="name">Widgets</span></a>
<ul id="grid-collapse" class="panel-collapse collapse ">
<li class=""><a href="grid_basic.html">Basic</a></li>
<li class=""><a href="grid_live.html">Live</a></li>
</ul>
</li>
<li class="panel ">
<a class="accordion-toggle collapsed" data-toggle="collapse"
data-parent="#side-nav" href="#special-collapse"><i class="fa fa-leaf"></i> <span class="name">Special</span></a>
<ul id="special-collapse" class="panel-collapse collapse ">
<li class=""><a href="special_search.html">Search <sup class="text-warning fw-bold">new</sup></a></li>
<li class=""><a href="special_invoice.html">Invoice</a></li>
<li class=""><a href="special_inbox.html">Inbox <span class="label label-important">3</span></a></li>
<li><a target="_blank" href="login.html">Login</a></li>
<li><a target="_blank" href="error.html">Error Page</a></li>
<li><a href="landing.html" data-no-pjax>Landing</a></li>
<li><a href="../white/index.html" data-no-pjax>White <sup class="text-warning fw-bold">new</sup></a></li>
</ul>
</li>
<li class="panel">
<a class="accordion-toggle collapsed" data-toggle="collapse"
data-parent="#side-nav" href="#menu-levels-collapse"><i class="fa fa-folder-open"></i> <span class="name">Menu Levels</span></a>
<ul id="menu-levels-collapse" class="panel-collapse collapse">
<li><a href="#">Item 1.1</a></li>
<li><a href="#">Item 1.2</a></li>
<li class="panel">
<a class="accordion-toggle collapsed" data-toggle="collapse"
data-parent="#menu-levels-collapse" href="#sub-menu-1-collapse">Item 1.3</a>
<ul id="sub-menu-1-collapse" class="panel-collapse collapse">
<li class="panel">
<a class="accordion-toggle collapsed" data-toggle="collapse"
data-parent="#sub-menu-1-collapse" href="#sub-menu-3-collapse">Item 2.1</a>
<ul id="sub-menu-3-collapse" class="panel-collapse collapse">
<li><a href="#">Item 3.1</a></li>
<li><a href="#">Item 3.2</a></li>
<li><a href="#">Item 3.3</a></li>
</ul>
</li>
<li><a href="#">Item 2.2</a></li>
<li class="panel">
<a class="accordion-toggle collapsed" data-toggle="collapse"
data-parent="#sub-menu-1-collapse" href="#sub-menu-2-collapse">Item 2.3</a>
<ul id="sub-menu-2-collapse" class="panel-collapse collapse">
<li><a href="#">Item 3.4</a></li>
<li><a href="#">Item 3.5</a></li>
<li><a href="#">Item 3.6</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li class="visible-xs">
<a href="login.html"><i class="fa fa-sign-out"></i> <span class="name">Sign Out</span></a>
</li>
</ul>
<h5 class="sidebar-nav-title">Labels <a class="action-link" href="#"><i class="glyphicon glyphicon-plus"></i></a></h5>
<!-- some styled links in sidebar. ready to use as links to email folders, projects, groups, etc -->
<ul class="sidebar-labels">
<li>
<a href="#">
<!-- yep, .circle again -->
<i class="fa fa-circle text-warning"></i>
<span class="label-name">My Recent</span>
</a>
</li>
<li>
<a href="#">
<i class="fa fa-circle text-gray"></i>
<span class="label-name">Starred</span>
</a>
</li>
<li>
<a href="#">
<i class="fa fa-circle text-danger"></i>
<span class="label-name">Background</span>
</a>
</li>
</ul>
<h5 class="sidebar-nav-title">Projects</h5>
<!-- A place for sidebar notifications & alerts -->
<div class="sidebar-alerts">
<div class="alert fade in">
<a href="#" class="close" data-dismiss="alert" aria-hidden="true">×</a>
<span class="text-white fw-semi-bold">Sales Report</span> <br>
<div class="progress progress-xs mt-xs mb-0">
<div class="progress-bar progress-bar-gray-light" style="width: 16%"></div>
</div>
<small>Calculating x-axis bias... 65%</small>
</div>
<div class="alert fade in">
<a href="#" class="close" data-dismiss="alert" aria-hidden="true">×</a>
<span class="text-white fw-semi-bold">Personal Responsibility</span> <br>
<div class="progress progress-xs mt-xs mb-0">
<div class="progress-bar progress-bar-danger" style="width: 23%"></div>
</div>
<small>Provide required notes</small>
</div>
</div>
</nav> <div class="wrap">
<header class="page-header">
<div class="navbar">
<ul class="nav navbar-nav navbar-right pull-right">
<li class="visible-phone-landscape">
<a href="#" id="search-toggle">
<i class="fa fa-search"></i>
</a>
</li>
<li class="dropdown">
<a href="#" title="Messages" id="messages"
class="dropdown-toggle"
data-toggle="dropdown">
<i class="fa fa-comments"></i>
</a>
<ul id="messages-menu" class="dropdown-menu messages" role="menu">
<li role="presentation">
<a href="#" class="message">
<img src="img/1.jpg" alt="">
<div class="details">
<div class="sender">Jane Hew</div>
<div class="text">
Hey, John! How is it going? ...
</div>
</div>
</a>
</li>
<li role="presentation">
<a href="#" class="message">
<img src="img/2.jpg" alt="">
<div class="details">
<div class="sender">Alies Rumiancaŭ</div>
<div class="text">
I'll definitely buy this template
</div>
</div>
</a>
</li>
<li role="presentation">
<a href="#" class="message">
<img src="img/3.jpg" alt="">
<div class="details">
<div class="sender">Michał Rumiancaŭ</div>
<div class="text">
Is it really Lore ipsum? Lore ...
</div>
</div>
</a>
</li>
<li role="presentation">
<a href="#" class="text-align-center see-all">
See all messages <i class="fa fa-arrow-right"></i>
</a>
</li>
</ul>
</li>
<li class="dropdown">
<a href="#" title="8 support tickets"
class="dropdown-toggle"
data-toggle="dropdown">
<i class="fa fa-group"></i>
<span class="count">8</span>
</a>
<ul id="support-menu" class="dropdown-menu support" role="menu">
<li role="presentation">
<a href="#" class="support-ticket">
<div class="picture">
<span class="label label-important"><i class="fa fa-bell-o"></i></span>
</div>
<div class="details">
Check out this awesome ticket
</div>
</a>
</li>
<li role="presentation">
<a href="#" class="support-ticket">
<div class="picture">
<span class="label label-warning"><i class="fa fa-question-circle"></i></span>
</div>
<div class="details">
"What is the best way to get ...
</div>
</a>
</li>
<li role="presentation">
<a href="#" class="support-ticket">
<div class="picture">
<span class="label label-success"><i class="fa fa-tag"></i></span>
</div>
<div class="details">
This is just a simple notification
</div>
</a>
</li>
<li role="presentation">
<a href="#" class="support-ticket">
<div class="picture">
<span class="label label-info"><i class="fa fa-info-circle"></i></span>
</div>
<div class="details">
12 new orders has arrived today
</div>
</a>
</li>
<li role="presentation">
<a href="#" class="support-ticket">
<div class="picture">
<span class="label label-important"><i class="fa fa-plus"></i></span>
</div>
<div class="details">
One more thing that just happened
</div>
</a>
</li>
<li role="presentation">
<a href="#" class="text-align-center see-all">
See all tickets <i class="fa fa-arrow-right"></i>
</a>
</li>
</ul>
</li>
<li class="divider"></li>
<li class="hidden-xs">
<a href="#" id="settings"
title="Settings"
data-toggle="popover"
data-placement="bottom">
<i class="fa fa-cog"></i>
</a>
</li>
<li class="hidden-xs dropdown">
<a href="#" title="Account" id="account"
class="dropdown-toggle"
data-toggle="dropdown">
<i class="fa fa-user"></i>
</a>
<ul id="account-menu" class="dropdown-menu account" role="menu">
<li role="presentation" class="account-picture">
<img src="img/2.jpg" alt="">
Philip Daineka
</li>
<li role="presentation">
<a href="form_account.html" class="link">
<i class="fa fa-user"></i>
Profile
</a>
</li>
<li role="presentation">
<a href="component_calendar.html" class="link">
<i class="fa fa-calendar"></i>
Calendar
</a>
</li>
<li role="presentation">
<a href="#" class="link">
<i class="fa fa-inbox"></i>
Inbox
</a>
</li>
</ul>
</li>
<li class="visible-xs">
<a href="#"
class="btn-navbar"
data-toggle="collapse"
data-target=".sidebar"
title="">
<i class="fa fa-bars"></i>
</a>
</li>
<li class="hidden-xs"><a href="login.html"><i class="fa fa-sign-out"></i></a></li>
</ul>
<form id="search-form" class="navbar-form pull-right" role="search">
<input type="search" class="form-control search-query" placeholder="Search...">
</form>
<div class="notifications pull-right">
<div class="alert pull-right">
<a href="#" class="close ml-xs" data-dismiss="alert">×</a>
<i class="fa fa-info-circle mr-xs"></i> Check out Light Blue <a id="notification-link" href="#">settings</a> on the right!
</div>
</div>
</div>
</header> <div class="content container">
<h2 class="page-title">Charts <small>Visual Charts & Graphs</small></h2>
<div class="row">
<div class="col-lg-3 col-sm-6">
<section class="widget large">
<header>
<h4><i class="fa fa-home"></i> Top sources</h4>
</header>
<div class="body">
<div id="sources-chart-pie" class="chart pie-chart">
<svg></svg>
</div>
</div>
<footer id="data-chart-footer" class="pie-chart-footer">
</footer>
</section>
</div>
<div class="col-lg-9 col-sm-6">
<section class="widget large">
<header>
<h4><i class="fa fa-bar-chart-o"></i> Bar Chart <small style="display: inline !important;" class="hidden-xs">Refresh page to see different data</small></h4>
</header>
<div id="sources-chart-bar" class="body chart">
<svg></svg>
</div>
</section>
</div>
</div>
<div class="row">
<div class="col-md-6">
<section class="widget large">
<header>
<h4><i class="fa fa-bullhorn"></i> Stream Stacked Chart</h4>
</header>
<div id="sources-chart-stacked" class="body chart">
<svg></svg>
</div>
</section>
</div>
<div class="col-md-6">
<section class="widget large">
<header>
<h4><i class="fa fa-arrow-circle-o-right"></i> Line Chart</h4>
</header>
<div id="sources-chart-line" class="body chart">
<svg></svg>
</div>
</section>
</div>
</div>
</div>
<div class="loader-wrap hiding hide">
<i class="fa fa-circle-o-notch fa-spin"></i>
</div>
</div>
<!-- common libraries. required for every page-->
<script src="lib/jquery/dist/jquery.min.js"></script>
<script src="lib/jquery-pjax/jquery.pjax.js"></script>
<script src="lib/bootstrap-sass-official/assets/javascripts/bootstrap.js"></script>
<script src="lib/widgster/widgster.js"></script>
<script src="lib/underscore/underscore.js"></script>
<!-- common application js -->
<script src="js/app.js"></script>
<script src="js/settings.js"></script>
<!-- common templates -->
<script type="text/template" id="settings-template">
<div class="setting clearfix">
<div>Background</div>
<div id="background-toggle" class="pull-left btn-group" data-toggle="buttons-radio">
<% dark = background == 'dark'; light = background == 'light';%>
<button type="button" data-value="dark" class="btn btn-sm btn-default <%= dark? 'active' : '' %>">Dark</button>
<button type="button" data-value="light" class="btn btn-sm btn-default <%= light? 'active' : '' %>">Light</button>
</div>
</div>
<div class="setting clearfix">
<div>Sidebar on the</div>
<div id="sidebar-toggle" class="pull-left btn-group" data-toggle="buttons-radio">
<% onRight = sidebar == 'right'%>
<button type="button" data-value="left" class="btn btn-sm btn-default <%= onRight? '' : 'active' %>">Left</button>
<button type="button" data-value="right" class="btn btn-sm btn-default <%= onRight? 'active' : '' %>">Right</button>
</div>
</div>
<div class="setting clearfix">
<div>Sidebar</div>
<div id="display-sidebar-toggle" class="pull-left btn-group" data-toggle="buttons-radio">
<% display = displaySidebar%>
<button type="button" data-value="true" class="btn btn-sm btn-default <%= display? 'active' : '' %>">Show</button>
<button type="button" data-value="false" class="btn btn-sm btn-default <%= display? '' : 'active' %>">Hide</button>
</div>
</div>
<div class="setting clearfix">
<div>White Version</div>
<div>
<a href="../white/index.html" class="btn btn-sm btn-default"> Switch <i class="fa fa-angle-right"></i></a>
</div>
</div>
</script>
<script type="text/template" id="sidebar-settings-template">
<% auto = sidebarState == 'auto'%>
<% if (auto) {%>
<button type="button"
data-value="icons"
class="btn-icons btn btn-transparent btn-sm">Icons</button>
<button type="button"
data-value="auto"
class="btn-auto btn btn-transparent btn-sm">Auto</button>
<%} else {%>
<button type="button"
data-value="auto"
class="btn btn-transparent btn-sm">Auto</button>
<% } %>
</script>
<!-- page specific scripts -->
<!-- page libs -->
<script src="js/nvd3-custom-lb1.0/lib/d3.v2.min.js"></script>
<script src="js/nvd3-custom-lb1.0/nv.d3.custom.js"></script>
<!-- nvd3 models -->
<script src="js/nvd3-custom-lb1.0/src/models/scatter.js"></script>
<script src="js/nvd3-custom-lb1.0/src/models/axis.js"></script>
<script src="js/nvd3-custom-lb1.0/src/models/legend.js"></script>
<script src="js/nvd3-custom-lb1.0/src/models/stackedArea.js"></script>
<script src="js/nvd3-custom-lb1.0/src/models/stackedAreaChart.js"></script>
<script src="js/nvd3-custom-lb1.0/src/models/line.js"></script>
<script src="js/nvd3-custom-lb1.0/src/models/pie.js"></script>
<script src="js/nvd3-custom-lb1.0/src/models/pieChartTotal.js"></script>
<script src="js/nvd3-custom-lb1.0/stream_layers.js"></script>
<script src="js/nvd3-custom-lb1.0/src/models/lineChart.js"></script>
<script src="js/nvd3-custom-lb1.0/src/models/multiBar.js"></script>
<script src="js/nvd3-custom-lb1.0/src/models/multiBarChart.js"></script>
<!-- page application js -->
<script src="js/stat-charts.js"></script>
</body>
</html>