inline.html 44 KB

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