chartjs.html 34 KB

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