inline.html 44 KB

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