forked from sharno/Bootstrap_Metro_Dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
chart.html
605 lines (532 loc) · 23.1 KB
/
chart.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
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
<!DOCTYPE html>
<html lang="en">
<head>
<!-- start: Meta -->
<meta charset="utf-8">
<title>Bootstrap Metro Dashboard by Dennis Ji for ARM demo</title>
<meta name="description" content="Bootstrap Metro Dashboard">
<meta name="author" content="Dennis Ji">
<meta name="keyword" content="Metro, Metro UI, Dashboard, Bootstrap, Admin, Template, Theme, Responsive, Fluid, Retina">
<!-- end: Meta -->
<!-- start: Mobile Specific -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- end: Mobile Specific -->
<!-- start: CSS -->
<link id="bootstrap-style" href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/bootstrap-responsive.min.css" rel="stylesheet">
<link id="base-style" href="css/style.css" rel="stylesheet">
<link id="base-style-responsive" href="css/style-responsive.css" rel="stylesheet">
<link href='http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800&subset=latin,cyrillic-ext,latin-ext' rel='stylesheet' type='text/css'>
<!-- end: CSS -->
<!-- The HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<link id="ie-style" href="css/ie.css" rel="stylesheet">
<![endif]-->
<!--[if IE 9]>
<link id="ie9style" href="css/ie9.css" rel="stylesheet">
<![endif]-->
<!-- start: Favicon -->
<link rel="shortcut icon" href="img/favicon.ico">
<!-- end: Favicon -->
</head>
<body>
<!-- start: Header -->
<div class="navbar">
<div class="navbar-inner">
<div class="container-fluid">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".top-nav.nav-collapse,.sidebar-nav.nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="index.html"><span>Metro</span></a>
<!-- start: Header Menu -->
<div class="nav-no-collapse header-nav">
<ul class="nav pull-right">
<li class="dropdown hidden-phone">
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
<i class="halflings-icon white warning-sign"></i>
</a>
<ul class="dropdown-menu notifications">
<li class="dropdown-menu-title">
<span>You have 11 notifications</span>
<a href="#refresh"><i class="icon-repeat"></i></a>
</li>
<li>
<a href="#">
<span class="icon blue"><i class="icon-user"></i></span>
<span class="message">New user registration</span>
<span class="time">1 min</span>
</a>
</li>
<li>
<a href="#">
<span class="icon green"><i class="icon-comment-alt"></i></span>
<span class="message">New comment</span>
<span class="time">7 min</span>
</a>
</li>
<li>
<a href="#">
<span class="icon green"><i class="icon-comment-alt"></i></span>
<span class="message">New comment</span>
<span class="time">8 min</span>
</a>
</li>
<li>
<a href="#">
<span class="icon green"><i class="icon-comment-alt"></i></span>
<span class="message">New comment</span>
<span class="time">16 min</span>
</a>
</li>
<li>
<a href="#">
<span class="icon blue"><i class="icon-user"></i></span>
<span class="message">New user registration</span>
<span class="time">36 min</span>
</a>
</li>
<li>
<a href="#">
<span class="icon yellow"><i class="icon-shopping-cart"></i></span>
<span class="message">2 items sold</span>
<span class="time">1 hour</span>
</a>
</li>
<li class="warning">
<a href="#">
<span class="icon red"><i class="icon-user"></i></span>
<span class="message">User deleted account</span>
<span class="time">2 hour</span>
</a>
</li>
<li class="warning">
<a href="#">
<span class="icon red"><i class="icon-shopping-cart"></i></span>
<span class="message">New comment</span>
<span class="time">6 hour</span>
</a>
</li>
<li>
<a href="#">
<span class="icon green"><i class="icon-comment-alt"></i></span>
<span class="message">New comment</span>
<span class="time">yesterday</span>
</a>
</li>
<li>
<a href="#">
<span class="icon blue"><i class="icon-user"></i></span>
<span class="message">New user registration</span>
<span class="time">yesterday</span>
</a>
</li>
<li class="dropdown-menu-sub-footer">
<a>View all notifications</a>
</li>
</ul>
</li>
<!-- start: Notifications Dropdown -->
<li class="dropdown hidden-phone">
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
<i class="halflings-icon white tasks"></i>
</a>
<ul class="dropdown-menu tasks">
<li class="dropdown-menu-title">
<span>You have 17 tasks in progress</span>
<a href="#refresh"><i class="icon-repeat"></i></a>
</li>
<li>
<a href="#">
<span class="header">
<span class="title">iOS Development</span>
<span class="percent"></span>
</span>
<div class="taskProgress progressSlim red">80</div>
</a>
</li>
<li>
<a href="#">
<span class="header">
<span class="title">Android Development</span>
<span class="percent"></span>
</span>
<div class="taskProgress progressSlim green">47</div>
</a>
</li>
<li>
<a href="#">
<span class="header">
<span class="title">ARM Development</span>
<span class="percent"></span>
</span>
<div class="taskProgress progressSlim yellow">32</div>
</a>
</li>
<li>
<a href="#">
<span class="header">
<span class="title">ARM Development</span>
<span class="percent"></span>
</span>
<div class="taskProgress progressSlim greenLight">63</div>
</a>
</li>
<li>
<a href="#">
<span class="header">
<span class="title">ARM Development</span>
<span class="percent"></span>
</span>
<div class="taskProgress progressSlim orange">80</div>
</a>
</li>
<li>
<a class="dropdown-menu-sub-footer">View all tasks</a>
</li>
</ul>
</li>
<!-- end: Notifications Dropdown -->
<!-- start: Message Dropdown -->
<li class="dropdown hidden-phone">
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
<i class="halflings-icon white envelope"></i>
</a>
<ul class="dropdown-menu messages">
<li class="dropdown-menu-title">
<span>You have 9 messages</span>
<a href="#refresh"><i class="icon-repeat"></i></a>
</li>
<li>
<a href="#">
<span class="avatar"><img src="img/avatar.jpg" alt="Avatar"></span>
<span class="header">
<span class="from">
Dennis Ji
</span>
<span class="time">
6 min
</span>
</span>
<span class="message">
Lorem ipsum dolor sit amet consectetur adipiscing elit, et al commore
</span>
</a>
</li>
<li>
<a href="#">
<span class="avatar"><img src="img/avatar.jpg" alt="Avatar"></span>
<span class="header">
<span class="from">
Dennis Ji
</span>
<span class="time">
56 min
</span>
</span>
<span class="message">
Lorem ipsum dolor sit amet consectetur adipiscing elit, et al commore
</span>
</a>
</li>
<li>
<a href="#">
<span class="avatar"><img src="img/avatar.jpg" alt="Avatar"></span>
<span class="header">
<span class="from">
Dennis Ji
</span>
<span class="time">
3 hours
</span>
</span>
<span class="message">
Lorem ipsum dolor sit amet consectetur adipiscing elit, et al commore
</span>
</a>
</li>
<li>
<a href="#">
<span class="avatar"><img src="img/avatar.jpg" alt="Avatar"></span>
<span class="header">
<span class="from">
Dennis Ji
</span>
<span class="time">
yesterday
</span>
</span>
<span class="message">
Lorem ipsum dolor sit amet consectetur adipiscing elit, et al commore
</span>
</a>
</li>
<li>
<a href="#">
<span class="avatar"><img src="img/avatar.jpg" alt="Avatar"></span>
<span class="header">
<span class="from">
Dennis Ji
</span>
<span class="time">
Jul 25, 2012
</span>
</span>
<span class="message">
Lorem ipsum dolor sit amet consectetur adipiscing elit, et al commore
</span>
</a>
</li>
<li>
<a class="dropdown-menu-sub-footer">View all messages</a>
</li>
</ul>
</li>
<!-- end: Message Dropdown -->
<li>
<a class="btn" href="#">
<i class="halflings-icon white wrench"></i>
</a>
</li>
<!-- start: User Dropdown -->
<li class="dropdown">
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
<i class="halflings-icon white user"></i> Dennis Ji
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li class="dropdown-menu-title">
<span>Account Settings</span>
</li>
<li><a href="#"><i class="halflings-icon user"></i> Profile</a></li>
<li><a href="login.html"><i class="halflings-icon off"></i> Logout</a></li>
</ul>
</li>
<!-- end: User Dropdown -->
</ul>
</div>
<!-- end: Header Menu -->
</div>
</div>
</div>
<!-- start: Header -->
<div class="container-fluid-full">
<div class="row-fluid">
<!-- start: Main Menu -->
<div id="sidebar-left" class="span2">
<div class="nav-collapse sidebar-nav">
<ul class="nav nav-tabs nav-stacked main-menu">
<li><a href="index.html"><i class="icon-bar-chart"></i><span class="hidden-tablet"> Dashboard</span></a></li>
<li><a href="messages.html"><i class="icon-envelope"></i><span class="hidden-tablet"> Messages</span></a></li>
<li><a href="tasks.html"><i class="icon-tasks"></i><span class="hidden-tablet"> Tasks</span></a></li>
<li><a href="ui.html"><i class="icon-eye-open"></i><span class="hidden-tablet"> UI Features</span></a></li>
<li><a href="widgets.html"><i class="icon-dashboard"></i><span class="hidden-tablet"> Widgets</span></a></li>
<li>
<a class="dropmenu" href="#"><i class="icon-folder-close-alt"></i><span class="hidden-tablet"> Dropdown</span><span class="label label-important"> 3 </span></a>
<ul>
<li><a class="submenu" href="submenu.html"><i class="icon-file-alt"></i><span class="hidden-tablet"> Sub Menu 1</span></a></li>
<li><a class="submenu" href="submenu2.html"><i class="icon-file-alt"></i><span class="hidden-tablet"> Sub Menu 2</span></a></li>
<li><a class="submenu" href="submenu3.html"><i class="icon-file-alt"></i><span class="hidden-tablet"> Sub Menu 3</span></a></li>
</ul>
</li>
<li><a href="form.html"><i class="icon-edit"></i><span class="hidden-tablet"> Forms</span></a></li>
<li><a href="chart.html"><i class="icon-list-alt"></i><span class="hidden-tablet"> Charts</span></a></li>
<li><a href="typography.html"><i class="icon-font"></i><span class="hidden-tablet"> Typography</span></a></li>
<li><a href="gallery.html"><i class="icon-picture"></i><span class="hidden-tablet"> Gallery</span></a></li>
<li><a href="table.html"><i class="icon-align-justify"></i><span class="hidden-tablet"> Tables</span></a></li>
<li><a href="calendar.html"><i class="icon-calendar"></i><span class="hidden-tablet"> Calendar</span></a></li>
<li><a href="file-manager.html"><i class="icon-folder-open"></i><span class="hidden-tablet"> File Manager</span></a></li>
<li><a href="icon.html"><i class="icon-star"></i><span class="hidden-tablet"> Icons</span></a></li>
<li><a href="login.html"><i class="icon-lock"></i><span class="hidden-tablet"> Login Page</span></a></li>
</ul>
</div>
</div>
<!-- end: Main Menu -->
<noscript>
<div class="alert alert-block span10">
<h4 class="alert-heading">Warning!</h4>
<p>You need to have <a href="http://en.wikipedia.org/wiki/JavaScript" target="_blank">JavaScript</a> enabled to use this site.</p>
</div>
</noscript>
<!-- start: Content -->
<div id="content" class="span10">
<ul class="breadcrumb">
<li>
<i class="icon-home"></i>
<a href="index.html">Home</a>
<i class="icon-angle-right"></i>
</li>
<li><a href="#">Charts</a></li>
</ul>
<div class="row-fluid">
<div class="box">
<div class="box-header">
<h2><i class="halflings-icon list-alt"></i><span class="break"></span>Chart with points</h2>
<div class="box-icon">
<a href="#" class="btn-setting"><i class="halflings-icon wrench"></i></a>
<a href="#" class="btn-minimize"><i class="halflings-icon chevron-up"></i></a>
<a href="#" class="btn-close"><i class="halflings-icon remove"></i></a>
</div>
</div>
<div class="box-content">
<div id="sincos" class="center" style="height:300px;" ></div>
<p id="hoverdata">Mouse position at (<span id="x">0</span>, <span id="y">0</span>). <span id="clickdata"></span></p>
</div>
</div>
<div class="box">
<div class="box-header">
<h2><i class="halflings-icon list-alt"></i><span class="break"></span>Flot</h2>
<div class="box-icon">
<a href="#" class="btn-setting"><i class="halflings-icon wrench"></i></a>
<a href="#" class="btn-minimize"><i class="halflings-icon chevron-up"></i></a>
<a href="#" class="btn-close"><i class="halflings-icon remove"></i></a>
</div>
</div>
<div class="box-content">
<div id="flotchart" class="center" style="height:300px"></div>
</div>
</div>
<div class="box">
<div class="box-header">
<h2><i class="halflings-icon list-alt"></i><span class="break"></span>Stack Example</h2>
<div class="box-icon">
<a href="#" class="btn-setting"><i class="halflings-icon wrench"></i></a>
<a href="#" class="btn-minimize"><i class="halflings-icon chevron-up"></i></a>
<a href="#" class="btn-close"><i class="halflings-icon remove"></i></a>
</div>
</div>
<div class="box-content">
<div id="stackchart" class="center" style="height:300px;"></div>
<p class="stackControls center">
<input class="btn" type="button" value="With stacking">
<input class="btn" type="button" value="Without stacking">
</p>
<p class="graphControls center">
<input class="btn-primary" type="button" value="Bars">
<input class="btn-primary" type="button" value="Lines">
<input class="btn-primary" type="button" value="Lines with steps">
</p>
</div>
</div>
</div><!--/row-->
<div class="row-fluid sortable">
<div class="box span6">
<div class="box-header">
<h2><i class="halflings-icon list-alt"></i><span class="break"></span>Pie</h2>
<div class="box-icon">
<a href="#" class="btn-setting"><i class="halflings-icon wrench"></i></a>
<a href="#" class="btn-minimize"><i class="halflings-icon chevron-up"></i></a>
<a href="#" class="btn-close"><i class="halflings-icon remove"></i></a>
</div>
</div>
<div class="box-content">
<div id="piechart" style="height:300px"></div>
</div>
</div>
<div class="box span6">
<div class="box-header" data-original-title>
<h2><i class="halflings-icon list-alt"></i><span class="break"></span>Donut</h2>
<div class="box-icon">
<a href="#" class="btn-setting"><i class="halflings-icon wrench"></i></a>
<a href="#" class="btn-minimize"><i class="halflings-icon chevron-up"></i></a>
<a href="#" class="btn-close"><i class="halflings-icon remove"></i></a>
</div>
</div>
<div class="box-content">
<div id="donutchart" style="height: 300px;"></div>
</div>
</div>
</div><!--/row-->
<hr>
<div class="row-fluid sortable">
<div class="box span12">
<div class="box-header">
<h2><i class="halflings-icon list-alt"></i><span class="break"></span>Realtime</h2>
<div class="box-icon">
<a href="#" class="btn-setting"><i class="halflings-icon wrench"></i></a>
<a href="#" class="btn-minimize"><i class="halflings-icon chevron-up"></i></a>
<a href="#" class="btn-close"><i class="halflings-icon remove"></i></a>
</div>
</div>
<div class="box-content">
<div id="realtimechart" style="height:190px;"></div>
<p>You can update a chart periodically to get a real-time effect by using a timer to insert the new data in the plot and redraw it.</p>
<p>Time between updates: <input id="updateInterval" type="text" value="" style="text-align: right; width:5em"> milliseconds</p>
</div>
</div>
</div><!--/row-->
<div class="row-fluid">
<div class="widget span6" onTablet="span6" onDesktop="span6">
<h2><span class="glyphicons facebook"><i></i></span>Facebook Fans</h2>
<hr>
<div class="content">
<div id="facebookChart" style="height:300px" ></div>
</div>
</div><!--/span-->
<div class="widget span6" onTablet="span6" onDesktop="span6">
<h2><span class="glyphicons twitter"><i></i></span>Twitter Followers</h2>
<hr>
<div class="content">
<div id="twitterChart" style="height:300px" ></div>
</div>
</div><!--/span-->
</div>
</div><!--/.fluid-container-->
<!-- end: Content -->
</div><!--/#content.span10-->
</div><!--/fluid-row-->
<div class="modal hide fade" id="myModal">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h3>Settings</h3>
</div>
<div class="modal-body">
<p>Here settings can be configured...</p>
</div>
<div class="modal-footer">
<a href="#" class="btn" data-dismiss="modal">Close</a>
<a href="#" class="btn btn-primary">Save changes</a>
</div>
</div>
<div class="clearfix"></div>
<footer>
<p>
<span style="text-align:left;float:left">© 2013 <a href="http://jiji262.github.io/Bootstrap_Metro_Dashboard/" alt="Bootstrap_Metro_Dashboard">Bootstrap Metro Dashboard</a></span>
</p>
</footer>
<!-- start: JavaScript-->
<script src="js/jquery-1.9.1.min.js"></script>
<script src="js/jquery-migrate-1.0.0.min.js"></script>
<script src="js/jquery-ui-1.10.0.custom.min.js"></script>
<script src="js/jquery.ui.touch-punch.js"></script>
<script src="js/modernizr.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.cookie.js"></script>
<script src='js/fullcalendar.min.js'></script>
<script src='js/jquery.dataTables.min.js'></script>
<script src="js/excanvas.js"></script>
<script src="js/jquery.flot.js"></script>
<script src="js/jquery.flot.pie.js"></script>
<script src="js/jquery.flot.stack.js"></script>
<script src="js/jquery.flot.resize.min.js"></script>
<script src="js/jquery.chosen.min.js"></script>
<script src="js/jquery.uniform.min.js"></script>
<script src="js/jquery.cleditor.min.js"></script>
<script src="js/jquery.noty.js"></script>
<script src="js/jquery.elfinder.min.js"></script>
<script src="js/jquery.raty.min.js"></script>
<script src="js/jquery.iphone.toggle.js"></script>
<script src="js/jquery.uploadify-3.1.min.js"></script>
<script src="js/jquery.gritter.min.js"></script>
<script src="js/jquery.imagesloaded.js"></script>
<script src="js/jquery.masonry.min.js"></script>
<script src="js/jquery.knob.modified.js"></script>
<script src="js/jquery.sparkline.min.js"></script>
<script src="js/counter.js"></script>
<script src="js/retina.js"></script>
<script src="js/custom.js"></script>
<!-- end: JavaScript-->
</body>
</html>