]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/static/AdminLTE-2.3.7/pages/charts/chartjs.html
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / pybind / mgr / dashboard / static / AdminLTE-2.3.7 / pages / charts / chartjs.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <meta http-equiv="X-UA-Compatible" content="IE=edge">
6 <title>AdminLTE 2 | ChartJS</title>
7 <!-- Tell the browser to be responsive to screen width -->
8 <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
9 <!-- Bootstrap 3.3.6 -->
10 <link rel="stylesheet" href="../../bootstrap/css/bootstrap.min.css">
11 <!-- Font Awesome -->
12 <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css">
13 <!-- Ionicons -->
14 <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css">
15 <!-- Theme style -->
16 <link rel="stylesheet" href="../../dist/css/AdminLTE.min.css">
17 <!-- AdminLTE Skins. Choose a skin from the css/skins
18 folder instead of downloading all of them to reduce the load. -->
19 <link rel="stylesheet" href="../../dist/css/skins/_all-skins.min.css">
20
21 <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
22 <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
23 <!--[if lt IE 9]>
24 <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
25 <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
26 <![endif]-->
27 </head>
28 <body class="hold-transition skin-blue sidebar-mini">
29 <div class="wrapper">
30
31 <header class="main-header">
32 <!-- Logo -->
33 <a href="../../index2.html" class="logo">
34 <!-- mini logo for sidebar mini 50x50 pixels -->
35 <span class="logo-mini"><b>A</b>LT</span>
36 <!-- logo for regular state and mobile devices -->
37 <span class="logo-lg"><b>Admin</b>LTE</span>
38 </a>
39 <!-- Header Navbar: style can be found in header.less -->
40 <nav class="navbar navbar-static-top">
41 <!-- Sidebar toggle button-->
42 <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
43 <span class="sr-only">Toggle navigation</span>
44 <span class="icon-bar"></span>
45 <span class="icon-bar"></span>
46 <span class="icon-bar"></span>
47 </a>
48
49 <div class="navbar-custom-menu">
50 <ul class="nav navbar-nav">
51 <!-- Messages: style can be found in dropdown.less-->
52 <li class="dropdown messages-menu">
53 <a href="#" class="dropdown-toggle" data-toggle="dropdown">
54 <i class="fa fa-envelope-o"></i>
55 <span class="label label-success">4</span>
56 </a>
57 <ul class="dropdown-menu">
58 <li class="header">You have 4 messages</li>
59 <li>
60 <!-- inner menu: contains the actual data -->
61 <ul class="menu">
62 <li><!-- start message -->
63 <a href="#">
64 <div class="pull-left">
65 <img src="../../dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">
66 </div>
67 <h4>
68 Support Team
69 <small><i class="fa fa-clock-o"></i> 5 mins</small>
70 </h4>
71 <p>Why not buy a new awesome theme?</p>
72 </a>
73 </li>
74 <!-- end message -->
75 </ul>
76 </li>
77 <li class="footer"><a href="#">See All Messages</a></li>
78 </ul>
79 </li>
80 <!-- Notifications: style can be found in dropdown.less -->
81 <li class="dropdown notifications-menu">
82 <a href="#" class="dropdown-toggle" data-toggle="dropdown">
83 <i class="fa fa-bell-o"></i>
84 <span class="label label-warning">10</span>
85 </a>
86 <ul class="dropdown-menu">
87 <li class="header">You have 10 notifications</li>
88 <li>
89 <!-- inner menu: contains the actual data -->
90 <ul class="menu">
91 <li>
92 <a href="#">
93 <i class="fa fa-users text-aqua"></i> 5 new members joined today
94 </a>
95 </li>
96 </ul>
97 </li>
98 <li class="footer"><a href="#">View all</a></li>
99 </ul>
100 </li>
101 <!-- Tasks: style can be found in dropdown.less -->
102 <li class="dropdown tasks-menu">
103 <a href="#" class="dropdown-toggle" data-toggle="dropdown">
104 <i class="fa fa-flag-o"></i>
105 <span class="label label-danger">9</span>
106 </a>
107 <ul class="dropdown-menu">
108 <li class="header">You have 9 tasks</li>
109 <li>
110 <!-- inner menu: contains the actual data -->
111 <ul class="menu">
112 <li><!-- Task item -->
113 <a href="#">
114 <h3>
115 Design some buttons
116 <small class="pull-right">20%</small>
117 </h3>
118 <div class="progress xs">
119 <div class="progress-bar progress-bar-aqua" style="width: 20%" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100">
120 <span class="sr-only">20% Complete</span>
121 </div>
122 </div>
123 </a>
124 </li>
125 <!-- end task item -->
126 </ul>
127 </li>
128 <li class="footer">
129 <a href="#">View all tasks</a>
130 </li>
131 </ul>
132 </li>
133 <!-- User Account: style can be found in dropdown.less -->
134 <li class="dropdown user user-menu">
135 <a href="#" class="dropdown-toggle" data-toggle="dropdown">
136 <img src="../../dist/img/user2-160x160.jpg" class="user-image" alt="User Image">
137 <span class="hidden-xs">Alexander Pierce</span>
138 </a>
139 <ul class="dropdown-menu">
140 <!-- User image -->
141 <li class="user-header">
142 <img src="../../dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">
143
144 <p>
145 Alexander Pierce - Web Developer
146 <small>Member since Nov. 2012</small>
147 </p>
148 </li>
149 <!-- Menu Body -->
150 <li class="user-body">
151 <div class="row">
152 <div class="col-xs-4 text-center">
153 <a href="#">Followers</a>
154 </div>
155 <div class="col-xs-4 text-center">
156 <a href="#">Sales</a>
157 </div>
158 <div class="col-xs-4 text-center">
159 <a href="#">Friends</a>
160 </div>
161 </div>
162 <!-- /.row -->
163 </li>
164 <!-- Menu Footer-->
165 <li class="user-footer">
166 <div class="pull-left">
167 <a href="#" class="btn btn-default btn-flat">Profile</a>
168 </div>
169 <div class="pull-right">
170 <a href="#" class="btn btn-default btn-flat">Sign out</a>
171 </div>
172 </li>
173 </ul>
174 </li>
175 <!-- Control Sidebar Toggle Button -->
176 <li>
177 <a href="#" data-toggle="control-sidebar"><i class="fa fa-gears"></i></a>
178 </li>
179 </ul>
180 </div>
181 </nav>
182 </header>
183 <!-- Left side column. contains the logo and sidebar -->
184 <aside class="main-sidebar">
185 <!-- sidebar: style can be found in sidebar.less -->
186 <section class="sidebar">
187 <!-- Sidebar user panel -->
188 <div class="user-panel">
189 <div class="pull-left image">
190 <img src="../../dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">
191 </div>
192 <div class="pull-left info">
193 <p>Alexander Pierce</p>
194 <a href="#"><i class="fa fa-circle text-success"></i> Online</a>
195 </div>
196 </div>
197 <!-- search form -->
198 <form action="#" method="get" class="sidebar-form">
199 <div class="input-group">
200 <input type="text" name="q" class="form-control" placeholder="Search...">
201 <span class="input-group-btn">
202 <button type="submit" name="search" id="search-btn" class="btn btn-flat"><i class="fa fa-search"></i>
203 </button>
204 </span>
205 </div>
206 </form>
207 <!-- /.search form -->
208 <!-- sidebar menu: : style can be found in sidebar.less -->
209 <ul class="sidebar-menu">
210 <li class="header">MAIN NAVIGATION</li>
211 <li class="treeview">
212 <a href="#">
213 <i class="fa fa-dashboard"></i> <span>Dashboard</span>
214 <span class="pull-right-container">
215 <i class="fa fa-angle-left pull-right"></i>
216 </span>
217 </a>
218 <ul class="treeview-menu">
219 <li><a href="../../index.html"><i class="fa fa-circle-o"></i> Dashboard v1</a></li>
220 <li><a href="../../index2.html"><i class="fa fa-circle-o"></i> Dashboard v2</a></li>
221 </ul>
222 </li>
223 <li class="treeview">
224 <a href="#">
225 <i class="fa fa-files-o"></i>
226 <span>Layout Options</span>
227 <span class="pull-right-container">
228 <span class="label label-primary pull-right">4</span>
229 </span>
230 </a>
231 <ul class="treeview-menu">
232 <li><a href="../layout/top-nav.html"><i class="fa fa-circle-o"></i> Top Navigation</a></li>
233 <li><a href="../layout/boxed.html"><i class="fa fa-circle-o"></i> Boxed</a></li>
234 <li><a href="../layout/fixed.html"><i class="fa fa-circle-o"></i> Fixed</a></li>
235 <li><a href="../layout/collapsed-sidebar.html"><i class="fa fa-circle-o"></i> Collapsed Sidebar</a></li>
236 </ul>
237 </li>
238 <li>
239 <a href="../widgets.html">
240 <i class="fa fa-th"></i> <span>Widgets</span>
241 <span class="pull-right-container">
242 <small class="label pull-right bg-green">new</small>
243 </span>
244 </a>
245 </li>
246 <li class="treeview active">
247 <a href="#">
248 <i class="fa fa-pie-chart"></i>
249 <span>Charts</span>
250 <span class="pull-right-container">
251 <i class="fa fa-angle-left pull-right"></i>
252 </span>
253 </a>
254 <ul class="treeview-menu">
255 <li class="active"><a href="chartjs.html"><i class="fa fa-circle-o"></i> ChartJS</a></li>
256 <li><a href="morris.html"><i class="fa fa-circle-o"></i> Morris</a></li>
257 <li><a href="flot.html"><i class="fa fa-circle-o"></i> Flot</a></li>
258 <li><a href="inline.html"><i class="fa fa-circle-o"></i> Inline charts</a></li>
259 </ul>
260 </li>
261 <li class="treeview">
262 <a href="#">
263 <i class="fa fa-laptop"></i>
264 <span>UI Elements</span>
265 <span class="pull-right-container">
266 <i class="fa fa-angle-left pull-right"></i>
267 </span>
268 </a>
269 <ul class="treeview-menu">
270 <li><a href="../UI/general.html"><i class="fa fa-circle-o"></i> General</a></li>
271 <li><a href="../UI/icons.html"><i class="fa fa-circle-o"></i> Icons</a></li>
272 <li><a href="../UI/buttons.html"><i class="fa fa-circle-o"></i> Buttons</a></li>
273 <li><a href="../UI/sliders.html"><i class="fa fa-circle-o"></i> Sliders</a></li>
274 <li><a href="../UI/timeline.html"><i class="fa fa-circle-o"></i> Timeline</a></li>
275 <li><a href="../UI/modals.html"><i class="fa fa-circle-o"></i> Modals</a></li>
276 </ul>
277 </li>
278 <li class="treeview">
279 <a href="#">
280 <i class="fa fa-edit"></i> <span>Forms</span>
281 <span class="pull-right-container">
282 <i class="fa fa-angle-left pull-right"></i>
283 </span>
284 </a>
285 <ul class="treeview-menu">
286 <li><a href="../forms/general.html"><i class="fa fa-circle-o"></i> General Elements</a></li>
287 <li><a href="../forms/advanced.html"><i class="fa fa-circle-o"></i> Advanced Elements</a></li>
288 <li><a href="../forms/editors.html"><i class="fa fa-circle-o"></i> Editors</a></li>
289 </ul>
290 </li>
291 <li class="treeview">
292 <a href="#">
293 <i class="fa fa-table"></i> <span>Tables</span>
294 <span class="pull-right-container">
295 <i class="fa fa-angle-left pull-right"></i>
296 </span>
297 </a>
298 <ul class="treeview-menu">
299 <li><a href="../tables/simple.html"><i class="fa fa-circle-o"></i> Simple tables</a></li>
300 <li><a href="../tables/data.html"><i class="fa fa-circle-o"></i> Data tables</a></li>
301 </ul>
302 </li>
303 <li>
304 <a href="../calendar.html">
305 <i class="fa fa-calendar"></i> <span>Calendar</span>
306 <span class="pull-right-container">
307 <small class="label pull-right bg-red">3</small>
308 <small class="label pull-right bg-blue">17</small>
309 </span>
310 </a>
311 </li>
312 <li>
313 <a href="../mailbox/mailbox.html">
314 <i class="fa fa-envelope"></i> <span>Mailbox</span>
315 <span class="pull-right-container">
316 <small class="label pull-right bg-yellow">12</small>
317 <small class="label pull-right bg-green">16</small>
318 <small class="label pull-right bg-red">5</small>
319 </span>
320 </a>
321 </li>
322 <li class="treeview">
323 <a href="#">
324 <i class="fa fa-folder"></i> <span>Examples</span>
325 <span class="pull-right-container">
326 <i class="fa fa-angle-left pull-right"></i>
327 </span>
328 </a>
329 <ul class="treeview-menu">
330 <li><a href="../examples/invoice.html"><i class="fa fa-circle-o"></i> Invoice</a></li>
331 <li><a href="../examples/profile.html"><i class="fa fa-circle-o"></i> Profile</a></li>
332 <li><a href="../examples/login.html"><i class="fa fa-circle-o"></i> Login</a></li>
333 <li><a href="../examples/register.html"><i class="fa fa-circle-o"></i> Register</a></li>
334 <li><a href="../examples/lockscreen.html"><i class="fa fa-circle-o"></i> Lockscreen</a></li>
335 <li><a href="../examples/404.html"><i class="fa fa-circle-o"></i> 404 Error</a></li>
336 <li><a href="../examples/500.html"><i class="fa fa-circle-o"></i> 500 Error</a></li>
337 <li><a href="../examples/blank.html"><i class="fa fa-circle-o"></i> Blank Page</a></li>
338 <li><a href="../examples/pace.html"><i class="fa fa-circle-o"></i> Pace Page</a></li>
339 </ul>
340 </li>
341 <li class="treeview">
342 <a href="#">
343 <i class="fa fa-share"></i> <span>Multilevel</span>
344 <span class="pull-right-container">
345 <i class="fa fa-angle-left pull-right"></i>
346 </span>
347 </a>
348 <ul class="treeview-menu">
349 <li><a href="#"><i class="fa fa-circle-o"></i> Level One</a></li>
350 <li>
351 <a href="#"><i class="fa fa-circle-o"></i> Level One
352 <span class="pull-right-container">
353 <i class="fa fa-angle-left pull-right"></i>
354 </span>
355 </a>
356 <ul class="treeview-menu">
357 <li><a href="#"><i class="fa fa-circle-o"></i> Level Two</a></li>
358 <li>
359 <a href="#"><i class="fa fa-circle-o"></i> Level Two
360 <span class="pull-right-container">
361 <i class="fa fa-angle-left pull-right"></i>
362 </span>
363 </a>
364 <ul class="treeview-menu">
365 <li><a href="#"><i class="fa fa-circle-o"></i> Level Three</a></li>
366 <li><a href="#"><i class="fa fa-circle-o"></i> Level Three</a></li>
367 </ul>
368 </li>
369 </ul>
370 </li>
371 <li><a href="#"><i class="fa fa-circle-o"></i> Level One</a></li>
372 </ul>
373 </li>
374 <li><a href="../../documentation/index.html"><i class="fa fa-book"></i> <span>Documentation</span></a></li>
375 <li class="header">LABELS</li>
376 <li><a href="#"><i class="fa fa-circle-o text-red"></i> <span>Important</span></a></li>
377 <li><a href="#"><i class="fa fa-circle-o text-yellow"></i> <span>Warning</span></a></li>
378 <li><a href="#"><i class="fa fa-circle-o text-aqua"></i> <span>Information</span></a></li>
379 </ul>
380 </section>
381 <!-- /.sidebar -->
382 </aside>
383
384 <!-- Content Wrapper. Contains page content -->
385 <div class="content-wrapper">
386 <!-- Content Header (Page header) -->
387 <section class="content-header">
388 <h1>
389 ChartJS
390 <small>Preview sample</small>
391 </h1>
392 <ol class="breadcrumb">
393 <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
394 <li><a href="#">Charts</a></li>
395 <li class="active">ChartJS</li>
396 </ol>
397 </section>
398
399 <!-- Main content -->
400 <section class="content">
401 <div class="row">
402 <div class="col-md-6">
403 <!-- AREA CHART -->
404 <div class="box box-primary">
405 <div class="box-header with-border">
406 <h3 class="box-title">Area Chart</h3>
407
408 <div class="box-tools pull-right">
409 <button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
410 </button>
411 <button type="button" class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
412 </div>
413 </div>
414 <div class="box-body">
415 <div class="chart">
416 <canvas id="areaChart" style="height:250px"></canvas>
417 </div>
418 </div>
419 <!-- /.box-body -->
420 </div>
421 <!-- /.box -->
422
423 <!-- DONUT CHART -->
424 <div class="box box-danger">
425 <div class="box-header with-border">
426 <h3 class="box-title">Donut Chart</h3>
427
428 <div class="box-tools pull-right">
429 <button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
430 </button>
431 <button type="button" class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
432 </div>
433 </div>
434 <div class="box-body">
435 <canvas id="pieChart" style="height:250px"></canvas>
436 </div>
437 <!-- /.box-body -->
438 </div>
439 <!-- /.box -->
440
441 </div>
442 <!-- /.col (LEFT) -->
443 <div class="col-md-6">
444 <!-- LINE CHART -->
445 <div class="box box-info">
446 <div class="box-header with-border">
447 <h3 class="box-title">Line Chart</h3>
448
449 <div class="box-tools pull-right">
450 <button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
451 </button>
452 <button type="button" class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
453 </div>
454 </div>
455 <div class="box-body">
456 <div class="chart">
457 <canvas id="lineChart" style="height:250px"></canvas>
458 </div>
459 </div>
460 <!-- /.box-body -->
461 </div>
462 <!-- /.box -->
463
464 <!-- BAR CHART -->
465 <div class="box box-success">
466 <div class="box-header with-border">
467 <h3 class="box-title">Bar Chart</h3>
468
469 <div class="box-tools pull-right">
470 <button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
471 </button>
472 <button type="button" class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
473 </div>
474 </div>
475 <div class="box-body">
476 <div class="chart">
477 <canvas id="barChart" style="height:230px"></canvas>
478 </div>
479 </div>
480 <!-- /.box-body -->
481 </div>
482 <!-- /.box -->
483
484 </div>
485 <!-- /.col (RIGHT) -->
486 </div>
487 <!-- /.row -->
488
489 </section>
490 <!-- /.content -->
491 </div>
492 <!-- /.content-wrapper -->
493 <footer class="main-footer">
494 <div class="pull-right hidden-xs">
495 <b>Version</b> 2.3.7
496 </div>
497 <strong>Copyright &copy; 2014-2016 <a href="http://almsaeedstudio.com">Almsaeed Studio</a>.</strong> All rights
498 reserved.
499 </footer>
500
501 <!-- Control Sidebar -->
502 <aside class="control-sidebar control-sidebar-dark">
503 <!-- Create the tabs -->
504 <ul class="nav nav-tabs nav-justified control-sidebar-tabs">
505 <li><a href="#control-sidebar-home-tab" data-toggle="tab"><i class="fa fa-home"></i></a></li>
506 <li><a href="#control-sidebar-settings-tab" data-toggle="tab"><i class="fa fa-gears"></i></a></li>
507 </ul>
508 <!-- Tab panes -->
509 <div class="tab-content">
510 <!-- Home tab content -->
511 <div class="tab-pane" id="control-sidebar-home-tab">
512 <h3 class="control-sidebar-heading">Recent Activity</h3>
513 <ul class="control-sidebar-menu">
514 <li>
515 <a href="javascript:void(0)">
516 <i class="menu-icon fa fa-birthday-cake bg-red"></i>
517
518 <div class="menu-info">
519 <h4 class="control-sidebar-subheading">Langdon's Birthday</h4>
520
521 <p>Will be 23 on April 24th</p>
522 </div>
523 </a>
524 </li>
525 <li>
526 <a href="javascript:void(0)">
527 <i class="menu-icon fa fa-user bg-yellow"></i>
528
529 <div class="menu-info">
530 <h4 class="control-sidebar-subheading">Frodo Updated His Profile</h4>
531
532 <p>New phone +1(800)555-1234</p>
533 </div>
534 </a>
535 </li>
536 <li>
537 <a href="javascript:void(0)">
538 <i class="menu-icon fa fa-envelope-o bg-light-blue"></i>
539
540 <div class="menu-info">
541 <h4 class="control-sidebar-subheading">Nora Joined Mailing List</h4>
542
543 <p>nora@example.com</p>
544 </div>
545 </a>
546 </li>
547 <li>
548 <a href="javascript:void(0)">
549 <i class="menu-icon fa fa-file-code-o bg-green"></i>
550
551 <div class="menu-info">
552 <h4 class="control-sidebar-subheading">Cron Job 254 Executed</h4>
553
554 <p>Execution time 5 seconds</p>
555 </div>
556 </a>
557 </li>
558 </ul>
559 <!-- /.control-sidebar-menu -->
560
561 <h3 class="control-sidebar-heading">Tasks Progress</h3>
562 <ul class="control-sidebar-menu">
563 <li>
564 <a href="javascript:void(0)">
565 <h4 class="control-sidebar-subheading">
566 Custom Template Design
567 <span class="label label-danger pull-right">70%</span>
568 </h4>
569
570 <div class="progress progress-xxs">
571 <div class="progress-bar progress-bar-danger" style="width: 70%"></div>
572 </div>
573 </a>
574 </li>
575 <li>
576 <a href="javascript:void(0)">
577 <h4 class="control-sidebar-subheading">
578 Update Resume
579 <span class="label label-success pull-right">95%</span>
580 </h4>
581
582 <div class="progress progress-xxs">
583 <div class="progress-bar progress-bar-success" style="width: 95%"></div>
584 </div>
585 </a>
586 </li>
587 <li>
588 <a href="javascript:void(0)">
589 <h4 class="control-sidebar-subheading">
590 Laravel Integration
591 <span class="label label-warning pull-right">50%</span>
592 </h4>
593
594 <div class="progress progress-xxs">
595 <div class="progress-bar progress-bar-warning" style="width: 50%"></div>
596 </div>
597 </a>
598 </li>
599 <li>
600 <a href="javascript:void(0)">
601 <h4 class="control-sidebar-subheading">
602 Back End Framework
603 <span class="label label-primary pull-right">68%</span>
604 </h4>
605
606 <div class="progress progress-xxs">
607 <div class="progress-bar progress-bar-primary" style="width: 68%"></div>
608 </div>
609 </a>
610 </li>
611 </ul>
612 <!-- /.control-sidebar-menu -->
613
614 </div>
615 <!-- /.tab-pane -->
616 <!-- Stats tab content -->
617 <div class="tab-pane" id="control-sidebar-stats-tab">Stats Tab Content</div>
618 <!-- /.tab-pane -->
619 <!-- Settings tab content -->
620 <div class="tab-pane" id="control-sidebar-settings-tab">
621 <form method="post">
622 <h3 class="control-sidebar-heading">General Settings</h3>
623
624 <div class="form-group">
625 <label class="control-sidebar-subheading">
626 Report panel usage
627 <input type="checkbox" class="pull-right" checked>
628 </label>
629
630 <p>
631 Some information about this general settings option
632 </p>
633 </div>
634 <!-- /.form-group -->
635
636 <div class="form-group">
637 <label class="control-sidebar-subheading">
638 Allow mail redirect
639 <input type="checkbox" class="pull-right" checked>
640 </label>
641
642 <p>
643 Other sets of options are available
644 </p>
645 </div>
646 <!-- /.form-group -->
647
648 <div class="form-group">
649 <label class="control-sidebar-subheading">
650 Expose author name in posts
651 <input type="checkbox" class="pull-right" checked>
652 </label>
653
654 <p>
655 Allow the user to show his name in blog posts
656 </p>
657 </div>
658 <!-- /.form-group -->
659
660 <h3 class="control-sidebar-heading">Chat Settings</h3>
661
662 <div class="form-group">
663 <label class="control-sidebar-subheading">
664 Show me as online
665 <input type="checkbox" class="pull-right" checked>
666 </label>
667 </div>
668 <!-- /.form-group -->
669
670 <div class="form-group">
671 <label class="control-sidebar-subheading">
672 Turn off notifications
673 <input type="checkbox" class="pull-right">
674 </label>
675 </div>
676 <!-- /.form-group -->
677
678 <div class="form-group">
679 <label class="control-sidebar-subheading">
680 Delete chat history
681 <a href="javascript:void(0)" class="text-red pull-right"><i class="fa fa-trash-o"></i></a>
682 </label>
683 </div>
684 <!-- /.form-group -->
685 </form>
686 </div>
687 <!-- /.tab-pane -->
688 </div>
689 </aside>
690 <!-- /.control-sidebar -->
691 <!-- Add the sidebar's background. This div must be placed
692 immediately after the control sidebar -->
693 <div class="control-sidebar-bg"></div>
694 </div>
695 <!-- ./wrapper -->
696
697 <!-- jQuery 2.2.3 -->
698 <script src="../../plugins/jQuery/jquery-2.2.3.min.js"></script>
699 <!-- Bootstrap 3.3.6 -->
700 <script src="../../bootstrap/js/bootstrap.min.js"></script>
701 <!-- ChartJS 1.0.1 -->
702 <script src="../../plugins/chartjs/Chart.min.js"></script>
703 <!-- FastClick -->
704 <script src="../../plugins/fastclick/fastclick.js"></script>
705 <!-- AdminLTE App -->
706 <script src="../../dist/js/app.min.js"></script>
707 <!-- AdminLTE for demo purposes -->
708 <script src="../../dist/js/demo.js"></script>
709 <!-- page script -->
710 <script>
711 $(function () {
712 /* ChartJS
713 * -------
714 * Here we will create a few charts using ChartJS
715 */
716
717 //--------------
718 //- AREA CHART -
719 //--------------
720
721 // Get context with jQuery - using jQuery's .get() method.
722 var areaChartCanvas = $("#areaChart").get(0).getContext("2d");
723 // This will get the first returned node in the jQuery collection.
724 var areaChart = new Chart(areaChartCanvas);
725
726 var areaChartData = {
727 labels: ["January", "February", "March", "April", "May", "June", "July"],
728 datasets: [
729 {
730 label: "Electronics",
731 fillColor: "rgba(210, 214, 222, 1)",
732 strokeColor: "rgba(210, 214, 222, 1)",
733 pointColor: "rgba(210, 214, 222, 1)",
734 pointStrokeColor: "#c1c7d1",
735 pointHighlightFill: "#fff",
736 pointHighlightStroke: "rgba(220,220,220,1)",
737 data: [65, 59, 80, 81, 56, 55, 40]
738 },
739 {
740 label: "Digital Goods",
741 fillColor: "rgba(60,141,188,0.9)",
742 strokeColor: "rgba(60,141,188,0.8)",
743 pointColor: "#3b8bba",
744 pointStrokeColor: "rgba(60,141,188,1)",
745 pointHighlightFill: "#fff",
746 pointHighlightStroke: "rgba(60,141,188,1)",
747 data: [28, 48, 40, 19, 86, 27, 90]
748 }
749 ]
750 };
751
752 var areaChartOptions = {
753 //Boolean - If we should show the scale at all
754 showScale: true,
755 //Boolean - Whether grid lines are shown across the chart
756 scaleShowGridLines: false,
757 //String - Colour of the grid lines
758 scaleGridLineColor: "rgba(0,0,0,.05)",
759 //Number - Width of the grid lines
760 scaleGridLineWidth: 1,
761 //Boolean - Whether to show horizontal lines (except X axis)
762 scaleShowHorizontalLines: true,
763 //Boolean - Whether to show vertical lines (except Y axis)
764 scaleShowVerticalLines: true,
765 //Boolean - Whether the line is curved between points
766 bezierCurve: true,
767 //Number - Tension of the bezier curve between points
768 bezierCurveTension: 0.3,
769 //Boolean - Whether to show a dot for each point
770 pointDot: false,
771 //Number - Radius of each point dot in pixels
772 pointDotRadius: 4,
773 //Number - Pixel width of point dot stroke
774 pointDotStrokeWidth: 1,
775 //Number - amount extra to add to the radius to cater for hit detection outside the drawn point
776 pointHitDetectionRadius: 20,
777 //Boolean - Whether to show a stroke for datasets
778 datasetStroke: true,
779 //Number - Pixel width of dataset stroke
780 datasetStrokeWidth: 2,
781 //Boolean - Whether to fill the dataset with a color
782 datasetFill: true,
783 //String - A legend template
784 legendTemplate: "<ul class=\"<%=name.toLowerCase()%>-legend\"><% for (var i=0; i<datasets.length; i++){%><li><span style=\"background-color:<%=datasets[i].lineColor%>\"></span><%if(datasets[i].label){%><%=datasets[i].label%><%}%></li><%}%></ul>",
785 //Boolean - whether to maintain the starting aspect ratio or not when responsive, if set to false, will take up entire container
786 maintainAspectRatio: true,
787 //Boolean - whether to make the chart responsive to window resizing
788 responsive: true
789 };
790
791 //Create the line chart
792 areaChart.Line(areaChartData, areaChartOptions);
793
794 //-------------
795 //- LINE CHART -
796 //--------------
797 var lineChartCanvas = $("#lineChart").get(0).getContext("2d");
798 var lineChart = new Chart(lineChartCanvas);
799 var lineChartOptions = areaChartOptions;
800 lineChartOptions.datasetFill = false;
801 lineChart.Line(areaChartData, lineChartOptions);
802
803 //-------------
804 //- PIE CHART -
805 //-------------
806 // Get context with jQuery - using jQuery's .get() method.
807 var pieChartCanvas = $("#pieChart").get(0).getContext("2d");
808 var pieChart = new Chart(pieChartCanvas);
809 var PieData = [
810 {
811 value: 700,
812 color: "#f56954",
813 highlight: "#f56954",
814 label: "Chrome"
815 },
816 {
817 value: 500,
818 color: "#00a65a",
819 highlight: "#00a65a",
820 label: "IE"
821 },
822 {
823 value: 400,
824 color: "#f39c12",
825 highlight: "#f39c12",
826 label: "FireFox"
827 },
828 {
829 value: 600,
830 color: "#00c0ef",
831 highlight: "#00c0ef",
832 label: "Safari"
833 },
834 {
835 value: 300,
836 color: "#3c8dbc",
837 highlight: "#3c8dbc",
838 label: "Opera"
839 },
840 {
841 value: 100,
842 color: "#d2d6de",
843 highlight: "#d2d6de",
844 label: "Navigator"
845 }
846 ];
847 var pieOptions = {
848 //Boolean - Whether we should show a stroke on each segment
849 segmentShowStroke: true,
850 //String - The colour of each segment stroke
851 segmentStrokeColor: "#fff",
852 //Number - The width of each segment stroke
853 segmentStrokeWidth: 2,
854 //Number - The percentage of the chart that we cut out of the middle
855 percentageInnerCutout: 50, // This is 0 for Pie charts
856 //Number - Amount of animation steps
857 animationSteps: 100,
858 //String - Animation easing effect
859 animationEasing: "easeOutBounce",
860 //Boolean - Whether we animate the rotation of the Doughnut
861 animateRotate: true,
862 //Boolean - Whether we animate scaling the Doughnut from the centre
863 animateScale: false,
864 //Boolean - whether to make the chart responsive to window resizing
865 responsive: true,
866 // Boolean - whether to maintain the starting aspect ratio or not when responsive, if set to false, will take up entire container
867 maintainAspectRatio: true,
868 //String - A legend template
869 legendTemplate: "<ul class=\"<%=name.toLowerCase()%>-legend\"><% for (var i=0; i<segments.length; i++){%><li><span style=\"background-color:<%=segments[i].fillColor%>\"></span><%if(segments[i].label){%><%=segments[i].label%><%}%></li><%}%></ul>"
870 };
871 //Create pie or douhnut chart
872 // You can switch between pie and douhnut using the method below.
873 pieChart.Doughnut(PieData, pieOptions);
874
875 //-------------
876 //- BAR CHART -
877 //-------------
878 var barChartCanvas = $("#barChart").get(0).getContext("2d");
879 var barChart = new Chart(barChartCanvas);
880 var barChartData = areaChartData;
881 barChartData.datasets[1].fillColor = "#00a65a";
882 barChartData.datasets[1].strokeColor = "#00a65a";
883 barChartData.datasets[1].pointColor = "#00a65a";
884 var barChartOptions = {
885 //Boolean - Whether the scale should start at zero, or an order of magnitude down from the lowest value
886 scaleBeginAtZero: true,
887 //Boolean - Whether grid lines are shown across the chart
888 scaleShowGridLines: true,
889 //String - Colour of the grid lines
890 scaleGridLineColor: "rgba(0,0,0,.05)",
891 //Number - Width of the grid lines
892 scaleGridLineWidth: 1,
893 //Boolean - Whether to show horizontal lines (except X axis)
894 scaleShowHorizontalLines: true,
895 //Boolean - Whether to show vertical lines (except Y axis)
896 scaleShowVerticalLines: true,
897 //Boolean - If there is a stroke on each bar
898 barShowStroke: true,
899 //Number - Pixel width of the bar stroke
900 barStrokeWidth: 2,
901 //Number - Spacing between each of the X value sets
902 barValueSpacing: 5,
903 //Number - Spacing between data sets within X values
904 barDatasetSpacing: 1,
905 //String - A legend template
906 legendTemplate: "<ul class=\"<%=name.toLowerCase()%>-legend\"><% for (var i=0; i<datasets.length; i++){%><li><span style=\"background-color:<%=datasets[i].fillColor%>\"></span><%if(datasets[i].label){%><%=datasets[i].label%><%}%></li><%}%></ul>",
907 //Boolean - whether to make the chart responsive
908 responsive: true,
909 maintainAspectRatio: true
910 };
911
912 barChartOptions.datasetFill = false;
913 barChart.Bar(barChartData, barChartOptions);
914 });
915 </script>
916 </body>
917 </html>