inline.html 45 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>AdminLTE 2 | Dashboard</title>
  6. <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
  7. <!-- Bootstrap 3.3.2 -->
  8. <link href="../../bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
  9. <!-- Font Awesome Icons -->
  10. <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
  11. <!-- Ionicons -->
  12. <link href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css" rel="stylesheet" type="text/css" />
  13. <!-- Theme style -->
  14. <link href="../../dist/css/AdminLTE.min.css" rel="stylesheet" type="text/css" />
  15. <!-- AdminLTE Skins. Choose a skin from the css/skins
  16. folder instead of downloading all of them to reduce the load. -->
  17. <link href="../../dist/css/skins/_all-skins.min.css" rel="stylesheet" type="text/css" />
  18. <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  19. <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  20. <!--[if lt IE 9]>
  21. <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
  22. <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
  23. <![endif]-->
  24. </head>
  25. <body class="skin-blue sidebar-mini">
  26. <div class="wrapper">
  27. <header class="main-header">
  28. <!-- Logo -->
  29. <a href="index2.html" class="logo">
  30. <!-- mini logo for sidebar mini 50x50 pixels -->
  31. <span class="logo-mini"><b>A</b>LT</span>
  32. <!-- logo for regular state and mobile devices -->
  33. <span class="logo-lg"><b>Admin</b>LTE</span>
  34. </a>
  35. <!-- Header Navbar: style can be found in header.less -->
  36. <nav class="navbar navbar-static-top" role="navigation">
  37. <!-- Sidebar toggle button-->
  38. <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
  39. <span class="sr-only">Toggle navigation</span>
  40. <span class="icon-bar"></span>
  41. <span class="icon-bar"></span>
  42. <span class="icon-bar"></span>
  43. </a>
  44. <div class="navbar-custom-menu">
  45. <ul class="nav navbar-nav">
  46. <!-- Messages: style can be found in dropdown.less-->
  47. <li class="dropdown messages-menu">
  48. <a href="#" class="dropdown-toggle" data-toggle="dropdown">
  49. <i class="fa fa-envelope-o"></i>
  50. <span class="label label-success">4</span>
  51. </a>
  52. <ul class="dropdown-menu">
  53. <li class="header">You have 4 messages</li>
  54. <li>
  55. <!-- inner menu: contains the actual data -->
  56. <ul class="menu">
  57. <li><!-- start message -->
  58. <a href="#">
  59. <div class="pull-left">
  60. <img src="../../dist/img/user2-160x160.jpg" class="img-circle" alt="User Image"/>
  61. </div>
  62. <h4>
  63. Support Team
  64. <small><i class="fa fa-clock-o"></i> 5 mins</small>
  65. </h4>
  66. <p>Why not buy a new awesome theme?</p>
  67. </a>
  68. </li><!-- end message -->
  69. <li>
  70. <a href="#">
  71. <div class="pull-left">
  72. <img src="../../dist/img/user3-128x128.jpg" class="img-circle" alt="user image"/>
  73. </div>
  74. <h4>
  75. AdminLTE Design Team
  76. <small><i class="fa fa-clock-o"></i> 2 hours</small>
  77. </h4>
  78. <p>Why not buy a new awesome theme?</p>
  79. </a>
  80. </li>
  81. <li>
  82. <a href="#">
  83. <div class="pull-left">
  84. <img src="../../dist/img/user4-128x128.jpg" class="img-circle" alt="user image"/>
  85. </div>
  86. <h4>
  87. Developers
  88. <small><i class="fa fa-clock-o"></i> Today</small>
  89. </h4>
  90. <p>Why not buy a new awesome theme?</p>
  91. </a>
  92. </li>
  93. <li>
  94. <a href="#">
  95. <div class="pull-left">
  96. <img src="../../dist/img/user3-128x128.jpg" class="img-circle" alt="user image"/>
  97. </div>
  98. <h4>
  99. Sales Department
  100. <small><i class="fa fa-clock-o"></i> Yesterday</small>
  101. </h4>
  102. <p>Why not buy a new awesome theme?</p>
  103. </a>
  104. </li>
  105. <li>
  106. <a href="#">
  107. <div class="pull-left">
  108. <img src="../../dist/img/user4-128x128.jpg" class="img-circle" alt="user image"/>
  109. </div>
  110. <h4>
  111. Reviewers
  112. <small><i class="fa fa-clock-o"></i> 2 days</small>
  113. </h4>
  114. <p>Why not buy a new awesome theme?</p>
  115. </a>
  116. </li>
  117. </ul>
  118. </li>
  119. <li class="footer"><a href="#">See All Messages</a></li>
  120. </ul>
  121. </li>
  122. <!-- Notifications: style can be found in dropdown.less -->
  123. <li class="dropdown notifications-menu">
  124. <a href="#" class="dropdown-toggle" data-toggle="dropdown">
  125. <i class="fa fa-bell-o"></i>
  126. <span class="label label-warning">10</span>
  127. </a>
  128. <ul class="dropdown-menu">
  129. <li class="header">You have 10 notifications</li>
  130. <li>
  131. <!-- inner menu: contains the actual data -->
  132. <ul class="menu">
  133. <li>
  134. <a href="#">
  135. <i class="fa fa-users text-aqua"></i> 5 new members joined today
  136. </a>
  137. </li>
  138. <li>
  139. <a href="#">
  140. <i class="fa fa-warning text-yellow"></i> Very long description here that may not fit into the page and may cause design problems
  141. </a>
  142. </li>
  143. <li>
  144. <a href="#">
  145. <i class="fa fa-users text-red"></i> 5 new members joined
  146. </a>
  147. </li>
  148. <li>
  149. <a href="#">
  150. <i class="fa fa-shopping-cart text-green"></i> 25 sales made
  151. </a>
  152. </li>
  153. <li>
  154. <a href="#">
  155. <i class="fa fa-user text-red"></i> You changed your username
  156. </a>
  157. </li>
  158. </ul>
  159. </li>
  160. <li class="footer"><a href="#">View all</a></li>
  161. </ul>
  162. </li>
  163. <!-- Tasks: style can be found in dropdown.less -->
  164. <li class="dropdown tasks-menu">
  165. <a href="#" class="dropdown-toggle" data-toggle="dropdown">
  166. <i class="fa fa-flag-o"></i>
  167. <span class="label label-danger">9</span>
  168. </a>
  169. <ul class="dropdown-menu">
  170. <li class="header">You have 9 tasks</li>
  171. <li>
  172. <!-- inner menu: contains the actual data -->
  173. <ul class="menu">
  174. <li><!-- Task item -->
  175. <a href="#">
  176. <h3>
  177. Design some buttons
  178. <small class="pull-right">20%</small>
  179. </h3>
  180. <div class="progress xs">
  181. <div class="progress-bar progress-bar-aqua" style="width: 20%" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100">
  182. <span class="sr-only">20% Complete</span>
  183. </div>
  184. </div>
  185. </a>
  186. </li><!-- end task item -->
  187. <li><!-- Task item -->
  188. <a href="#">
  189. <h3>
  190. Create a nice theme
  191. <small class="pull-right">40%</small>
  192. </h3>
  193. <div class="progress xs">
  194. <div class="progress-bar progress-bar-green" style="width: 40%" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100">
  195. <span class="sr-only">40% Complete</span>
  196. </div>
  197. </div>
  198. </a>
  199. </li><!-- end task item -->
  200. <li><!-- Task item -->
  201. <a href="#">
  202. <h3>
  203. Some task I need to do
  204. <small class="pull-right">60%</small>
  205. </h3>
  206. <div class="progress xs">
  207. <div class="progress-bar progress-bar-red" style="width: 60%" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100">
  208. <span class="sr-only">60% Complete</span>
  209. </div>
  210. </div>
  211. </a>
  212. </li><!-- end task item -->
  213. <li><!-- Task item -->
  214. <a href="#">
  215. <h3>
  216. Make beautiful transitions
  217. <small class="pull-right">80%</small>
  218. </h3>
  219. <div class="progress xs">
  220. <div class="progress-bar progress-bar-yellow" style="width: 80%" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100">
  221. <span class="sr-only">80% Complete</span>
  222. </div>
  223. </div>
  224. </a>
  225. </li><!-- end task item -->
  226. </ul>
  227. </li>
  228. <li class="footer">
  229. <a href="#">View all tasks</a>
  230. </li>
  231. </ul>
  232. </li>
  233. <!-- User Account: style can be found in dropdown.less -->
  234. <li class="dropdown user user-menu">
  235. <a href="#" class="dropdown-toggle" data-toggle="dropdown">
  236. <img src="../../dist/img/user2-160x160.jpg" class="user-image" alt="User Image"/>
  237. <span class="hidden-xs">Alexander Pierce</span>
  238. </a>
  239. <ul class="dropdown-menu">
  240. <!-- User image -->
  241. <li class="user-header">
  242. <img src="../../dist/img/user2-160x160.jpg" class="img-circle" alt="User Image" />
  243. <p>
  244. Alexander Pierce - Web Developer
  245. <small>Member since Nov. 2012</small>
  246. </p>
  247. </li>
  248. <!-- Menu Body -->
  249. <li class="user-body">
  250. <div class="col-xs-4 text-center">
  251. <a href="#">Followers</a>
  252. </div>
  253. <div class="col-xs-4 text-center">
  254. <a href="#">Sales</a>
  255. </div>
  256. <div class="col-xs-4 text-center">
  257. <a href="#">Friends</a>
  258. </div>
  259. </li>
  260. <!-- Menu Footer-->
  261. <li class="user-footer">
  262. <div class="pull-left">
  263. <a href="#" class="btn btn-default btn-flat">Profile</a>
  264. </div>
  265. <div class="pull-right">
  266. <a href="#" class="btn btn-default btn-flat">Sign out</a>
  267. </div>
  268. </li>
  269. </ul>
  270. </li>
  271. </ul>
  272. </div>
  273. </nav>
  274. </header>
  275. <!-- Left side column. contains the logo and sidebar -->
  276. <aside class="main-sidebar">
  277. <!-- sidebar: style can be found in sidebar.less -->
  278. <section class="sidebar">
  279. <!-- Sidebar user panel -->
  280. <div class="user-panel">
  281. <div class="pull-left image">
  282. <img src="../../dist/img/user2-160x160.jpg" class="img-circle" alt="User Image" />
  283. </div>
  284. <div class="pull-left info">
  285. <p>Alexander Pierce</p>
  286. <a href="#"><i class="fa fa-circle text-success"></i> Online</a>
  287. </div>
  288. </div>
  289. <!-- search form -->
  290. <form action="#" method="get" class="sidebar-form">
  291. <div class="input-group">
  292. <input type="text" name="q" class="form-control" placeholder="Search..."/>
  293. <span class="input-group-btn">
  294. <button type='submit' name='search' id='search-btn' class="btn btn-flat"><i class="fa fa-search"></i></button>
  295. </span>
  296. </div>
  297. </form>
  298. <!-- /.search form -->
  299. <!-- sidebar menu: : style can be found in sidebar.less -->
  300. <ul class="sidebar-menu">
  301. <li class="header">MAIN NAVIGATION</li>
  302. <li class="treeview">
  303. <a href="#">
  304. <i class="fa fa-dashboard"></i> <span>Dashboard</span> <i class="fa fa-angle-left pull-right"></i>
  305. </a>
  306. <ul class="treeview-menu">
  307. <li><a href="../../index.html"><i class="fa fa-circle-o"></i> Dashboard v1</a></li>
  308. <li><a href="../../index2.html"><i class="fa fa-circle-o"></i> Dashboard v2</a></li>
  309. </ul>
  310. </li>
  311. <li class="treeview">
  312. <a href="#">
  313. <i class="fa fa-files-o"></i>
  314. <span>Layout Options</span>
  315. <span class="label label-primary pull-right">4</span>
  316. </a>
  317. <ul class="treeview-menu">
  318. <li><a href="../layout/top-nav.html"><i class="fa fa-circle-o"></i> Top Navigation</a></li>
  319. <li><a href="../layout/boxed.html"><i class="fa fa-circle-o"></i> Boxed</a></li>
  320. <li><a href="../layout/fixed.html"><i class="fa fa-circle-o"></i> Fixed</a></li>
  321. <li><a href="../layout/collapsed-sidebar.html"><i class="fa fa-circle-o"></i> Collapsed Sidebar</a></li>
  322. </ul>
  323. </li>
  324. <li>
  325. <a href="../widgets.html">
  326. <i class="fa fa-th"></i> <span>Widgets</span> <small class="label pull-right bg-green">new</small>
  327. </a>
  328. </li>
  329. <li class="treeview active">
  330. <a href="#">
  331. <i class="fa fa-pie-chart"></i>
  332. <span>Charts</span>
  333. <i class="fa fa-angle-left pull-right"></i>
  334. </a>
  335. <ul class="treeview-menu">
  336. <li><a href="morris.html"><i class="fa fa-circle-o"></i> Morris</a></li>
  337. <li><a href="flot.html"><i class="fa fa-circle-o"></i> Flot</a></li>
  338. <li class="active"><a href="inline.html"><i class="fa fa-circle-o"></i> Inline charts</a></li>
  339. </ul>
  340. </li>
  341. <li class="treeview">
  342. <a href="#">
  343. <i class="fa fa-laptop"></i>
  344. <span>UI Elements</span>
  345. <i class="fa fa-angle-left pull-right"></i>
  346. </a>
  347. <ul class="treeview-menu">
  348. <li><a href="../UI/general.html"><i class="fa fa-circle-o"></i> General</a></li>
  349. <li><a href="../UI/icons.html"><i class="fa fa-circle-o"></i> Icons</a></li>
  350. <li><a href="../UI/buttons.html"><i class="fa fa-circle-o"></i> Buttons</a></li>
  351. <li><a href="../UI/sliders.html"><i class="fa fa-circle-o"></i> Sliders</a></li>
  352. <li><a href="../UI/timeline.html"><i class="fa fa-circle-o"></i> Timeline</a></li>
  353. <li><a href="../UI/modals.html"><i class="fa fa-circle-o"></i> Modals</a></li>
  354. </ul>
  355. </li>
  356. <li class="treeview">
  357. <a href="#">
  358. <i class="fa fa-edit"></i> <span>Forms</span>
  359. <i class="fa fa-angle-left pull-right"></i>
  360. </a>
  361. <ul class="treeview-menu">
  362. <li><a href="../forms/general.html"><i class="fa fa-circle-o"></i> General Elements</a></li>
  363. <li><a href="../forms/advanced.html"><i class="fa fa-circle-o"></i> Advanced Elements</a></li>
  364. <li><a href="../forms/editors.html"><i class="fa fa-circle-o"></i> Editors</a></li>
  365. </ul>
  366. </li>
  367. <li class="treeview">
  368. <a href="#">
  369. <i class="fa fa-table"></i> <span>Tables</span>
  370. <i class="fa fa-angle-left pull-right"></i>
  371. </a>
  372. <ul class="treeview-menu">
  373. <li><a href="../tables/simple.html"><i class="fa fa-circle-o"></i> Simple tables</a></li>
  374. <li><a href="../tables/data.html"><i class="fa fa-circle-o"></i> Data tables</a></li>
  375. </ul>
  376. </li>
  377. <li>
  378. <a href="../calendar.html">
  379. <i class="fa fa-calendar"></i> <span>Calendar</span>
  380. <small class="label pull-right bg-red">3</small>
  381. </a>
  382. </li>
  383. <li>
  384. <a href="../mailbox/mailbox.html">
  385. <i class="fa fa-envelope"></i> <span>Mailbox</span>
  386. <small class="label pull-right bg-yellow">12</small>
  387. </a>
  388. </li>
  389. <li class="treeview">
  390. <a href="#">
  391. <i class="fa fa-folder"></i> <span>Examples</span>
  392. <i class="fa fa-angle-left pull-right"></i>
  393. </a>
  394. <ul class="treeview-menu">
  395. <li><a href="../examples/invoice.html"><i class="fa fa-circle-o"></i> Invoice</a></li>
  396. <li><a href="../examples/login.html"><i class="fa fa-circle-o"></i> Login</a></li>
  397. <li><a href="../examples/register.html"><i class="fa fa-circle-o"></i> Register</a></li>
  398. <li><a href="../examples/lockscreen.html"><i class="fa fa-circle-o"></i> Lockscreen</a></li>
  399. <li><a href="../examples/404.html"><i class="fa fa-circle-o"></i> 404 Error</a></li>
  400. <li><a href="../examples/500.html"><i class="fa fa-circle-o"></i> 500 Error</a></li>
  401. <li><a href="../examples/blank.html"><i class="fa fa-circle-o"></i> Blank Page</a></li>
  402. </ul>
  403. </li>
  404. <li class="treeview">
  405. <a href="#">
  406. <i class="fa fa-share"></i> <span>Multilevel</span>
  407. <i class="fa fa-angle-left pull-right"></i>
  408. </a>
  409. <ul class="treeview-menu">
  410. <li><a href="#"><i class="fa fa-circle-o"></i> Level One</a></li>
  411. <li>
  412. <a href="#"><i class="fa fa-circle-o"></i> Level One <i class="fa fa-angle-left pull-right"></i></a>
  413. <ul class="treeview-menu">
  414. <li><a href="#"><i class="fa fa-circle-o"></i> Level Two</a></li>
  415. <li>
  416. <a href="#"><i class="fa fa-circle-o"></i> Level Two <i class="fa fa-angle-left pull-right"></i></a>
  417. <ul class="treeview-menu">
  418. <li><a href="#"><i class="fa fa-circle-o"></i> Level Three</a></li>
  419. <li><a href="#"><i class="fa fa-circle-o"></i> Level Three</a></li>
  420. </ul>
  421. </li>
  422. </ul>
  423. </li>
  424. <li><a href="#"><i class="fa fa-circle-o"></i> Level One</a></li>
  425. </ul>
  426. </li>
  427. <li><a href="../../documentation/index.html"><i class="fa fa-book"></i> <span>Documentation</span></a></li>
  428. <li class="header">LABELS</li>
  429. <li><a href="#"><i class="fa fa-circle-o text-danger"></i> <span>Important</span></a></li>
  430. <li><a href="#"><i class="fa fa-circle-o text-warning"></i> <span>Warning</span></a></li>
  431. <li><a href="#"><i class="fa fa-circle-o text-info"></i> <span>Information</span></a></li>
  432. </ul>
  433. </section>
  434. <!-- /.sidebar -->
  435. </aside>
  436. <!-- Content Wrapper. Contains page content -->
  437. <div class="content-wrapper">
  438. <!-- Content Header (Page header) -->
  439. <section class="content-header">
  440. <h1>
  441. Inline Charts
  442. <small>multiple types of charts</small>
  443. </h1>
  444. <ol class="breadcrumb">
  445. <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
  446. <li class="active">Blank page</li>
  447. </ol>
  448. </section>
  449. <!-- Main content -->
  450. <section class="content">
  451. <!-- row -->
  452. <div class="row">
  453. <div class="col-xs-12">
  454. <!-- jQuery Knob -->
  455. <div class="box box-solid">
  456. <div class="box-header">
  457. <i class="fa fa-bar-chart-o"></i>
  458. <h3 class="box-title">jQuery Knob</h3>
  459. <div class="box-tools pull-right">
  460. <button class="btn btn-default btn-sm" data-widget="collapse"><i class="fa fa-minus"></i></button>
  461. <button class="btn btn-default btn-sm" data-widget="remove"><i class="fa fa-times"></i></button>
  462. </div>
  463. </div><!-- /.box-header -->
  464. <div class="box-body">
  465. <div class="row">
  466. <div class="col-md-3 col-sm-6 col-xs-6 text-center">
  467. <input type="text" class="knob" value="30" data-width="90" data-height="90" data-fgColor="#3c8dbc"/>
  468. <div class="knob-label">New Visitors</div>
  469. </div><!-- ./col -->
  470. <div class="col-md-3 col-sm-6 col-xs-6 text-center">
  471. <input type="text" class="knob" value="70" data-width="90" data-height="90" data-fgColor="#f56954"/>
  472. <div class="knob-label">Bounce Rate</div>
  473. </div><!-- ./col -->
  474. <div class="col-md-3 col-sm-6 col-xs-6 text-center">
  475. <input type="text" class="knob" value="-80" data-min="-150" data-max="150" data-width="90" data-height="90" data-fgColor="#00a65a"/>
  476. <div class="knob-label">Server Load</div>
  477. </div><!-- ./col -->
  478. <div class="col-md-3 col-sm-6 col-xs-6 text-center">
  479. <input type="text" class="knob" value="40" data-width="90" data-height="90" data-fgColor="#00c0ef"/>
  480. <div class="knob-label">Disk Space</div>
  481. </div><!-- ./col -->
  482. </div><!-- /.row -->
  483. <div class="row">
  484. <div class="col-xs-6 text-center">
  485. <input type="text" class="knob" value="90" data-width="90" data-height="90" data-fgColor="#932ab6"/>
  486. <div class="knob-label">Bandwidth</div>
  487. </div><!-- ./col -->
  488. <div class="col-xs-6 text-center">
  489. <input type="text" class="knob" value="50" data-width="90" data-height="90" data-fgColor="#39CCCC"/>
  490. <div class="knob-label">CPU</div>
  491. </div><!-- ./col -->
  492. </div><!-- /.row -->
  493. </div><!-- /.box-body -->
  494. </div><!-- /.box -->
  495. </div><!-- /.col -->
  496. </div><!-- /.row -->
  497. <div class="row">
  498. <div class="col-xs-12">
  499. <div class="box box-solid">
  500. <div class="box-header">
  501. <i class="fa fa-bar-chart-o"></i>
  502. <h3 class="box-title">jQuery Knob Different Sizes</h3>
  503. <div class="box-tools pull-right">
  504. <button class="btn btn-default btn-sm" data-widget="collapse"><i class="fa fa-minus"></i></button>
  505. <button class="btn btn-default btn-sm" data-widget="remove"><i class="fa fa-times"></i></button>
  506. </div>
  507. </div><!-- /.box-header -->
  508. <div class="box-body">
  509. <div class="row">
  510. <div class="col-md-3 col-sm-6 col-xs-6 text-center">
  511. <input type="text" class="knob" value="30" data-width="90" data-height="90" data-fgColor="#3c8dbc" data-readonly="true"/>
  512. <div class="knob-label">data-width="90"</div>
  513. </div><!-- ./col -->
  514. <div class="col-md-3 col-sm-6 col-xs-6 text-center">
  515. <input type="text" class="knob" value="30" data-width="120" data-height="120" data-fgColor="#f56954"/>
  516. <div class="knob-label">data-width="120"</div>
  517. </div><!-- ./col -->
  518. <div class="col-md-3 col-sm-6 col-xs-6 text-center">
  519. <input type="text" class="knob" value="30" data-thickness="0.1" data-width="90" data-height="90" data-fgColor="#00a65a"/>
  520. <div class="knob-label">data-thickness="0.1"</div>
  521. </div><!-- ./col -->
  522. <div class="col-md-3 col-sm-6 col-xs-6 text-center">
  523. <input type="text" class="knob" data-thickness="0.2" data-angleArc="250" data-angleOffset="-125" value="30" data-width="120" data-height="120" data-fgColor="#00c0ef"/>
  524. <div class="knob-label">data-angleArc="250"</div>
  525. </div><!-- ./col -->
  526. </div><!-- /.row -->
  527. </div><!-- /.box-body -->
  528. </div><!-- /.box -->
  529. </div><!-- /.col -->
  530. </div><!-- /.row -->
  531. <div class="row">
  532. <div class="col-xs-12">
  533. <div class="box box-solid">
  534. <div class="box-header">
  535. <i class="fa fa-bar-chart-o"></i>
  536. <h3 class="box-title">jQuery Knob Tron Style</h3>
  537. <div class="box-tools pull-right">
  538. <button class="btn btn-default btn-sm" data-widget="collapse"><i class="fa fa-minus"></i></button>
  539. <button class="btn btn-default btn-sm" data-widget="remove"><i class="fa fa-times"></i></button>
  540. </div>
  541. </div><!-- /.box-header -->
  542. <div class="box-body">
  543. <div class="row">
  544. <div class="col-md-3 col-sm-6 col-xs-6 text-center">
  545. <input type="text" class="knob" value="80" data-skin="tron" data-thickness="0.2" data-width="90" data-height="90" data-fgColor="#3c8dbc" data-readonly="true"/>
  546. <div class="knob-label">data-width="90"</div>
  547. </div><!-- ./col -->
  548. <div class="col-md-3 col-sm-6 col-xs-6 text-center">
  549. <input type="text" class="knob" value="60" data-skin="tron" data-thickness="0.2" data-width="120" data-height="120" data-fgColor="#f56954"/>
  550. <div class="knob-label">data-width="120"</div>
  551. </div><!-- ./col -->
  552. <div class="col-md-3 col-sm-6 col-xs-6 text-center">
  553. <input type="text" class="knob" value="10" data-skin="tron" data-thickness="0.1" data-width="90" data-height="90" data-fgColor="#00a65a"/>
  554. <div class="knob-label">data-thickness="0.1"</div>
  555. </div><!-- ./col -->
  556. <div class="col-md-3 col-sm-6 col-xs-6 text-center">
  557. <input type="text" class="knob" value="100" data-skin="tron" data-thickness="0.2" data-angleArc="250" data-angleOffset="-125" data-width="120" data-height="120" data-fgColor="#00c0ef"/>
  558. <div class="knob-label">data-angleArc="250"</div>
  559. </div><!-- ./col -->
  560. </div><!-- /.row -->
  561. </div><!-- /.box-body -->
  562. </div><!-- /.box -->
  563. </div><!-- /.col -->
  564. </div><!-- /.row -->
  565. <!-- callout -->
  566. <div class='callout callout-info'>
  567. <h4>The following was created using data tags</h4>
  568. <p>The following three inline (sparkline) chart have been initialized to read and interpret data tags</p>
  569. </div>
  570. <!-- /.callout -->
  571. <div class="row">
  572. <div class="col-md-4">
  573. <div class="box box-solid">
  574. <div class="box-header">
  575. <h3 class="box-title text-danger">Sparkline Pie</h3>
  576. <div class="box-tools pull-right">
  577. <button class="btn btn-default btn-sm"><i class="fa fa-refresh"></i></button>
  578. </div>
  579. </div><!-- /.box-header -->
  580. <div class="box-body text-center">
  581. <div class="sparkline" data-type="pie" data-offset="90" data-width="100px" data-height="100px">
  582. 6,4,8
  583. </div>
  584. </div><!-- /.box-body -->
  585. </div><!-- /.box -->
  586. </div><!-- /.col -->
  587. <div class="col-md-4">
  588. <div class="box box-solid">
  589. <div class="box-header">
  590. <h3 class="box-title text-blue">Sparkline line</h3>
  591. <div class="box-tools pull-right">
  592. <button class="btn btn-default btn-sm"><i class="fa fa-refresh"></i></button>
  593. </div>
  594. </div><!-- /.box-header -->
  595. <div class="box-body text-center">
  596. <div class="sparkline" data-type="line" data-spot-Radius="3" data-highlight-Spot-Color="#f39c12" data-highlight-Line-Color="#222" data-min-Spot-Color="#f56954" data-max-Spot-Color="#00a65a" data-spot-Color="#39CCCC" data-offset="90" data-width="100%" data-height="100px" data-line-Width='2' data-line-Color='#39CCCC' data-fill-Color='rgba(57, 204, 204, 0.08)'>
  597. 6,4,7,8,4,3,2,2,5,6,7,4,1,5,7,9,9,8,7,6
  598. </div>
  599. </div><!-- /.box-body -->
  600. </div><!-- /.box -->
  601. </div><!-- /.col -->
  602. <div class="col-md-4">
  603. <div class="box box-solid">
  604. <div class="box-header">
  605. <h3 class="box-title text-warning">Sparkline Bar</h3>
  606. <div class="box-tools pull-right">
  607. <button class="btn btn-default btn-sm"><i class="fa fa-refresh"></i></button>
  608. </div>
  609. </div><!-- /.box-header -->
  610. <div class="box-body text-center">
  611. <div class="sparkline" data-type="bar" data-width="97%" data-height="100px" data-bar-Width="14" data-bar-Spacing="7" data-bar-Color="#f39c12">
  612. 6,4,8, 9, 10, 5, 13, 18, 21, 7, 9
  613. </div>
  614. </div><!-- /.box-body -->
  615. </div><!-- /.box -->
  616. </div><!-- /.col -->
  617. </div><!-- /.row -->
  618. <div class='row'>
  619. <div class='col-xs-12'>
  620. <div class="box box-solid">
  621. <div class="box-header">
  622. <h3 class="box-title">Sparkline examples</h3>
  623. <div class="box-tools pull-right">
  624. <button class="btn btn-default btn-sm" data-widget="collapse"><i class="fa fa-minus"></i></button>
  625. <button class="btn btn-default btn-sm" data-widget="remove"><i class="fa fa-times"></i></button>
  626. </div>
  627. </div><!-- /.box-header -->
  628. <div id="myBody" class="box-body">
  629. <div class='row'>
  630. <div class='col-sm-6'>
  631. <p>
  632. Mouse speed <span id="mousespeed">Loading..</span>
  633. </p>
  634. <p>
  635. Inline <span class="sparkline-1">10,8,9,3,5,8,5</span>
  636. line graphs
  637. <span class="sparkline-1">8,4,0,0,0,0,1,4,4,10,10,10,10,0,0,0,4,6,5,9,10</span>
  638. </p>
  639. <p>
  640. Bar charts <span class="sparkbar">10,8,9,3,5,8,5</span>
  641. negative values: <span class="sparkbar">-3,1,2,0,3,-1</span>
  642. stacked: <span class="sparkbar">0:2,2:4,4:2,4:1</span>
  643. </p>
  644. <p>
  645. Composite inline
  646. <span id="compositeline">8,4,0,0,0,0,1,4,4,10,10,10,10,0,0,0,4,6,5,9,10</span>
  647. </p>
  648. <p>
  649. Inline with normal range
  650. <span id="normalline">8,4,0,0,0,0,1,4,4,10,10,10,10,0,0,0,4,6,5,9,10</span>
  651. </p>
  652. <p>
  653. Composite bar
  654. <span id="compositebar">4,6,7,7,4,3,2,1,4</span>
  655. </p>
  656. <p>
  657. Discrete
  658. <span class="discrete1">4,6,7,7,4,3,2,1,4,4,5,6,7,6,6,2,4,5</span><br />
  659. Discrete with threshold
  660. <span id="discrete2">4,6,7,7,4,3,2,1,4</span>
  661. </p>
  662. <p>
  663. Bullet charts<br />
  664. <span class="sparkbullet">10,12,12,9,7</span><br />
  665. <span class="sparkbullet">14,12,12,9,7</span><br />
  666. <span class="sparkbullet">10,12,14,9,7</span><br />
  667. </p>
  668. </div><!-- /.col -->
  669. <div class='col-sm-6'>
  670. <p>
  671. Customize size and colours
  672. <span id="linecustom">10,8,9,3,5,8,5,7</span>
  673. </p>
  674. <p>
  675. Tristate charts
  676. <span class="sparktristate">1,1,0,1,-1,-1,1,-1,0,0,1,1</span><br />
  677. (think games won, lost or drawn)
  678. </p>
  679. <p>
  680. Tristate chart using a colour map:
  681. <span class="sparktristatecols">1,2,0,2,-1,-2,1,-2,0,0,1,1</span>
  682. </p>
  683. <p>
  684. Box Plot: <span class="sparkboxplot">4,27,34,52,54,59,61,68,78,82,85,87,91,93,100</span><br />
  685. Pre-computed box plot <span class="sparkboxplotraw">Loading..</span>
  686. </p>
  687. <p>
  688. Pie charts
  689. <span class="sparkpie">1,1,2</span>
  690. <span class="sparkpie">1,5</span>
  691. <span class="sparkpie">20,50,80</span>
  692. </p>
  693. </div><!-- /.col -->
  694. </div><!-- /.row -->
  695. </div><!-- /.box-body -->
  696. </div><!-- /.box -->
  697. </div><!-- /.col -->
  698. </div><!-- /.row -->
  699. </section><!-- /.content -->
  700. </div><!-- /.content-wrapper -->
  701. <footer class="main-footer">
  702. <div class="pull-right hidden-xs">
  703. <b>Version</b> 2.0
  704. </div>
  705. <strong>Copyright &copy; 2014-2015 <a href="http://almsaeedstudio.com">Almsaeed Studio</a>.</strong> All rights reserved.
  706. </footer>
  707. </div><!-- ./wrapper -->
  708. <!-- jQuery 2.1.3 -->
  709. <script src="../../plugins/jQuery/jQuery-2.1.3.min.js"></script>
  710. <!-- Bootstrap 3.3.2 JS -->
  711. <script src="../../bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
  712. <!-- SlimScroll 1.3.0 -->
  713. <script src="../../plugins/slimScroll/jquery.slimscroll.min.js" type="text/javascript"></script>
  714. <!-- FastClick -->
  715. <script src='../../plugins/fastclick/fastclick.min.js'></script>
  716. <!-- AdminLTE App -->
  717. <script src="../../dist/js/app.min.js" type="text/javascript"></script>
  718. <!-- AdminLTE for demo purposes -->
  719. <script src="../../dist/js/demo.js" type="text/javascript"></script>
  720. <!-- jQuery Knob -->
  721. <script src="../../plugins/knob/jquery.knob.js" type="text/javascript"></script>
  722. <!-- Sparkline -->
  723. <script src="../../plugins/sparkline/jquery.sparkline.min.js" type="text/javascript"></script>
  724. <!-- page script -->
  725. <script type="text/javascript">
  726. $(function () {
  727. /* jQueryKnob */
  728. $(".knob").knob({
  729. /*change : function (value) {
  730. //console.log("change : " + value);
  731. },
  732. release : function (value) {
  733. console.log("release : " + value);
  734. },
  735. cancel : function () {
  736. console.log("cancel : " + this.value);
  737. },*/
  738. draw: function () {
  739. // "tron" case
  740. if (this.$.data('skin') == 'tron') {
  741. var a = this.angle(this.cv) // Angle
  742. , sa = this.startAngle // Previous start angle
  743. , sat = this.startAngle // Start angle
  744. , ea // Previous end angle
  745. , eat = sat + a // End angle
  746. , r = true;
  747. this.g.lineWidth = this.lineWidth;
  748. this.o.cursor
  749. && (sat = eat - 0.3)
  750. && (eat = eat + 0.3);
  751. if (this.o.displayPrevious) {
  752. ea = this.startAngle + this.angle(this.value);
  753. this.o.cursor
  754. && (sa = ea - 0.3)
  755. && (ea = ea + 0.3);
  756. this.g.beginPath();
  757. this.g.strokeStyle = this.previousColor;
  758. this.g.arc(this.xy, this.xy, this.radius - this.lineWidth, sa, ea, false);
  759. this.g.stroke();
  760. }
  761. this.g.beginPath();
  762. this.g.strokeStyle = r ? this.o.fgColor : this.fgColor;
  763. this.g.arc(this.xy, this.xy, this.radius - this.lineWidth, sat, eat, false);
  764. this.g.stroke();
  765. this.g.lineWidth = 2;
  766. this.g.beginPath();
  767. this.g.strokeStyle = this.o.fgColor;
  768. this.g.arc(this.xy, this.xy, this.radius - this.lineWidth + 1 + this.lineWidth * 2 / 3, 0, 2 * Math.PI, false);
  769. this.g.stroke();
  770. return false;
  771. }
  772. }
  773. });
  774. /* END JQUERY KNOB */
  775. //INITIALIZE SPARKLINE CHARTS
  776. $(".sparkline").each(function () {
  777. var $this = $(this);
  778. $this.sparkline('html', $this.data());
  779. });
  780. /* SPARKLINE DOCUMENTAION EXAMPLES http://omnipotent.net/jquery.sparkline/#s-about */
  781. drawDocSparklines();
  782. drawMouseSpeedDemo();
  783. });
  784. function drawDocSparklines() {
  785. // Bar + line composite charts
  786. $('#compositebar').sparkline('html', {type: 'bar', barColor: '#aaf'});
  787. $('#compositebar').sparkline([4, 1, 5, 7, 9, 9, 8, 7, 6, 6, 4, 7, 8, 4, 3, 2, 2, 5, 6, 7],
  788. {composite: true, fillColor: false, lineColor: 'red'});
  789. // Line charts taking their values from the tag
  790. $('.sparkline-1').sparkline();
  791. // Larger line charts for the docs
  792. $('.largeline').sparkline('html',
  793. {type: 'line', height: '2.5em', width: '4em'});
  794. // Customized line chart
  795. $('#linecustom').sparkline('html',
  796. {height: '1.5em', width: '8em', lineColor: '#f00', fillColor: '#ffa',
  797. minSpotColor: false, maxSpotColor: false, spotColor: '#77f', spotRadius: 3});
  798. // Bar charts using inline values
  799. $('.sparkbar').sparkline('html', {type: 'bar'});
  800. $('.barformat').sparkline([1, 3, 5, 3, 8], {
  801. type: 'bar',
  802. tooltipFormat: '{{value:levels}} - {{value}}',
  803. tooltipValueLookups: {
  804. levels: $.range_map({':2': 'Low', '3:6': 'Medium', '7:': 'High'})
  805. }
  806. });
  807. // Tri-state charts using inline values
  808. $('.sparktristate').sparkline('html', {type: 'tristate'});
  809. $('.sparktristatecols').sparkline('html',
  810. {type: 'tristate', colorMap: {'-2': '#fa7', '2': '#44f'}});
  811. // Composite line charts, the second using values supplied via javascript
  812. $('#compositeline').sparkline('html', {fillColor: false, changeRangeMin: 0, chartRangeMax: 10});
  813. $('#compositeline').sparkline([4, 1, 5, 7, 9, 9, 8, 7, 6, 6, 4, 7, 8, 4, 3, 2, 2, 5, 6, 7],
  814. {composite: true, fillColor: false, lineColor: 'red', changeRangeMin: 0, chartRangeMax: 10});
  815. // Line charts with normal range marker
  816. $('#normalline').sparkline('html',
  817. {fillColor: false, normalRangeMin: -1, normalRangeMax: 8});
  818. $('#normalExample').sparkline('html',
  819. {fillColor: false, normalRangeMin: 80, normalRangeMax: 95, normalRangeColor: '#4f4'});
  820. // Discrete charts
  821. $('.discrete1').sparkline('html',
  822. {type: 'discrete', lineColor: 'blue', xwidth: 18});
  823. $('#discrete2').sparkline('html',
  824. {type: 'discrete', lineColor: 'blue', thresholdColor: 'red', thresholdValue: 4});
  825. // Bullet charts
  826. $('.sparkbullet').sparkline('html', {type: 'bullet'});
  827. // Pie charts
  828. $('.sparkpie').sparkline('html', {type: 'pie', height: '1.0em'});
  829. // Box plots
  830. $('.sparkboxplot').sparkline('html', {type: 'box'});
  831. $('.sparkboxplotraw').sparkline([1, 3, 5, 8, 10, 15, 18],
  832. {type: 'box', raw: true, showOutliers: true, target: 6});
  833. // Box plot with specific field order
  834. $('.boxfieldorder').sparkline('html', {
  835. type: 'box',
  836. tooltipFormatFieldlist: ['med', 'lq', 'uq'],
  837. tooltipFormatFieldlistKey: 'field'
  838. });
  839. // click event demo sparkline
  840. $('.clickdemo').sparkline();
  841. $('.clickdemo').bind('sparklineClick', function (ev) {
  842. var sparkline = ev.sparklines[0],
  843. region = sparkline.getCurrentRegionFields();
  844. value = region.y;
  845. alert("Clicked on x=" + region.x + " y=" + region.y);
  846. });
  847. // mouseover event demo sparkline
  848. $('.mouseoverdemo').sparkline();
  849. $('.mouseoverdemo').bind('sparklineRegionChange', function (ev) {
  850. var sparkline = ev.sparklines[0],
  851. region = sparkline.getCurrentRegionFields();
  852. value = region.y;
  853. $('.mouseoverregion').text("x=" + region.x + " y=" + region.y);
  854. }).bind('mouseleave', function () {
  855. $('.mouseoverregion').text('');
  856. });
  857. }
  858. /**
  859. ** Draw the little mouse speed animated graph
  860. ** This just attaches a handler to the mousemove event to see
  861. ** (roughly) how far the mouse has moved
  862. ** and then updates the display a couple of times a second via
  863. ** setTimeout()
  864. **/
  865. function drawMouseSpeedDemo() {
  866. var mrefreshinterval = 500; // update display every 500ms
  867. var lastmousex = -1;
  868. var lastmousey = -1;
  869. var lastmousetime;
  870. var mousetravel = 0;
  871. var mpoints = [];
  872. var mpoints_max = 30;
  873. $('html').mousemove(function (e) {
  874. var mousex = e.pageX;
  875. var mousey = e.pageY;
  876. if (lastmousex > -1) {
  877. mousetravel += Math.max(Math.abs(mousex - lastmousex), Math.abs(mousey - lastmousey));
  878. }
  879. lastmousex = mousex;
  880. lastmousey = mousey;
  881. });
  882. var mdraw = function () {
  883. var md = new Date();
  884. var timenow = md.getTime();
  885. if (lastmousetime && lastmousetime != timenow) {
  886. var pps = Math.round(mousetravel / (timenow - lastmousetime) * 1000);
  887. mpoints.push(pps);
  888. if (mpoints.length > mpoints_max)
  889. mpoints.splice(0, 1);
  890. mousetravel = 0;
  891. $('#mousespeed').sparkline(mpoints, {width: mpoints.length * 2, tooltipSuffix: ' pixels per second'});
  892. }
  893. lastmousetime = timenow;
  894. setTimeout(mdraw, mrefreshinterval);
  895. };
  896. // We could use setInterval instead, but I prefer to do it this way
  897. setTimeout(mdraw, mrefreshinterval);
  898. }
  899. </script>
  900. </body>
  901. </html>