form_advanced.html 114 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  5. <!-- Meta, title, CSS, favicons, etc. -->
  6. <meta charset="utf-8">
  7. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  8. <meta name="viewport" content="width=device-width, initial-scale=1">
  9. <title>Gentallela Alela! | </title>
  10. <!-- Bootstrap core CSS -->
  11. <link href="css/bootstrap.min.css" rel="stylesheet">
  12. <link href="fonts/css/font-awesome.min.css" rel="stylesheet">
  13. <link href="css/animate.min.css" rel="stylesheet">
  14. <!-- Custom styling plus plugins -->
  15. <link href="css/custom.css" rel="stylesheet">
  16. <link href="css/icheck/flat/green.css" rel="stylesheet">
  17. <!-- ion_range -->
  18. <link rel="stylesheet" href="css/normalize.css" />
  19. <link rel="stylesheet" href="css/ion.rangeSlider.css" />
  20. <link rel="stylesheet" href="css/ion.rangeSlider.skinFlat.css" />
  21. <!-- colorpicker -->
  22. <link href="css/colorpicker/bootstrap-colorpicker.min.css" rel="stylesheet">
  23. <script src="js/jquery.min.js"></script>
  24. <!--[if lt IE 9]>
  25. <script src="../assets/js/ie8-responsive-file-warning.js"></script>
  26. <![endif]-->
  27. <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
  28. <!--[if lt IE 9]>
  29. <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
  30. <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  31. <![endif]-->
  32. </head>
  33. <body class="nav-md">
  34. <div class="container body">
  35. <div class="main_container">
  36. <div class="col-md-3 left_col">
  37. <div class="left_col scroll-view">
  38. <div class="navbar nav_title" style="border: 0;">
  39. <a href="index.html" class="site_title"><i class="fa fa-paw"></i> <span>Gentellela Alela!</span></a>
  40. </div>
  41. <div class="clearfix"></div>
  42. <!-- menu prile quick info -->
  43. <div class="profile">
  44. <div class="profile_pic">
  45. <img src="images/img.jpg" alt="..." class="img-circle profile_img">
  46. </div>
  47. <div class="profile_info">
  48. <span>Welcome,</span>
  49. <h2>John Doe</h2>
  50. </div>
  51. </div>
  52. <!-- /menu prile quick info -->
  53. <br />
  54. <!-- sidebar menu -->
  55. <div id="sidebar-menu" class="main_menu_side hidden-print main_menu">
  56. <div class="menu_section">
  57. <h3>General</h3>
  58. <ul class="nav side-menu">
  59. <li><a><i class="fa fa-home"></i> Home <span class="fa fa-chevron-down"></span></a>
  60. <ul class="nav child_menu" style="display: none">
  61. <li><a href="index.html">Dashboard</a>
  62. </li>
  63. <li><a href="index2.html">Dashboard2</a>
  64. </li>
  65. <li><a href="index3.html">Dashboard3</a>
  66. </li>
  67. </ul>
  68. </li>
  69. <li><a><i class="fa fa-edit"></i> Forms <span class="fa fa-chevron-down"></span></a>
  70. <ul class="nav child_menu" style="display: none">
  71. <li><a href="form.html">General Form</a>
  72. </li>
  73. <li><a href="form_advanced.html">Advanced Components</a>
  74. </li>
  75. <li><a href="form_validation.html">Form Validation</a>
  76. </li>
  77. <li><a href="form_wizards.html">Form Wizard</a>
  78. </li>
  79. <li><a href="form_upload.html">Form Upload</a>
  80. </li>
  81. <li><a href="form_buttons.html">Form Buttons</a>
  82. </li>
  83. </ul>
  84. </li>
  85. <li><a><i class="fa fa-desktop"></i> UI Elements <span class="fa fa-chevron-down"></span></a>
  86. <ul class="nav child_menu" style="display: none">
  87. <li><a href="general_elements.html">General Elements</a>
  88. </li>
  89. <li><a href="media_gallery.html">Media Gallery</a>
  90. </li>
  91. <li><a href="typography.html">Typography</a>
  92. </li>
  93. <li><a href="icons.html">Icons</a>
  94. </li>
  95. <li><a href="glyphicons.html">Glyphicons</a>
  96. </li>
  97. <li><a href="widgets.html">Widgets</a>
  98. </li>
  99. <li><a href="invoice.html">Invoice</a>
  100. </li>
  101. <li><a href="inbox.html">Inbox</a>
  102. </li>
  103. <li><a href="calendar.html">Calendar</a>
  104. </li>
  105. </ul>
  106. </li>
  107. <li><a><i class="fa fa-table"></i> Tables <span class="fa fa-chevron-down"></span></a>
  108. <ul class="nav child_menu" style="display: none">
  109. <li><a href="tables.html">Tables</a>
  110. </li>
  111. <li><a href="tables_dynamic.html">Table Dynamic</a>
  112. </li>
  113. </ul>
  114. </li>
  115. <li><a><i class="fa fa-bar-chart-o"></i> Data Presentation <span class="fa fa-chevron-down"></span></a>
  116. <ul class="nav child_menu" style="display: none">
  117. <li><a href="chartjs.html">Chart JS</a>
  118. </li>
  119. <li><a href="chartjs2.html">Chart JS2</a>
  120. </li>
  121. <li><a href="morisjs.html">Moris JS</a>
  122. </li>
  123. <li><a href="echarts.html">ECharts </a>
  124. </li>
  125. <li><a href="other_charts.html">Other Charts </a>
  126. </li>
  127. </ul>
  128. </li>
  129. </ul>
  130. </div>
  131. <div class="menu_section">
  132. <h3>Live On</h3>
  133. <ul class="nav side-menu">
  134. <li><a><i class="fa fa-bug"></i> Additional Pages <span class="fa fa-chevron-down"></span></a>
  135. <ul class="nav child_menu" style="display: none">
  136. <li><a href="e_commerce.html">E-commerce</a>
  137. </li>
  138. <li><a href="projects.html">Projects</a>
  139. </li>
  140. <li><a href="project_detail.html">Project Detail</a>
  141. </li>
  142. <li><a href="contacts.html">Contacts</a>
  143. </li>
  144. <li><a href="profile.html">Profile</a>
  145. </li>
  146. </ul>
  147. </li>
  148. <li><a><i class="fa fa-windows"></i> Extras <span class="fa fa-chevron-down"></span></a>
  149. <ul class="nav child_menu" style="display: none">
  150. <li><a href="page_404.html">404 Error</a>
  151. </li>
  152. <li><a href="page_500.html">500 Error</a>
  153. </li>
  154. <li><a href="plain_page.html">Plain Page</a>
  155. </li>
  156. <li><a href="login.html">Login Page</a>
  157. </li>
  158. <li><a href="pricing_tables.html">Pricing Tables</a>
  159. </li>
  160. </ul>
  161. </li>
  162. <li><a><i class="fa fa-laptop"></i> Landing Page <span class="label label-success pull-right">Coming Soon</span></a>
  163. </li>
  164. </ul>
  165. </div>
  166. </div>
  167. <!-- /sidebar menu -->
  168. <!-- /menu footer buttons -->
  169. <div class="sidebar-footer hidden-small">
  170. <a data-toggle="tooltip" data-placement="top" title="Settings">
  171. <span class="glyphicon glyphicon-cog" aria-hidden="true"></span>
  172. </a>
  173. <a data-toggle="tooltip" data-placement="top" title="FullScreen">
  174. <span class="glyphicon glyphicon-fullscreen" aria-hidden="true"></span>
  175. </a>
  176. <a data-toggle="tooltip" data-placement="top" title="Lock">
  177. <span class="glyphicon glyphicon-eye-close" aria-hidden="true"></span>
  178. </a>
  179. <a data-toggle="tooltip" data-placement="top" title="Logout">
  180. <span class="glyphicon glyphicon-off" aria-hidden="true"></span>
  181. </a>
  182. </div>
  183. <!-- /menu footer buttons -->
  184. </div>
  185. </div>
  186. <!-- top navigation -->
  187. <div class="top_nav">
  188. <div class="nav_menu">
  189. <nav class="" role="navigation">
  190. <div class="nav toggle">
  191. <a id="menu_toggle"><i class="fa fa-bars"></i></a>
  192. </div>
  193. <ul class="nav navbar-nav navbar-right">
  194. <li class="">
  195. <a href="javascript:;" class="user-profile dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
  196. <img src="images/img.jpg" alt="">John Doe
  197. <span class=" fa fa-angle-down"></span>
  198. </a>
  199. <ul class="dropdown-menu dropdown-usermenu animated fadeInDown pull-right">
  200. <li><a href="javascript:;"> Profile</a>
  201. </li>
  202. <li>
  203. <a href="javascript:;">
  204. <span class="badge bg-red pull-right">50%</span>
  205. <span>Settings</span>
  206. </a>
  207. </li>
  208. <li>
  209. <a href="javascript:;">Help</a>
  210. </li>
  211. <li><a href="login.html"><i class="fa fa-sign-out pull-right"></i> Log Out</a>
  212. </li>
  213. </ul>
  214. </li>
  215. <li role="presentation" class="dropdown">
  216. <a href="javascript:;" class="dropdown-toggle info-number" data-toggle="dropdown" aria-expanded="false">
  217. <i class="fa fa-envelope-o"></i>
  218. <span class="badge bg-green">6</span>
  219. </a>
  220. <ul id="menu1" class="dropdown-menu list-unstyled msg_list animated fadeInDown" role="menu">
  221. <li>
  222. <a>
  223. <span class="image">
  224. <img src="images/img.jpg" alt="Profile Image" />
  225. </span>
  226. <span>
  227. <span>John Smith</span>
  228. <span class="time">3 mins ago</span>
  229. </span>
  230. <span class="message">
  231. Film festivals used to be do-or-die moments for movie makers. They were where...
  232. </span>
  233. </a>
  234. </li>
  235. <li>
  236. <a>
  237. <span class="image">
  238. <img src="images/img.jpg" alt="Profile Image" />
  239. </span>
  240. <span>
  241. <span>John Smith</span>
  242. <span class="time">3 mins ago</span>
  243. </span>
  244. <span class="message">
  245. Film festivals used to be do-or-die moments for movie makers. They were where...
  246. </span>
  247. </a>
  248. </li>
  249. <li>
  250. <a>
  251. <span class="image">
  252. <img src="images/img.jpg" alt="Profile Image" />
  253. </span>
  254. <span>
  255. <span>John Smith</span>
  256. <span class="time">3 mins ago</span>
  257. </span>
  258. <span class="message">
  259. Film festivals used to be do-or-die moments for movie makers. They were where...
  260. </span>
  261. </a>
  262. </li>
  263. <li>
  264. <a>
  265. <span class="image">
  266. <img src="images/img.jpg" alt="Profile Image" />
  267. </span>
  268. <span>
  269. <span>John Smith</span>
  270. <span class="time">3 mins ago</span>
  271. </span>
  272. <span class="message">
  273. Film festivals used to be do-or-die moments for movie makers. They were where...
  274. </span>
  275. </a>
  276. </li>
  277. <li>
  278. <div class="text-center">
  279. <a>
  280. <strong>See All Alerts</strong>
  281. <i class="fa fa-angle-right"></i>
  282. </a>
  283. </div>
  284. </li>
  285. </ul>
  286. </li>
  287. </ul>
  288. </nav>
  289. </div>
  290. </div>
  291. <!-- /top navigation -->
  292. <!-- page content -->
  293. <div class="right_col" role="main">
  294. <div class="">
  295. <div class="page-title">
  296. <div class="title_left">
  297. <h3>
  298. Form advanced
  299. </h3>
  300. </div>
  301. <div class="title_right">
  302. <div class="col-md-5 col-sm-5 col-xs-12 form-group pull-right top_search">
  303. <div class="input-group">
  304. <input type="text" class="form-control" placeholder="Search for...">
  305. <span class="input-group-btn">
  306. <button class="btn btn-default" type="button">Go!</button>
  307. </span>
  308. </div>
  309. </div>
  310. </div>
  311. </div>
  312. <div class="clearfix"></div>
  313. <div class="row">
  314. <!-- form input mask -->
  315. <div class="col-md-6 col-sm-12 col-xs-12">
  316. <div class="x_panel">
  317. <div class="x_title">
  318. <h2>Input Mask</h2>
  319. <ul class="nav navbar-right panel_toolbox">
  320. <li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
  321. </li>
  322. <li class="dropdown">
  323. <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"><i class="fa fa-wrench"></i></a>
  324. <ul class="dropdown-menu" role="menu">
  325. <li><a href="#">Settings 1</a>
  326. </li>
  327. <li><a href="#">Settings 2</a>
  328. </li>
  329. </ul>
  330. </li>
  331. <li><a class="close-link"><i class="fa fa-close"></i></a>
  332. </li>
  333. </ul>
  334. <div class="clearfix"></div>
  335. </div>
  336. <div class="x_content">
  337. <br />
  338. <form class="form-horizontal form-label-left">
  339. <div class="form-group">
  340. <label class="control-label col-md-3 col-sm-3 col-xs-3">Date Mask</label>
  341. <div class="col-md-9 col-sm-9 col-xs-9">
  342. <input type="text" class="form-control" data-inputmask="'mask': '99/99/9999'">
  343. <span class="fa fa-user form-control-feedback right" aria-hidden="true"></span>
  344. </div>
  345. </div>
  346. <div class="form-group">
  347. <label class="control-label col-md-3 col-sm-3 col-xs-3">Phone mask</label>
  348. <div class="col-md-9 col-sm-9 col-xs-9">
  349. <input type="text" class="form-control" data-inputmask="'mask' : '(999) 999-9999'">
  350. <span class="fa fa-user form-control-feedback right" aria-hidden="true"></span>
  351. </div>
  352. </div>
  353. <div class="form-group">
  354. <label class="control-label col-md-3 col-sm-3 col-xs-3">Custom Mask</label>
  355. <div class="col-md-9 col-sm-9 col-xs-9">
  356. <input type="text" class="form-control" data-inputmask="'mask': '99-999999'">
  357. <span class="fa fa-user form-control-feedback right" aria-hidden="true"></span>
  358. </div>
  359. </div>
  360. <div class="form-group">
  361. <label class="control-label col-md-3 col-sm-3 col-xs-3">Serial Number</label>
  362. <div class="col-md-9 col-sm-9 col-xs-9">
  363. <input type="text" class="form-control" data-inputmask="'mask' : '****-****-****-****-****-***'">
  364. <span class="fa fa-user form-control-feedback right" aria-hidden="true"></span>
  365. </div>
  366. </div>
  367. <div class="form-group">
  368. <label class="control-label col-md-3 col-sm-3 col-xs-3">TaxID Mask</label>
  369. <div class="col-md-9 col-sm-9 col-xs-9">
  370. <input type="text" class="form-control" data-inputmask="'mask' : '99-99999999'">
  371. <span class="fa fa-user form-control-feedback right" aria-hidden="true"></span>
  372. </div>
  373. </div>
  374. <div class="form-group">
  375. <label class="control-label col-md-3 col-sm-3 col-xs-3">Credit Card Mask</label>
  376. <div class="col-md-9 col-sm-9 col-xs-9">
  377. <input type="text" class="form-control" data-inputmask="'mask' : '9999-9999-9999-9999'">
  378. <span class="fa fa-user form-control-feedback right" aria-hidden="true"></span>
  379. </div>
  380. </div>
  381. <div class="ln_solid"></div>
  382. <div class="form-group">
  383. <div class="col-md-9 col-md-offset-3">
  384. <button type="submit" class="btn btn-primary">Cancel</button>
  385. <button type="submit" class="btn btn-success">Submit</button>
  386. </div>
  387. </div>
  388. </form>
  389. </div>
  390. </div>
  391. </div>
  392. <!-- /form input mask -->
  393. <!-- form color picker -->
  394. <div class="col-md-6 col-sm-12 col-xs-12">
  395. <div class="x_panel">
  396. <div class="x_title">
  397. <h2>Color Picker</h2>
  398. <ul class="nav navbar-right panel_toolbox">
  399. <li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
  400. </li>
  401. <li class="dropdown">
  402. <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"><i class="fa fa-wrench"></i></a>
  403. <ul class="dropdown-menu" role="menu">
  404. <li><a href="#">Settings 1</a>
  405. </li>
  406. <li><a href="#">Settings 2</a>
  407. </li>
  408. </ul>
  409. </li>
  410. <li><a class="close-link"><i class="fa fa-close"></i></a>
  411. </li>
  412. </ul>
  413. <div class="clearfix"></div>
  414. </div>
  415. <div class="x_content">
  416. <br />
  417. <form class="form-horizontal form-label-left">
  418. <div class="form-group">
  419. <label class="control-label col-md-3 col-sm-3 col-xs-12">Default Input</label>
  420. <div class="col-md-9 col-sm-9 col-xs-12">
  421. <input type="text" class="demo1 form-control" value="#5367ce" />
  422. </div>
  423. </div>
  424. <div class="form-group">
  425. <label class="control-label col-md-3 col-sm-3 col-xs-12">Styled</label>
  426. <div class="col-md-9 col-sm-9 col-xs-12">
  427. <div class="input-group demo2">
  428. <input type="text" value="#e01ab5" class="form-control" />
  429. <span class="input-group-addon"><i></i></span>
  430. </div>
  431. </div>
  432. </div>
  433. <div class="form-group">
  434. <label class="control-label col-md-3 col-sm-3 col-xs-12">Horizontal bar</label>
  435. <div class="col-md-9 col-sm-9 col-xs-12">
  436. <input type="text" class="form-control demo colorpicker-element" data-horizontal="true" id="demo_forceformat" value="#8fff00">
  437. </div>
  438. </div>
  439. <div class="form-group">
  440. <label class="control-label col-md-3 col-sm-3 col-xs-12">Vertical bar</label>
  441. <div class="col-md-9 col-sm-9 col-xs-12">
  442. <input type="text" class="form-control demo colorpicker-element" id="demo_forceformat3" value="#8fff00">
  443. </div>
  444. </div>
  445. <div class="form-group">
  446. <label class="control-label col-md-3 col-sm-3 col-xs-12">Inline picker</label>
  447. <div class="col-md-9 col-sm-9 col-xs-12">
  448. <div class="well">
  449. <div id="demo_cont" class="demo demo-auto inl-bl colorpicker-element" data-container="#demo_cont" data-color="rgba(150,216,62,0.55)" data-inline="true"></div>
  450. <div class="demo demo-auto inl-bl colorpicker-element" data-container="true" data-color="rgb(50,216,62)" data-inline="true" style="margin-left:20px;"></div>
  451. </div>
  452. </div>
  453. </div>
  454. </form>
  455. </div>
  456. </div>
  457. </div>
  458. <!-- /form color picker -->
  459. <!-- form input knob -->
  460. <div class="col-md-12">
  461. <div class="x_panel">
  462. <div class="x_title">
  463. <h2>Input knob</h2>
  464. <ul class="nav navbar-right panel_toolbox">
  465. <li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
  466. </li>
  467. <li class="dropdown">
  468. <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"><i class="fa fa-wrench"></i></a>
  469. <ul class="dropdown-menu" role="menu">
  470. <li><a href="#">Settings 1</a>
  471. </li>
  472. <li><a href="#">Settings 2</a>
  473. </li>
  474. </ul>
  475. </li>
  476. <li><a class="close-link"><i class="fa fa-close"></i></a>
  477. </li>
  478. </ul>
  479. <div class="clearfix"></div>
  480. </div>
  481. <div class="x_content">
  482. <div class="col-md-2">
  483. <p>Display value</p>
  484. <input class="knob" data-width="100" data-height="120" data-min="-100" data-displayPrevious=true data-fgColor="#26B99A" value="44">
  485. </div>
  486. <div class="col-md-2">
  487. <p>&#215; 'cursor' mode</p>
  488. <input class="knob" data-width="100" data-height="120" data-cursor=true data-fgColor="#34495E" value="29">
  489. </div>
  490. <div class="col-md-2">
  491. <p>Step 0.1</p>
  492. <input class="knob" data-width="100" data-height="120" data-min="-10000" data-displayPrevious=true data-fgColor="#26B99A" data-max="10000" data-step=".1" value="0">
  493. </div>
  494. <div class="col-md-2">
  495. <p>Angle arc</p>
  496. <input class="knob" data-width="100" data-height="120" data-angleOffset=-125 data-angleArc=250 data-fgColor="#34495E" data-rotation="anticlockwise" value="35">
  497. </div>
  498. <div class="col-md-2">
  499. <p>Alternate design</p>
  500. <input class="knob" data-width="110" data-height="120" data-displayPrevious=true data-fgColor="#26B99A" data-skin="tron" data-thickness=".2" value="75">
  501. </div>
  502. <div class="col-md-2">
  503. <p>Angle offset</p>
  504. <input class="knob" data-width="100" data-height="120" data-angleOffset=90 data-linecap=round data-fgColor="#26B99A" value="35">
  505. </div>
  506. </div>
  507. </div>
  508. </div>
  509. <!-- /form input knob -->
  510. </div>
  511. <div class="row">
  512. <div class="col-md-12">
  513. <!-- form date pickers -->
  514. <div class="x_panel" style="">
  515. <div class="x_title">
  516. <h2>Date Pickers <small> Available with multiple designs</small></h2>
  517. <ul class="nav navbar-right panel_toolbox">
  518. <li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
  519. </li>
  520. <li class="dropdown">
  521. <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"><i class="fa fa-wrench"></i></a>
  522. <ul class="dropdown-menu" role="menu">
  523. <li><a href="#">Settings 1</a>
  524. </li>
  525. <li><a href="#">Settings 2</a>
  526. </li>
  527. </ul>
  528. </li>
  529. <li><a class="close-link"><i class="fa fa-close"></i></a>
  530. </li>
  531. </ul>
  532. <div class="clearfix"></div>
  533. </div>
  534. <div class="x_content">
  535. <div class="well" style="overflow: auto">
  536. <div class="col-md-4">
  537. <div id="reportrange_right" class="pull-left" style="background: #fff; cursor: pointer; padding: 5px 10px; border: 1px solid #ccc">
  538. <i class="glyphicon glyphicon-calendar fa fa-calendar"></i>
  539. <span>December 30, 2014 - January 28, 2015</span> <b class="caret"></b>
  540. </div>
  541. </div>
  542. <div class="col-md-4">
  543. <p>Date Range Picker with opening to right and left</p>
  544. </div>
  545. <div class="col-md-4">
  546. <div id="reportrange" class="pull-right" style="background: #fff; cursor: pointer; padding: 5px 10px; border: 1px solid #ccc">
  547. <i class="glyphicon glyphicon-calendar fa fa-calendar"></i>
  548. <span>December 30, 2014 - January 28, 2015</span> <b class="caret"></b>
  549. </div>
  550. </div>
  551. </div>
  552. <div class="well">
  553. <form class="form-horizontal">
  554. <fieldset>
  555. <div class="control-group">
  556. <div class="controls">
  557. <div class="input-prepend input-group">
  558. <span class="add-on input-group-addon"><i class="glyphicon glyphicon-calendar fa fa-calendar"></i></span>
  559. <input type="text" style="width: 200px" name="reservation" id="reservation" class="form-control" value="03/18/2013 - 03/23/2013" />
  560. </div>
  561. </div>
  562. </div>
  563. </fieldset>
  564. </form>
  565. </div>
  566. <div class="row">
  567. <div class="col-md-3">
  568. <div class="daterangepicker xdisplay picker_1 single opensright show-calendar">
  569. <div class="calendar first single right" style="display: block;">
  570. <div class="calendar-date">
  571. <table class="table-condensed">
  572. <thead>
  573. <tr>
  574. <th class="prev available"><i class="fa fa-arrow-left icon icon-arrow-left glyphicon glyphicon-arrow-left"></i>
  575. </th>
  576. <th colspan="5" class="month">Mar 2013</th>
  577. <th class="next available"><i class="fa fa-arrow-right icon icon-arrow-right glyphicon glyphicon-arrow-right"></i>
  578. </th>
  579. </tr>
  580. <tr>
  581. <th>Su</th>
  582. <th>Mo</th>
  583. <th>Tu</th>
  584. <th>We</th>
  585. <th>Th</th>
  586. <th>Fr</th>
  587. <th>Sa</th>
  588. </tr>
  589. </thead>
  590. <tbody>
  591. <tr>
  592. <td class="available off" data-title="r0c0">24</td>
  593. <td class="available off" data-title="r0c1">25</td>
  594. <td class="available off" data-title="r0c2">26</td>
  595. <td class="available off" data-title="r0c3">27</td>
  596. <td class="available off" data-title="r0c4">28</td>
  597. <td class="available" data-title="r0c5">1</td>
  598. <td class="available" data-title="r0c6">2</td>
  599. </tr>
  600. <tr>
  601. <td class="available" data-title="r1c0">3</td>
  602. <td class="available" data-title="r1c1">4</td>
  603. <td class="available" data-title="r1c2">5</td>
  604. <td class="available" data-title="r1c3">6</td>
  605. <td class="available" data-title="r1c4">7</td>
  606. <td class="available" data-title="r1c5">8</td>
  607. <td class="available" data-title="r1c6">9</td>
  608. </tr>
  609. <tr>
  610. <td class="available" data-title="r2c0">10</td>
  611. <td class="available" data-title="r2c1">11</td>
  612. <td class="available" data-title="r2c2">12</td>
  613. <td class="available" data-title="r2c3">13</td>
  614. <td class="available" data-title="r2c4">14</td>
  615. <td class="available" data-title="r2c5">15</td>
  616. <td class="available" data-title="r2c6">16</td>
  617. </tr>
  618. <tr>
  619. <td class="available" data-title="r3c0">17</td>
  620. <td class="available active start-date end-date" data-title="r3c1">18</td>
  621. <td class="available" data-title="r3c2">19</td>
  622. <td class="available" data-title="r3c3">20</td>
  623. <td class="available" data-title="r3c4">21</td>
  624. <td class="available" data-title="r3c5">22</td>
  625. <td class="available" data-title="r3c6">23</td>
  626. </tr>
  627. <tr>
  628. <td class="available" data-title="r4c0">24</td>
  629. <td class="available" data-title="r4c1">25</td>
  630. <td class="available" data-title="r4c2">26</td>
  631. <td class="available" data-title="r4c3">27</td>
  632. <td class="available" data-title="r4c4">28</td>
  633. <td class="available" data-title="r4c5">29</td>
  634. <td class="available" data-title="r4c6">30</td>
  635. </tr>
  636. <tr>
  637. <td class="available" data-title="r5c0">31</td>
  638. <td class="available off" data-title="r5c1">1</td>
  639. <td class="available off" data-title="r5c2">2</td>
  640. <td class="available off" data-title="r5c3">3</td>
  641. <td class="available off" data-title="r5c4">4</td>
  642. <td class="available off" data-title="r5c5">5</td>
  643. <td class="available off" data-title="r5c6">6</td>
  644. </tr>
  645. </tbody>
  646. </table>
  647. </div>
  648. </div>
  649. <div class="calendar second left" style="display: none;">
  650. <div class="calendar-date">
  651. <table class="table-condensed">
  652. <thead>
  653. <tr>
  654. <th class="prev available"><i class="fa fa-arrow-left icon icon-arrow-left glyphicon glyphicon-arrow-left"></i>
  655. </th>
  656. <th colspan="5" class="month">Mar 2013</th>
  657. <th class="next available"><i class="fa fa-arrow-right icon icon-arrow-right glyphicon glyphicon-arrow-right"></i>
  658. </th>
  659. </tr>
  660. <tr>
  661. <th>Su</th>
  662. <th>Mo</th>
  663. <th>Tu</th>
  664. <th>We</th>
  665. <th>Th</th>
  666. <th>Fr</th>
  667. <th>Sa</th>
  668. </tr>
  669. </thead>
  670. <tbody>
  671. <tr>
  672. <td class="available off" data-title="r0c0">24</td>
  673. <td class="available off" data-title="r0c1">25</td>
  674. <td class="available off" data-title="r0c2">26</td>
  675. <td class="available off" data-title="r0c3">27</td>
  676. <td class="available off" data-title="r0c4">28</td>
  677. <td class="available" data-title="r0c5">1</td>
  678. <td class="available" data-title="r0c6">2</td>
  679. </tr>
  680. <tr>
  681. <td class="available" data-title="r1c0">3</td>
  682. <td class="available" data-title="r1c1">4</td>
  683. <td class="available" data-title="r1c2">5</td>
  684. <td class="available" data-title="r1c3">6</td>
  685. <td class="available" data-title="r1c4">7</td>
  686. <td class="available" data-title="r1c5">8</td>
  687. <td class="available" data-title="r1c6">9</td>
  688. </tr>
  689. <tr>
  690. <td class="available" data-title="r2c0">10</td>
  691. <td class="available" data-title="r2c1">11</td>
  692. <td class="available" data-title="r2c2">12</td>
  693. <td class="available" data-title="r2c3">13</td>
  694. <td class="available" data-title="r2c4">14</td>
  695. <td class="available" data-title="r2c5">15</td>
  696. <td class="available" data-title="r2c6">16</td>
  697. </tr>
  698. <tr>
  699. <td class="available" data-title="r3c0">17</td>
  700. <td class="available active start-date end-date" data-title="r3c1">18</td>
  701. <td class="available" data-title="r3c2">19</td>
  702. <td class="available" data-title="r3c3">20</td>
  703. <td class="available" data-title="r3c4">21</td>
  704. <td class="available" data-title="r3c5">22</td>
  705. <td class="available" data-title="r3c6">23</td>
  706. </tr>
  707. <tr>
  708. <td class="available" data-title="r4c0">24</td>
  709. <td class="available" data-title="r4c1">25</td>
  710. <td class="available" data-title="r4c2">26</td>
  711. <td class="available" data-title="r4c3">27</td>
  712. <td class="available" data-title="r4c4">28</td>
  713. <td class="available" data-title="r4c5">29</td>
  714. <td class="available" data-title="r4c6">30</td>
  715. </tr>
  716. <tr>
  717. <td class="available" data-title="r5c0">31</td>
  718. <td class="available off" data-title="r5c1">1</td>
  719. <td class="available off" data-title="r5c2">2</td>
  720. <td class="available off" data-title="r5c3">3</td>
  721. <td class="available off" data-title="r5c4">4</td>
  722. <td class="available off" data-title="r5c5">5</td>
  723. <td class="available off" data-title="r5c6">6</td>
  724. </tr>
  725. </tbody>
  726. </table>
  727. </div>
  728. </div>
  729. <div class="ranges" style="display: none;">
  730. <div class="range_inputs">
  731. <div class="daterangepicker_start_input">
  732. <label for="daterangepicker_start">From</label>
  733. <input id="daterangepicker_start" class="input-mini" type="text" name="daterangepicker_start" value="">
  734. </div>
  735. <div class="daterangepicker_end_input">
  736. <label for="daterangepicker_end">To</label>
  737. <input id="daterangepicker_end" class="input-mini" type="text" name="daterangepicker_end" value="">
  738. </div>
  739. <button class="applyBtn btn btn-small btn-sm btn-success">Apply</button>&nbsp;
  740. <button class="cancelBtn btn btn-small btn-sm btn-default">Cancel</button>
  741. </div>
  742. </div>
  743. </div>
  744. <fieldset>
  745. <div class="control-group">
  746. <div class="controls">
  747. <div class="col-md-11 xdisplay_inputx form-group has-feedback">
  748. <input type="text" class="form-control has-feedback-left" id="single_cal1" placeholder="First Name" aria-describedby="inputSuccess2Status">
  749. <span class="fa fa-calendar-o form-control-feedback left" aria-hidden="true"></span>
  750. <span id="inputSuccess2Status" class="sr-only">(success)</span>
  751. </div>
  752. </div>
  753. </div>
  754. </fieldset>
  755. </div>
  756. <div class="col-md-3">
  757. <div class="daterangepicker xdisplay picker_2 single opensright show-calendar">
  758. <div class="calendar first single right" style="display: block;">
  759. <div class="calendar-date">
  760. <table class="table-condensed">
  761. <thead>
  762. <tr>
  763. <th class="prev available"><i class="fa fa-arrow-left icon icon-arrow-left glyphicon glyphicon-arrow-left"></i>
  764. </th>
  765. <th colspan="5" class="month">Mar 2013</th>
  766. <th class="next available"><i class="fa fa-arrow-right icon icon-arrow-right glyphicon glyphicon-arrow-right"></i>
  767. </th>
  768. </tr>
  769. <tr>
  770. <th>Su</th>
  771. <th>Mo</th>
  772. <th>Tu</th>
  773. <th>We</th>
  774. <th>Th</th>
  775. <th>Fr</th>
  776. <th>Sa</th>
  777. </tr>
  778. </thead>
  779. <tbody>
  780. <tr>
  781. <td class="available off" data-title="r0c0">24</td>
  782. <td class="available off" data-title="r0c1">25</td>
  783. <td class="available off" data-title="r0c2">26</td>
  784. <td class="available off" data-title="r0c3">27</td>
  785. <td class="available off" data-title="r0c4">28</td>
  786. <td class="available" data-title="r0c5">1</td>
  787. <td class="available" data-title="r0c6">2</td>
  788. </tr>
  789. <tr>
  790. <td class="available" data-title="r1c0">3</td>
  791. <td class="available" data-title="r1c1">4</td>
  792. <td class="available" data-title="r1c2">5</td>
  793. <td class="available" data-title="r1c3">6</td>
  794. <td class="available" data-title="r1c4">7</td>
  795. <td class="available" data-title="r1c5">8</td>
  796. <td class="available" data-title="r1c6">9</td>
  797. </tr>
  798. <tr>
  799. <td class="available" data-title="r2c0">10</td>
  800. <td class="available" data-title="r2c1">11</td>
  801. <td class="available" data-title="r2c2">12</td>
  802. <td class="available" data-title="r2c3">13</td>
  803. <td class="available" data-title="r2c4">14</td>
  804. <td class="available" data-title="r2c5">15</td>
  805. <td class="available" data-title="r2c6">16</td>
  806. </tr>
  807. <tr>
  808. <td class="available" data-title="r3c0">17</td>
  809. <td class="available active start-date end-date" data-title="r3c1">18</td>
  810. <td class="available" data-title="r3c2">19</td>
  811. <td class="available" data-title="r3c3">20</td>
  812. <td class="available" data-title="r3c4">21</td>
  813. <td class="available" data-title="r3c5">22</td>
  814. <td class="available" data-title="r3c6">23</td>
  815. </tr>
  816. <tr>
  817. <td class="available" data-title="r4c0">24</td>
  818. <td class="available" data-title="r4c1">25</td>
  819. <td class="available" data-title="r4c2">26</td>
  820. <td class="available" data-title="r4c3">27</td>
  821. <td class="available" data-title="r4c4">28</td>
  822. <td class="available" data-title="r4c5">29</td>
  823. <td class="available" data-title="r4c6">30</td>
  824. </tr>
  825. <tr>
  826. <td class="available" data-title="r5c0">31</td>
  827. <td class="available off" data-title="r5c1">1</td>
  828. <td class="available off" data-title="r5c2">2</td>
  829. <td class="available off" data-title="r5c3">3</td>
  830. <td class="available off" data-title="r5c4">4</td>
  831. <td class="available off" data-title="r5c5">5</td>
  832. <td class="available off" data-title="r5c6">6</td>
  833. </tr>
  834. </tbody>
  835. </table>
  836. </div>
  837. </div>
  838. <div class="calendar second left" style="display: none;">
  839. <div class="calendar-date">
  840. <table class="table-condensed">
  841. <thead>
  842. <tr>
  843. <th class="prev available"><i class="fa fa-arrow-left icon icon-arrow-left glyphicon glyphicon-arrow-left"></i>
  844. </th>
  845. <th colspan="5" class="month">Mar 2013</th>
  846. <th class="next available"><i class="fa fa-arrow-right icon icon-arrow-right glyphicon glyphicon-arrow-right"></i>
  847. </th>
  848. </tr>
  849. <tr>
  850. <th>Su</th>
  851. <th>Mo</th>
  852. <th>Tu</th>
  853. <th>We</th>
  854. <th>Th</th>
  855. <th>Fr</th>
  856. <th>Sa</th>
  857. </tr>
  858. </thead>
  859. <tbody>
  860. <tr>
  861. <td class="available off" data-title="r0c0">24</td>
  862. <td class="available off" data-title="r0c1">25</td>
  863. <td class="available off" data-title="r0c2">26</td>
  864. <td class="available off" data-title="r0c3">27</td>
  865. <td class="available off" data-title="r0c4">28</td>
  866. <td class="available" data-title="r0c5">1</td>
  867. <td class="available" data-title="r0c6">2</td>
  868. </tr>
  869. <tr>
  870. <td class="available" data-title="r1c0">3</td>
  871. <td class="available" data-title="r1c1">4</td>
  872. <td class="available" data-title="r1c2">5</td>
  873. <td class="available" data-title="r1c3">6</td>
  874. <td class="available" data-title="r1c4">7</td>
  875. <td class="available" data-title="r1c5">8</td>
  876. <td class="available" data-title="r1c6">9</td>
  877. </tr>
  878. <tr>
  879. <td class="available" data-title="r2c0">10</td>
  880. <td class="available" data-title="r2c1">11</td>
  881. <td class="available" data-title="r2c2">12</td>
  882. <td class="available" data-title="r2c3">13</td>
  883. <td class="available" data-title="r2c4">14</td>
  884. <td class="available" data-title="r2c5">15</td>
  885. <td class="available" data-title="r2c6">16</td>
  886. </tr>
  887. <tr>
  888. <td class="available" data-title="r3c0">17</td>
  889. <td class="available active start-date end-date" data-title="r3c1">18</td>
  890. <td class="available" data-title="r3c2">19</td>
  891. <td class="available" data-title="r3c3">20</td>
  892. <td class="available" data-title="r3c4">21</td>
  893. <td class="available" data-title="r3c5">22</td>
  894. <td class="available" data-title="r3c6">23</td>
  895. </tr>
  896. <tr>
  897. <td class="available" data-title="r4c0">24</td>
  898. <td class="available" data-title="r4c1">25</td>
  899. <td class="available" data-title="r4c2">26</td>
  900. <td class="available" data-title="r4c3">27</td>
  901. <td class="available" data-title="r4c4">28</td>
  902. <td class="available" data-title="r4c5">29</td>
  903. <td class="available" data-title="r4c6">30</td>
  904. </tr>
  905. <tr>
  906. <td class="available" data-title="r5c0">31</td>
  907. <td class="available off" data-title="r5c1">1</td>
  908. <td class="available off" data-title="r5c2">2</td>
  909. <td class="available off" data-title="r5c3">3</td>
  910. <td class="available off" data-title="r5c4">4</td>
  911. <td class="available off" data-title="r5c5">5</td>
  912. <td class="available off" data-title="r5c6">6</td>
  913. </tr>
  914. </tbody>
  915. </table>
  916. </div>
  917. </div>
  918. <div class="ranges" style="display: none;">
  919. <div class="range_inputs">
  920. <div class="daterangepicker_start_input">
  921. <label for="daterangepicker_start3">From</label>
  922. <input id="daterangepicker_start3" class="input-mini" type="text" name="daterangepicker_start" value="">
  923. </div>
  924. <div class="daterangepicker_end_input">
  925. <label for="daterangepicker_end3">To</label>
  926. <input id="daterangepicker_end3" class="input-mini" type="text" name="daterangepicker_end" value="">
  927. </div>
  928. <button class="applyBtn btn btn-small btn-sm btn-success">Apply</button>&nbsp;
  929. <button class="cancelBtn btn btn-small btn-sm btn-default">Cancel</button>
  930. </div>
  931. </div>
  932. </div>
  933. <fieldset>
  934. <div class="control-group">
  935. <div class="controls">
  936. <div class="col-md-11 xdisplay_inputx form-group has-feedback">
  937. <input type="text" class="form-control has-feedback-left" id="single_cal2" placeholder="First Name" aria-describedby="inputSuccess2Status2">
  938. <span class="fa fa-calendar-o form-control-feedback left" aria-hidden="true"></span>
  939. <span id="inputSuccess2Status2" class="sr-only">(success)</span>
  940. </div>
  941. </div>
  942. </div>
  943. </fieldset>
  944. </div>
  945. <div class="col-md-3">
  946. <div class="daterangepicker picker_3 xdisplay single opensright show-calendar">
  947. <div class="calendar first single right" style="display: block;">
  948. <div class="calendar-date">
  949. <table class="table-condensed">
  950. <thead>
  951. <tr>
  952. <th class="prev available"><i class="fa fa-arrow-left icon icon-arrow-left glyphicon glyphicon-arrow-left"></i>
  953. </th>
  954. <th colspan="5" class="month">Mar 2013</th>
  955. <th class="next available"><i class="fa fa-arrow-right icon icon-arrow-right glyphicon glyphicon-arrow-right"></i>
  956. </th>
  957. </tr>
  958. <tr>
  959. <th>Su</th>
  960. <th>Mo</th>
  961. <th>Tu</th>
  962. <th>We</th>
  963. <th>Th</th>
  964. <th>Fr</th>
  965. <th>Sa</th>
  966. </tr>
  967. </thead>
  968. <tbody>
  969. <tr>
  970. <td class="available off" data-title="r0c0">24</td>
  971. <td class="available off" data-title="r0c1">25</td>
  972. <td class="available off" data-title="r0c2">26</td>
  973. <td class="available off" data-title="r0c3">27</td>
  974. <td class="available off" data-title="r0c4">28</td>
  975. <td class="available" data-title="r0c5">1</td>
  976. <td class="available" data-title="r0c6">2</td>
  977. </tr>
  978. <tr>
  979. <td class="available" data-title="r1c0">3</td>
  980. <td class="available" data-title="r1c1">4</td>
  981. <td class="available" data-title="r1c2">5</td>
  982. <td class="available" data-title="r1c3">6</td>
  983. <td class="available" data-title="r1c4">7</td>
  984. <td class="available" data-title="r1c5">8</td>
  985. <td class="available" data-title="r1c6">9</td>
  986. </tr>
  987. <tr>
  988. <td class="available" data-title="r2c0">10</td>
  989. <td class="available" data-title="r2c1">11</td>
  990. <td class="available" data-title="r2c2">12</td>
  991. <td class="available" data-title="r2c3">13</td>
  992. <td class="available" data-title="r2c4">14</td>
  993. <td class="available" data-title="r2c5">15</td>
  994. <td class="available" data-title="r2c6">16</td>
  995. </tr>
  996. <tr>
  997. <td class="available" data-title="r3c0">17</td>
  998. <td class="available active start-date end-date" data-title="r3c1">18</td>
  999. <td class="available" data-title="r3c2">19</td>
  1000. <td class="available" data-title="r3c3">20</td>
  1001. <td class="available" data-title="r3c4">21</td>
  1002. <td class="available" data-title="r3c5">22</td>
  1003. <td class="available" data-title="r3c6">23</td>
  1004. </tr>
  1005. <tr>
  1006. <td class="available" data-title="r4c0">24</td>
  1007. <td class="available" data-title="r4c1">25</td>
  1008. <td class="available" data-title="r4c2">26</td>
  1009. <td class="available" data-title="r4c3">27</td>
  1010. <td class="available" data-title="r4c4">28</td>
  1011. <td class="available" data-title="r4c5">29</td>
  1012. <td class="available" data-title="r4c6">30</td>
  1013. </tr>
  1014. <tr>
  1015. <td class="available" data-title="r5c0">31</td>
  1016. <td class="available off" data-title="r5c1">1</td>
  1017. <td class="available off" data-title="r5c2">2</td>
  1018. <td class="available off" data-title="r5c3">3</td>
  1019. <td class="available off" data-title="r5c4">4</td>
  1020. <td class="available off" data-title="r5c5">5</td>
  1021. <td class="available off" data-title="r5c6">6</td>
  1022. </tr>
  1023. </tbody>
  1024. </table>
  1025. </div>
  1026. </div>
  1027. <div class="calendar second left" style="display: none;">
  1028. <div class="calendar-date">
  1029. <table class="table-condensed">
  1030. <thead>
  1031. <tr>
  1032. <th class="prev available"><i class="fa fa-arrow-left icon icon-arrow-left glyphicon glyphicon-arrow-left"></i>
  1033. </th>
  1034. <th colspan="5" class="month">Mar 2013</th>
  1035. <th class="next available"><i class="fa fa-arrow-right icon icon-arrow-right glyphicon glyphicon-arrow-right"></i>
  1036. </th>
  1037. </tr>
  1038. <tr>
  1039. <th>Su</th>
  1040. <th>Mo</th>
  1041. <th>Tu</th>
  1042. <th>We</th>
  1043. <th>Th</th>
  1044. <th>Fr</th>
  1045. <th>Sa</th>
  1046. </tr>
  1047. </thead>
  1048. <tbody>
  1049. <tr>
  1050. <td class="available off" data-title="r0c0">24</td>
  1051. <td class="available off" data-title="r0c1">25</td>
  1052. <td class="available off" data-title="r0c2">26</td>
  1053. <td class="available off" data-title="r0c3">27</td>
  1054. <td class="available off" data-title="r0c4">28</td>
  1055. <td class="available" data-title="r0c5">1</td>
  1056. <td class="available" data-title="r0c6">2</td>
  1057. </tr>
  1058. <tr>
  1059. <td class="available" data-title="r1c0">3</td>
  1060. <td class="available" data-title="r1c1">4</td>
  1061. <td class="available" data-title="r1c2">5</td>
  1062. <td class="available" data-title="r1c3">6</td>
  1063. <td class="available" data-title="r1c4">7</td>
  1064. <td class="available" data-title="r1c5">8</td>
  1065. <td class="available" data-title="r1c6">9</td>
  1066. </tr>
  1067. <tr>
  1068. <td class="available" data-title="r2c0">10</td>
  1069. <td class="available" data-title="r2c1">11</td>
  1070. <td class="available" data-title="r2c2">12</td>
  1071. <td class="available" data-title="r2c3">13</td>
  1072. <td class="available" data-title="r2c4">14</td>
  1073. <td class="available" data-title="r2c5">15</td>
  1074. <td class="available" data-title="r2c6">16</td>
  1075. </tr>
  1076. <tr>
  1077. <td class="available" data-title="r3c0">17</td>
  1078. <td class="available active start-date end-date" data-title="r3c1">18</td>
  1079. <td class="available" data-title="r3c2">19</td>
  1080. <td class="available" data-title="r3c3">20</td>
  1081. <td class="available" data-title="r3c4">21</td>
  1082. <td class="available" data-title="r3c5">22</td>
  1083. <td class="available" data-title="r3c6">23</td>
  1084. </tr>
  1085. <tr>
  1086. <td class="available" data-title="r4c0">24</td>
  1087. <td class="available" data-title="r4c1">25</td>
  1088. <td class="available" data-title="r4c2">26</td>
  1089. <td class="available" data-title="r4c3">27</td>
  1090. <td class="available" data-title="r4c4">28</td>
  1091. <td class="available" data-title="r4c5">29</td>
  1092. <td class="available" data-title="r4c6">30</td>
  1093. </tr>
  1094. <tr>
  1095. <td class="available" data-title="r5c0">31</td>
  1096. <td class="available off" data-title="r5c1">1</td>
  1097. <td class="available off" data-title="r5c2">2</td>
  1098. <td class="available off" data-title="r5c3">3</td>
  1099. <td class="available off" data-title="r5c4">4</td>
  1100. <td class="available off" data-title="r5c5">5</td>
  1101. <td class="available off" data-title="r5c6">6</td>
  1102. </tr>
  1103. </tbody>
  1104. </table>
  1105. </div>
  1106. </div>
  1107. <div class="ranges" style="display: none;">
  1108. <div class="range_inputs">
  1109. <div class="daterangepicker_start_input">
  1110. <label for="daterangepicker_start2">From</label>
  1111. <input id="daterangepicker_start2" class="input-mini" type="text" name="daterangepicker_start" value="">
  1112. </div>
  1113. <div class="daterangepicker_end_input">
  1114. <label for="daterangepicker_end2">To</label>
  1115. <input id="daterangepicker_end2" class="input-mini" type="text" name="daterangepicker_end" value="">
  1116. </div>
  1117. <button class="applyBtn btn btn-small btn-sm btn-success">Apply</button>&nbsp;
  1118. <button class="cancelBtn btn btn-small btn-sm btn-default">Cancel</button>
  1119. </div>
  1120. </div>
  1121. </div>
  1122. <fieldset>
  1123. <div class="control-group">
  1124. <div class="controls">
  1125. <div class="col-md-11 xdisplay_inputx form-group has-feedback">
  1126. <input type="text" class="form-control has-feedback-left" id="single_cal3" placeholder="First Name" aria-describedby="inputSuccess2Status3">
  1127. <span class="fa fa-calendar-o form-control-feedback left" aria-hidden="true"></span>
  1128. <span id="inputSuccess2Status3" class="sr-only">(success)</span>
  1129. </div>
  1130. </div>
  1131. </div>
  1132. </fieldset>
  1133. </div>
  1134. <div class="col-md-3">
  1135. <div class="daterangepicker picker_4 xdisplay single opensright show-calendar">
  1136. <div class="calendar first single right" style="display: block;">
  1137. <div class="calendar-date">
  1138. <table class="table-condensed">
  1139. <thead>
  1140. <tr>
  1141. <th class="prev available"><i class="fa fa-arrow-left icon icon-arrow-left glyphicon glyphicon-arrow-left"></i>
  1142. </th>
  1143. <th colspan="5" class="month">Mar 2013</th>
  1144. <th class="next available"><i class="fa fa-arrow-right icon icon-arrow-right glyphicon glyphicon-arrow-right"></i>
  1145. </th>
  1146. </tr>
  1147. <tr>
  1148. <th>Su</th>
  1149. <th>Mo</th>
  1150. <th>Tu</th>
  1151. <th>We</th>
  1152. <th>Th</th>
  1153. <th>Fr</th>
  1154. <th>Sa</th>
  1155. </tr>
  1156. </thead>
  1157. <tbody>
  1158. <tr>
  1159. <td class="available off" data-title="r0c0">24</td>
  1160. <td class="available off" data-title="r0c1">25</td>
  1161. <td class="available off" data-title="r0c2">26</td>
  1162. <td class="available off" data-title="r0c3">27</td>
  1163. <td class="available off" data-title="r0c4">28</td>
  1164. <td class="available" data-title="r0c5">1</td>
  1165. <td class="available" data-title="r0c6">2</td>
  1166. </tr>
  1167. <tr>
  1168. <td class="available" data-title="r1c0">3</td>
  1169. <td class="available" data-title="r1c1">4</td>
  1170. <td class="available" data-title="r1c2">5</td>
  1171. <td class="available" data-title="r1c3">6</td>
  1172. <td class="available" data-title="r1c4">7</td>
  1173. <td class="available" data-title="r1c5">8</td>
  1174. <td class="available" data-title="r1c6">9</td>
  1175. </tr>
  1176. <tr>
  1177. <td class="available" data-title="r2c0">10</td>
  1178. <td class="available" data-title="r2c1">11</td>
  1179. <td class="available" data-title="r2c2">12</td>
  1180. <td class="available" data-title="r2c3">13</td>
  1181. <td class="available" data-title="r2c4">14</td>
  1182. <td class="available" data-title="r2c5">15</td>
  1183. <td class="available" data-title="r2c6">16</td>
  1184. </tr>
  1185. <tr>
  1186. <td class="available" data-title="r3c0">17</td>
  1187. <td class="available active start-date end-date" data-title="r3c1">18</td>
  1188. <td class="available" data-title="r3c2">19</td>
  1189. <td class="available" data-title="r3c3">20</td>
  1190. <td class="available" data-title="r3c4">21</td>
  1191. <td class="available" data-title="r3c5">22</td>
  1192. <td class="available" data-title="r3c6">23</td>
  1193. </tr>
  1194. <tr>
  1195. <td class="available" data-title="r4c0">24</td>
  1196. <td class="available" data-title="r4c1">25</td>
  1197. <td class="available" data-title="r4c2">26</td>
  1198. <td class="available" data-title="r4c3">27</td>
  1199. <td class="available" data-title="r4c4">28</td>
  1200. <td class="available" data-title="r4c5">29</td>
  1201. <td class="available" data-title="r4c6">30</td>
  1202. </tr>
  1203. <tr>
  1204. <td class="available" data-title="r5c0">31</td>
  1205. <td class="available off" data-title="r5c1">1</td>
  1206. <td class="available off" data-title="r5c2">2</td>
  1207. <td class="available off" data-title="r5c3">3</td>
  1208. <td class="available off" data-title="r5c4">4</td>
  1209. <td class="available off" data-title="r5c5">5</td>
  1210. <td class="available off" data-title="r5c6">6</td>
  1211. </tr>
  1212. </tbody>
  1213. </table>
  1214. </div>
  1215. </div>
  1216. <div class="calendar second left" style="display: none;">
  1217. <div class="calendar-date">
  1218. <table class="table-condensed">
  1219. <thead>
  1220. <tr>
  1221. <th class="prev available"><i class="fa fa-arrow-left icon icon-arrow-left glyphicon glyphicon-arrow-left"></i>
  1222. </th>
  1223. <th colspan="5" class="month">Mar 2013</th>
  1224. <th class="next available"><i class="fa fa-arrow-right icon icon-arrow-right glyphicon glyphicon-arrow-right"></i>
  1225. </th>
  1226. </tr>
  1227. <tr>
  1228. <th>Su</th>
  1229. <th>Mo</th>
  1230. <th>Tu</th>
  1231. <th>We</th>
  1232. <th>Th</th>
  1233. <th>Fr</th>
  1234. <th>Sa</th>
  1235. </tr>
  1236. </thead>
  1237. <tbody>
  1238. <tr>
  1239. <td class="available off" data-title="r0c0">24</td>
  1240. <td class="available off" data-title="r0c1">25</td>
  1241. <td class="available off" data-title="r0c2">26</td>
  1242. <td class="available off" data-title="r0c3">27</td>
  1243. <td class="available off" data-title="r0c4">28</td>
  1244. <td class="available" data-title="r0c5">1</td>
  1245. <td class="available" data-title="r0c6">2</td>
  1246. </tr>
  1247. <tr>
  1248. <td class="available" data-title="r1c0">3</td>
  1249. <td class="available" data-title="r1c1">4</td>
  1250. <td class="available" data-title="r1c2">5</td>
  1251. <td class="available" data-title="r1c3">6</td>
  1252. <td class="available" data-title="r1c4">7</td>
  1253. <td class="available" data-title="r1c5">8</td>
  1254. <td class="available" data-title="r1c6">9</td>
  1255. </tr>
  1256. <tr>
  1257. <td class="available" data-title="r2c0">10</td>
  1258. <td class="available" data-title="r2c1">11</td>
  1259. <td class="available" data-title="r2c2">12</td>
  1260. <td class="available" data-title="r2c3">13</td>
  1261. <td class="available" data-title="r2c4">14</td>
  1262. <td class="available" data-title="r2c5">15</td>
  1263. <td class="available" data-title="r2c6">16</td>
  1264. </tr>
  1265. <tr>
  1266. <td class="available" data-title="r3c0">17</td>
  1267. <td class="available active start-date end-date" data-title="r3c1">18</td>
  1268. <td class="available" data-title="r3c2">19</td>
  1269. <td class="available" data-title="r3c3">20</td>
  1270. <td class="available" data-title="r3c4">21</td>
  1271. <td class="available" data-title="r3c5">22</td>
  1272. <td class="available" data-title="r3c6">23</td>
  1273. </tr>
  1274. <tr>
  1275. <td class="available" data-title="r4c0">24</td>
  1276. <td class="available" data-title="r4c1">25</td>
  1277. <td class="available" data-title="r4c2">26</td>
  1278. <td class="available" data-title="r4c3">27</td>
  1279. <td class="available" data-title="r4c4">28</td>
  1280. <td class="available" data-title="r4c5">29</td>
  1281. <td class="available" data-title="r4c6">30</td>
  1282. </tr>
  1283. <tr>
  1284. <td class="available" data-title="r5c0">31</td>
  1285. <td class="available off" data-title="r5c1">1</td>
  1286. <td class="available off" data-title="r5c2">2</td>
  1287. <td class="available off" data-title="r5c3">3</td>
  1288. <td class="available off" data-title="r5c4">4</td>
  1289. <td class="available off" data-title="r5c5">5</td>
  1290. <td class="available off" data-title="r5c6">6</td>
  1291. </tr>
  1292. </tbody>
  1293. </table>
  1294. </div>
  1295. </div>
  1296. <div class="ranges" style="display: none;">
  1297. <div class="range_inputs">
  1298. <div class="daterangepicker_start_input">
  1299. <label for="daterangepicker_start">From</label>
  1300. <input class="input-mini" type="text" name="daterangepicker_start" value="">
  1301. </div>
  1302. <div class="daterangepicker_end_input">
  1303. <label for="daterangepicker_end">To</label>
  1304. <input class="input-mini" type="text" name="daterangepicker_end" value="">
  1305. </div>
  1306. <button class="applyBtn btn btn-small btn-sm btn-success">Apply</button>&nbsp;
  1307. <button class="cancelBtn btn btn-small btn-sm btn-default">Cancel</button>
  1308. </div>
  1309. </div>
  1310. </div>
  1311. <fieldset>
  1312. <div class="control-group">
  1313. <div class="controls">
  1314. <div class="col-md-11 xdisplay_inputx form-group has-feedback">
  1315. <input type="text" class="form-control has-feedback-left" id="single_cal4" placeholder="First Name" aria-describedby="inputSuccess2Status4">
  1316. <span class="fa fa-calendar-o form-control-feedback left" aria-hidden="true"></span>
  1317. <span id="inputSuccess2Status4" class="sr-only">(success)</span>
  1318. </div>
  1319. </div>
  1320. </div>
  1321. </fieldset>
  1322. </div>
  1323. </div>
  1324. </div>
  1325. </div>
  1326. <!-- /form datepicker -->
  1327. <!-- form grid slider -->
  1328. <div class="x_panel" style="">
  1329. <div class="x_title">
  1330. <h2>Grid Slider</h2>
  1331. <ul class="nav navbar-right panel_toolbox">
  1332. <li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
  1333. </li>
  1334. <li class="dropdown">
  1335. <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"><i class="fa fa-wrench"></i></a>
  1336. <ul class="dropdown-menu" role="menu">
  1337. <li><a href="#">Settings 1</a>
  1338. </li>
  1339. <li><a href="#">Settings 2</a>
  1340. </li>
  1341. </ul>
  1342. </li>
  1343. <li><a class="close-link"><i class="fa fa-close"></i></a>
  1344. </li>
  1345. </ul>
  1346. <div class="clearfix"></div>
  1347. </div>
  1348. <div class="x_content">
  1349. <div class="row grid_slider">
  1350. <div class="col-md-6 col-sm-6 col-xs-12">
  1351. <p>Default grid slider with min and max values</p>
  1352. <input type="text" id="range" value="" name="range" />
  1353. </div>
  1354. <div class="col-md-6 col-sm-6 col-xs-12">
  1355. <p>Grid with slider labels are far away outside it's container</p>
  1356. <input type="text" id="range_25" value="" name="range" />
  1357. </div>
  1358. <div class="col-md-6 col-sm-6 col-xs-12">
  1359. <p>Grid with labels inside container using force_edges attribute</p>
  1360. <input type="text" id="range_27" value="" name="range" />
  1361. </div>
  1362. <div class="col-md-6 col-sm-6 col-xs-12">
  1363. <p>Create Grid with pre-defined steps</p>
  1364. <input type="text" id="range_26" value="" name="range" />
  1365. </div>
  1366. <div class="col-md-6 col-sm-6 col-xs-12">
  1367. <p>Prevent one from dragging the labels</p>
  1368. <input type="text" id="range_31" value="" name="range" />
  1369. </div>
  1370. <div class="col-md-6 col-sm-6 col-xs-12">
  1371. <p>Grid with minimum and maximum values</p>
  1372. <input type="text" class="range_min_max" value="" name="range" />
  1373. </div>
  1374. <div>
  1375. <p>Grid With time in 24 hour format</p>
  1376. <input type="text" class="range_time24" value="" name="range" />
  1377. </div>
  1378. </div>
  1379. </div>
  1380. </div>
  1381. <br />
  1382. <br />
  1383. <!-- /form grid slider -->
  1384. <!-- image cropping -->
  1385. <div class="container">
  1386. <div class="row">
  1387. <div class="col-md-9">
  1388. <!-- <h3 class="page-header">Demo:</h3> -->
  1389. <div class="img-container">
  1390. <img src="images/picture2.jpg" alt="Picture">
  1391. </div>
  1392. </div>
  1393. <div class="col-md-3">
  1394. <!-- <h3 class="page-header">Preview:</h3> -->
  1395. <div class="docs-preview clearfix">
  1396. <div class="img-preview preview-lg"></div>
  1397. <div class="img-preview preview-md"></div>
  1398. <div class="img-preview preview-sm"></div>
  1399. <div class="img-preview preview-xs"></div>
  1400. </div>
  1401. <!-- <h3 class="page-header">Data:</h3> -->
  1402. <div class="docs-data">
  1403. <div class="input-group">
  1404. <label class="input-group-addon" for="dataX">X</label>
  1405. <input class="form-control" id="dataX" type="text" placeholder="x">
  1406. <span class="input-group-addon">px</span>
  1407. </div>
  1408. <div class="input-group">
  1409. <label class="input-group-addon" for="dataY">Y</label>
  1410. <input class="form-control" id="dataY" type="text" placeholder="y">
  1411. <span class="input-group-addon">px</span>
  1412. </div>
  1413. <div class="input-group">
  1414. <label class="input-group-addon" for="dataWidth">Width</label>
  1415. <input class="form-control" id="dataWidth" type="text" placeholder="width">
  1416. <span class="input-group-addon">px</span>
  1417. </div>
  1418. <div class="input-group">
  1419. <label class="input-group-addon" for="dataHeight">Height</label>
  1420. <input class="form-control" id="dataHeight" type="text" placeholder="height">
  1421. <span class="input-group-addon">px</span>
  1422. </div>
  1423. <div class="input-group">
  1424. <label class="input-group-addon" for="dataRotate">Rotate</label>
  1425. <input class="form-control" id="dataRotate" type="text" placeholder="rotate">
  1426. <span class="input-group-addon">deg</span>
  1427. </div>
  1428. </div>
  1429. </div>
  1430. </div>
  1431. <div class="row">
  1432. <div class="col-md-9 docs-buttons">
  1433. <!-- <h3 class="page-header">Toolbar:</h3> -->
  1434. <div class="btn-group">
  1435. <button class="btn btn-primary" data-method="setDragMode" data-option="move" type="button" title="Move">
  1436. <span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;setDragMode&quot;, &quot;move&quot;)">
  1437. <span class="fa fa-arrows"></span>
  1438. </span>
  1439. </button>
  1440. <button class="btn btn-primary" data-method="setDragMode" data-option="crop" type="button" title="Crop">
  1441. <span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;setDragMode&quot;, &quot;crop&quot;)">
  1442. <span class="fa fa-crop"></span>
  1443. </span>
  1444. </button>
  1445. <button class="btn btn-primary" data-method="zoom" data-option="0.1" type="button" title="Zoom In">
  1446. <span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;zoom&quot;, 0.1)">
  1447. <span class="fa fa-search-plus"></span>
  1448. </span>
  1449. </button>
  1450. <button class="btn btn-primary" data-method="zoom" data-option="-0.1" type="button" title="Zoom Out">
  1451. <span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;zoom&quot;, -0.1)">
  1452. <span class="fa fa-search-minus"></span>
  1453. </span>
  1454. </button>
  1455. <button class="btn btn-primary" data-method="rotate" data-option="-45" type="button" title="Rotate Left">
  1456. <span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;rotate&quot;, -45)">
  1457. <span class="fa fa-rotate-left"></span>
  1458. </span>
  1459. </button>
  1460. <button class="btn btn-primary" data-method="rotate" data-option="45" type="button" title="Rotate Right">
  1461. <span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;rotate&quot;, 45)">
  1462. <span class="fa fa-rotate-right"></span>
  1463. </span>
  1464. </button>
  1465. </div>
  1466. <div class="btn-group">
  1467. <button class="btn btn-primary" data-method="disable" type="button" title="Disable">
  1468. <span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;disable&quot;)">
  1469. <span class="fa fa-lock"></span>
  1470. </span>
  1471. </button>
  1472. <button class="btn btn-primary" data-method="enable" type="button" title="Enable">
  1473. <span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;enable&quot;)">
  1474. <span class="fa fa-unlock"></span>
  1475. </span>
  1476. </button>
  1477. <button class="btn btn-primary" data-method="clear" type="button" title="Clear">
  1478. <span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;clear&quot;)">
  1479. <span class="fa fa-close"></span>
  1480. </span>
  1481. </button>
  1482. <button class="btn btn-primary" data-method="reset" type="button" title="Reset">
  1483. <span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;reset&quot;)">
  1484. <span class="fa fa-refresh"></span>
  1485. </span>
  1486. </button>
  1487. <label class="btn btn-primary btn-upload" for="inputImage" title="Upload image file">
  1488. <input class="sr-only" id="inputImage" name="file" type="file" accept="image/*">
  1489. <span class="docs-tooltip" data-toggle="tooltip" title="Import image with Blob URLs">
  1490. <span class="fa fa-upload"></span>
  1491. </span>
  1492. </label>
  1493. <button class="btn btn-primary" data-method="destroy" type="button" title="Destroy">
  1494. <span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;destroy&quot;)">
  1495. <span class="fa fa-power-off"></span>
  1496. </span>
  1497. </button>
  1498. </div>
  1499. <div class="btn-group btn-group-crop">
  1500. <button class="btn btn-primary" data-method="getDataURL" type="button">
  1501. <span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;getDataURL&quot;)">
  1502. Get Data URL
  1503. </span>
  1504. </button>
  1505. <button class="btn btn-primary" data-method="getDataURL" data-option="image/jpeg" type="button">
  1506. <span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;getDataURL&quot;, &quot;image/jpeg&quot;)">
  1507. JPG
  1508. </span>
  1509. </button>
  1510. <!-- <button class="btn btn-primary" data-method="getDataURL" data-option="image/webp" type="button">
  1511. <span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;getDataURL&quot;, &quot;image/webp&quot;)">
  1512. WEBP
  1513. </span>
  1514. </button> -->
  1515. <button class="btn btn-primary" data-method="getDataURL" data-option="{ &quot;width&quot;: 160, &quot;height&quot;: 90 }" type="button">
  1516. <span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;getDataURL&quot;, { &quot;width&quot;: 160, &quot;height&quot;: 90 })">
  1517. 160 &times; 90
  1518. </span>
  1519. </button>
  1520. <button class="btn btn-primary" data-method="getDataURL" data-option="{ &quot;width&quot;: 320, &quot;height&quot;: 180 }" type="button">
  1521. <span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;getDataURL&quot;, { &quot;width&quot;: 320, &quot;height&quot;: 180 })">
  1522. 320 &times; 180
  1523. </span>
  1524. </button>
  1525. </div>
  1526. <!-- Show the cropped image in modal -->
  1527. <div class="modal fade docs-cropped" id="getDataURLModal" aria-hidden="true" aria-labelledby="getDataURLTitle" role="dialog" tabindex="-1">
  1528. <div class="modal-dialog">
  1529. <div class="modal-content">
  1530. <div class="modal-header">
  1531. <button class="close" data-dismiss="modal" type="button" aria-hidden="true">&times;</button>
  1532. <h4 class="modal-title" id="getDataURLTitle">Cropped</h4>
  1533. </div>
  1534. <div class="modal-body"></div>
  1535. <!-- <div class="modal-footer">
  1536. <button class="btn btn-primary" data-dismiss="modal" type="button">Close</button>
  1537. </div> -->
  1538. </div>
  1539. </div>
  1540. </div>
  1541. <!-- /.modal -->
  1542. <div class="btn-group">
  1543. <button class="btn btn-primary" data-method="getData" data-option="" data-target="#putData" type="button">
  1544. <span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;getData&quot;)">
  1545. Get Data
  1546. </span>
  1547. </button>
  1548. <button class="btn btn-primary" data-method="getData" data-option="true" data-target="#putData" type="button">
  1549. <span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;getData&quot;, true)">
  1550. Rounded
  1551. </span>
  1552. </button>
  1553. </div>
  1554. <div class="btn-group">
  1555. <button class="btn btn-primary" data-method="getImageData" data-option="" data-target="#putData" type="button">
  1556. <span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;getImageData&quot;)">
  1557. Get Image Data
  1558. </span>
  1559. </button>
  1560. <button class="btn btn-primary" data-method="getImageData" data-option="true" data-target="#putData" type="button">
  1561. <span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;getImageData&quot;, true)">
  1562. All
  1563. </span>
  1564. </button>
  1565. </div>
  1566. <button class="btn btn-primary" data-method="setImageData" data-target="#putData" type="button">
  1567. <span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;setImageData&quot;, data)">
  1568. Set Image Data
  1569. </span>
  1570. </button>
  1571. <button class="btn btn-primary" data-method="getCropBoxData" data-option="" data-target="#putData" type="button">
  1572. <span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;getCropBoxData&quot;)">
  1573. Get Crop Box Data
  1574. </span>
  1575. </button>
  1576. <button class="btn btn-primary" data-method="setCropBoxData" data-target="#putData" type="button">
  1577. <span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;setCropBoxData&quot;, data)">
  1578. Set Crop Box Data
  1579. </span>
  1580. </button>
  1581. <input class="form-control" id="putData" type="text" placeholder="Get data to here or set data with this value">
  1582. </div>
  1583. <!-- /.docs-buttons -->
  1584. <div class="col-md-3 docs-toggles">
  1585. <!-- <h3 class="page-header">Toggles:</h3> -->
  1586. <div class="btn-group btn-group-justified" data-toggle="buttons">
  1587. <label class="btn btn-primary active" data-method="setAspectRatio" data-option="1.7777777777777777" title="Set Aspect Ratio">
  1588. <input class="sr-only" id="aspestRatio1" name="aspestRatio" value="1.7777777777777777" type="radio">
  1589. <span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;setAspectRatio&quot;, 16 / 9)">
  1590. 16:9
  1591. </span>
  1592. </label>
  1593. <label class="btn btn-primary" data-method="setAspectRatio" data-option="1.3333333333333333" title="Set Aspect Ratio">
  1594. <input class="sr-only" id="aspestRatio2" name="aspestRatio" value="1.3333333333333333" type="radio">
  1595. <span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;setAspectRatio&quot;, 4 / 3)">
  1596. 4:3
  1597. </span>
  1598. </label>
  1599. <label class="btn btn-primary" data-method="setAspectRatio" data-option="1" title="Set Aspect Ratio">
  1600. <input class="sr-only" id="aspestRatio3" name="aspestRatio" value="1" type="radio">
  1601. <span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;setAspectRatio&quot;, 1 / 1)">
  1602. 1:1
  1603. </span>
  1604. </label>
  1605. <label class="btn btn-primary" data-method="setAspectRatio" data-option="0.6666666666666666" title="Set Aspect Ratio">
  1606. <input class="sr-only" id="aspestRatio4" name="aspestRatio" value="0.6666666666666666" type="radio">
  1607. <span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;setAspectRatio&quot;, 2 / 3)">
  1608. 2:3
  1609. </span>
  1610. </label>
  1611. <label class="btn btn-primary" data-method="setAspectRatio" data-option="NaN" title="Set Aspect Ratio">
  1612. <input class="sr-only" id="aspestRatio5" name="aspestRatio" value="NaN" type="radio">
  1613. <span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;setAspectRatio&quot;, NaN)">
  1614. Free
  1615. </span>
  1616. </label>
  1617. </div>
  1618. <div class="dropdown dropup docs-options">
  1619. <button class="btn btn-primary btn-block dropdown-toggle" id="toggleOptions" type="button" data-toggle="dropdown" aria-expanded="true">
  1620. Toggle Options
  1621. <span class="caret"></span>
  1622. </button>
  1623. <ul class="dropdown-menu" role="menu" aria-labelledby="toggleOptions">
  1624. <li role="presentation">
  1625. <label class="checkbox-inline">
  1626. <input type="checkbox" name="option" value="global" checked> global
  1627. </label>
  1628. </li>
  1629. <li role="presentation">
  1630. <label class="checkbox-inline">
  1631. <input type="checkbox" name="option" value="responsive" checked> responsive
  1632. </label>
  1633. </li>
  1634. <li role="presentation">
  1635. <label class="checkbox-inline">
  1636. <input type="checkbox" name="option" value="checkImageOrigin" checked> checkImageOrigin
  1637. </label>
  1638. </li>
  1639. <li role="presentation">
  1640. <label class="checkbox-inline">
  1641. <input type="checkbox" name="option" value="modal" checked> modal
  1642. </label>
  1643. </li>
  1644. <li role="presentation">
  1645. <label class="checkbox-inline">
  1646. <input type="checkbox" name="option" value="guides" checked> guides
  1647. </label>
  1648. </li>
  1649. <li role="presentation">
  1650. <label class="checkbox-inline">
  1651. <input type="checkbox" name="option" value="highlight" checked> highlight
  1652. </label>
  1653. </li>
  1654. <li role="presentation">
  1655. <label class="checkbox-inline">
  1656. <input type="checkbox" name="option" value="background" checked> background
  1657. </label>
  1658. </li>
  1659. <li role="presentation">
  1660. <label class="checkbox-inline">
  1661. <input type="checkbox" name="option" value="autoCrop" checked> autoCrop
  1662. </label>
  1663. </li>
  1664. <li role="presentation">
  1665. <label class="checkbox-inline">
  1666. <input type="checkbox" name="option" value="dragCrop" checked> dragCrop
  1667. </label>
  1668. </li>
  1669. <li role="presentation">
  1670. <label class="checkbox-inline">
  1671. <input type="checkbox" name="option" value="movable" checked> movable
  1672. </label>
  1673. </li>
  1674. <li role="presentation">
  1675. <label class="checkbox-inline">
  1676. <input type="checkbox" name="option" value="resizable" checked> resizable
  1677. </label>
  1678. </li>
  1679. <li role="presentation">
  1680. <label class="checkbox-inline">
  1681. <input type="checkbox" name="option" value="rotatable" checked> rotatable
  1682. </label>
  1683. </li>
  1684. <li role="presentation">
  1685. <label class="checkbox-inline">
  1686. <input type="checkbox" name="option" value="zoomable" checked> zoomable
  1687. </label>
  1688. </li>
  1689. <li role="presentation">
  1690. <label class="checkbox-inline">
  1691. <input type="checkbox" name="option" value="touchDragZoom" checked> touchDragZoom
  1692. </label>
  1693. </li>
  1694. <li role="presentation">
  1695. <label class="checkbox-inline">
  1696. <input type="checkbox" name="option" value="mouseWheelZoom" checked> mouseWheelZoom
  1697. </label>
  1698. </li>
  1699. </ul>
  1700. </div>
  1701. <!-- /.dropdown -->
  1702. </div>
  1703. <!-- /.docs-toggles -->
  1704. </div>
  1705. </div>
  1706. <!-- /image cropping -->
  1707. </div>
  1708. </div>
  1709. </div>
  1710. <!-- footer content -->
  1711. <footer>
  1712. <div class="copyright-info">
  1713. <p class="pull-right">Gentelella - Bootstrap Admin Template by <a href="https://colorlib.com">Colorlib</a>
  1714. </p>
  1715. </div>
  1716. <div class="clearfix"></div>
  1717. </footer>
  1718. <!-- /footer content -->
  1719. </div>
  1720. <!-- /page content -->
  1721. </div>
  1722. </div>
  1723. <div id="custom_notifications" class="custom-notifications dsp_none">
  1724. <ul class="list-unstyled notifications clearfix" data-tabbed_notifications="notif-group">
  1725. </ul>
  1726. <div class="clearfix"></div>
  1727. <div id="notif-group" class="tabbed_notifications"></div>
  1728. </div>
  1729. <script src="js/bootstrap.min.js"></script>
  1730. <!-- bootstrap progress js -->
  1731. <script src="js/progressbar/bootstrap-progressbar.min.js"></script>
  1732. <!-- icheck -->
  1733. <script src="js/icheck/icheck.min.js"></script>
  1734. <script src="js/custom.js"></script>
  1735. <!-- daterangepicker -->
  1736. <script type="text/javascript" src="js/moment/moment.min.js"></script>
  1737. <script type="text/javascript" src="js/datepicker/daterangepicker.js"></script>
  1738. <!-- input mask -->
  1739. <script src="js/input_mask/jquery.inputmask.js"></script>
  1740. <!-- knob -->
  1741. <script src="js/knob/jquery.knob.min.js"></script>
  1742. <!-- range slider -->
  1743. <script src="js/ion_range/ion.rangeSlider.min.js"></script>
  1744. <!-- color picker -->
  1745. <script src="js/colorpicker/bootstrap-colorpicker.min.js"></script>
  1746. <script src="js/colorpicker/docs.js"></script>
  1747. <!-- image cropping -->
  1748. <script src="js/cropping/cropper.min.js"></script>
  1749. <script src="js/cropping/main2.js"></script>
  1750. <!-- pace -->
  1751. <script src="js/pace/pace.min.js"></script>
  1752. <!-- datepicker -->
  1753. <script type="text/javascript">
  1754. $(document).ready(function() {
  1755. var cb = function(start, end, label) {
  1756. console.log(start.toISOString(), end.toISOString(), label);
  1757. $('#reportrange_right span').html(start.format('MMMM D, YYYY') + ' - ' + end.format('MMMM D, YYYY'));
  1758. //alert("Callback has fired: [" + start.format('MMMM D, YYYY') + " to " + end.format('MMMM D, YYYY') + ", label = " + label + "]");
  1759. }
  1760. var optionSet1 = {
  1761. startDate: moment().subtract(29, 'days'),
  1762. endDate: moment(),
  1763. minDate: '01/01/2012',
  1764. maxDate: '12/31/2015',
  1765. dateLimit: {
  1766. days: 60
  1767. },
  1768. showDropdowns: true,
  1769. showWeekNumbers: true,
  1770. timePicker: false,
  1771. timePickerIncrement: 1,
  1772. timePicker12Hour: true,
  1773. ranges: {
  1774. 'Today': [moment(), moment()],
  1775. 'Yesterday': [moment().subtract(1, 'days'), moment().subtract(1, 'days')],
  1776. 'Last 7 Days': [moment().subtract(6, 'days'), moment()],
  1777. 'Last 30 Days': [moment().subtract(29, 'days'), moment()],
  1778. 'This Month': [moment().startOf('month'), moment().endOf('month')],
  1779. 'Last Month': [moment().subtract(1, 'month').startOf('month'), moment().subtract(1, 'month').endOf('month')]
  1780. },
  1781. opens: 'right',
  1782. buttonClasses: ['btn btn-default'],
  1783. applyClass: 'btn-small btn-primary',
  1784. cancelClass: 'btn-small',
  1785. format: 'MM/DD/YYYY',
  1786. separator: ' to ',
  1787. locale: {
  1788. applyLabel: 'Submit',
  1789. cancelLabel: 'Clear',
  1790. fromLabel: 'From',
  1791. toLabel: 'To',
  1792. customRangeLabel: 'Custom',
  1793. daysOfWeek: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'],
  1794. monthNames: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],
  1795. firstDay: 1
  1796. }
  1797. };
  1798. $('#reportrange_right span').html(moment().subtract(29, 'days').format('MMMM D, YYYY') + ' - ' + moment().format('MMMM D, YYYY'));
  1799. $('#reportrange_right').daterangepicker(optionSet1, cb);
  1800. $('#reportrange_right').on('show.daterangepicker', function() {
  1801. console.log("show event fired");
  1802. });
  1803. $('#reportrange_right').on('hide.daterangepicker', function() {
  1804. console.log("hide event fired");
  1805. });
  1806. $('#reportrange_right').on('apply.daterangepicker', function(ev, picker) {
  1807. console.log("apply event fired, start/end dates are " + picker.startDate.format('MMMM D, YYYY') + " to " + picker.endDate.format('MMMM D, YYYY'));
  1808. });
  1809. $('#reportrange_right').on('cancel.daterangepicker', function(ev, picker) {
  1810. console.log("cancel event fired");
  1811. });
  1812. $('#options1').click(function() {
  1813. $('#reportrange_right').data('daterangepicker').setOptions(optionSet1, cb);
  1814. });
  1815. $('#options2').click(function() {
  1816. $('#reportrange_right').data('daterangepicker').setOptions(optionSet2, cb);
  1817. });
  1818. $('#destroy').click(function() {
  1819. $('#reportrange_right').data('daterangepicker').remove();
  1820. });
  1821. });
  1822. </script>
  1823. <!-- datepicker -->
  1824. <script type="text/javascript">
  1825. $(document).ready(function() {
  1826. var cb = function(start, end, label) {
  1827. console.log(start.toISOString(), end.toISOString(), label);
  1828. $('#reportrange span').html(start.format('MMMM D, YYYY') + ' - ' + end.format('MMMM D, YYYY'));
  1829. //alert("Callback has fired: [" + start.format('MMMM D, YYYY') + " to " + end.format('MMMM D, YYYY') + ", label = " + label + "]");
  1830. }
  1831. var optionSet1 = {
  1832. startDate: moment().subtract(29, 'days'),
  1833. endDate: moment(),
  1834. minDate: '01/01/2012',
  1835. maxDate: '12/31/2015',
  1836. dateLimit: {
  1837. days: 60
  1838. },
  1839. showDropdowns: true,
  1840. showWeekNumbers: true,
  1841. timePicker: false,
  1842. timePickerIncrement: 1,
  1843. timePicker12Hour: true,
  1844. ranges: {
  1845. 'Today': [moment(), moment()],
  1846. 'Yesterday': [moment().subtract(1, 'days'), moment().subtract(1, 'days')],
  1847. 'Last 7 Days': [moment().subtract(6, 'days'), moment()],
  1848. 'Last 30 Days': [moment().subtract(29, 'days'), moment()],
  1849. 'This Month': [moment().startOf('month'), moment().endOf('month')],
  1850. 'Last Month': [moment().subtract(1, 'month').startOf('month'), moment().subtract(1, 'month').endOf('month')]
  1851. },
  1852. opens: 'left',
  1853. buttonClasses: ['btn btn-default'],
  1854. applyClass: 'btn-small btn-primary',
  1855. cancelClass: 'btn-small',
  1856. format: 'MM/DD/YYYY',
  1857. separator: ' to ',
  1858. locale: {
  1859. applyLabel: 'Submit',
  1860. cancelLabel: 'Clear',
  1861. fromLabel: 'From',
  1862. toLabel: 'To',
  1863. customRangeLabel: 'Custom',
  1864. daysOfWeek: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'],
  1865. monthNames: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],
  1866. firstDay: 1
  1867. }
  1868. };
  1869. $('#reportrange span').html(moment().subtract(29, 'days').format('MMMM D, YYYY') + ' - ' + moment().format('MMMM D, YYYY'));
  1870. $('#reportrange').daterangepicker(optionSet1, cb);
  1871. $('#reportrange').on('show.daterangepicker', function() {
  1872. console.log("show event fired");
  1873. });
  1874. $('#reportrange').on('hide.daterangepicker', function() {
  1875. console.log("hide event fired");
  1876. });
  1877. $('#reportrange').on('apply.daterangepicker', function(ev, picker) {
  1878. console.log("apply event fired, start/end dates are " + picker.startDate.format('MMMM D, YYYY') + " to " + picker.endDate.format('MMMM D, YYYY'));
  1879. });
  1880. $('#reportrange').on('cancel.daterangepicker', function(ev, picker) {
  1881. console.log("cancel event fired");
  1882. });
  1883. $('#options1').click(function() {
  1884. $('#reportrange').data('daterangepicker').setOptions(optionSet1, cb);
  1885. });
  1886. $('#options2').click(function() {
  1887. $('#reportrange').data('daterangepicker').setOptions(optionSet2, cb);
  1888. });
  1889. $('#destroy').click(function() {
  1890. $('#reportrange').data('daterangepicker').remove();
  1891. });
  1892. });
  1893. </script>
  1894. <!-- /datepicker -->
  1895. <script type="text/javascript">
  1896. $(document).ready(function() {
  1897. $('#single_cal1').daterangepicker({
  1898. singleDatePicker: true,
  1899. calender_style: "picker_1"
  1900. }, function(start, end, label) {
  1901. console.log(start.toISOString(), end.toISOString(), label);
  1902. });
  1903. $('#single_cal2').daterangepicker({
  1904. singleDatePicker: true,
  1905. calender_style: "picker_2"
  1906. }, function(start, end, label) {
  1907. console.log(start.toISOString(), end.toISOString(), label);
  1908. });
  1909. $('#single_cal3').daterangepicker({
  1910. singleDatePicker: true,
  1911. calender_style: "picker_3"
  1912. }, function(start, end, label) {
  1913. console.log(start.toISOString(), end.toISOString(), label);
  1914. });
  1915. $('#single_cal4').daterangepicker({
  1916. singleDatePicker: true,
  1917. calender_style: "picker_4"
  1918. }, function(start, end, label) {
  1919. console.log(start.toISOString(), end.toISOString(), label);
  1920. });
  1921. });
  1922. </script>
  1923. <script type="text/javascript">
  1924. $(document).ready(function() {
  1925. $('#reservation').daterangepicker(null, function(start, end, label) {
  1926. console.log(start.toISOString(), end.toISOString(), label);
  1927. });
  1928. });
  1929. </script>
  1930. <!-- /datepicker -->
  1931. <!-- input_mask -->
  1932. <script>
  1933. $(document).ready(function() {
  1934. $(":input").inputmask();
  1935. });
  1936. </script>
  1937. <!-- /input mask -->
  1938. <!-- ion_range -->
  1939. <script>
  1940. $(function() {
  1941. $("#range_27").ionRangeSlider({
  1942. type: "double",
  1943. min: 1000000,
  1944. max: 2000000,
  1945. grid: true,
  1946. force_edges: true
  1947. });
  1948. $("#range").ionRangeSlider({
  1949. hide_min_max: true,
  1950. keyboard: true,
  1951. min: 0,
  1952. max: 5000,
  1953. from: 1000,
  1954. to: 4000,
  1955. type: 'double',
  1956. step: 1,
  1957. prefix: "$",
  1958. grid: true
  1959. });
  1960. $("#range_25").ionRangeSlider({
  1961. type: "double",
  1962. min: 1000000,
  1963. max: 2000000,
  1964. grid: true
  1965. });
  1966. $("#range_26").ionRangeSlider({
  1967. type: "double",
  1968. min: 0,
  1969. max: 10000,
  1970. step: 500,
  1971. grid: true,
  1972. grid_snap: true
  1973. });
  1974. $("#range_31").ionRangeSlider({
  1975. type: "double",
  1976. min: 0,
  1977. max: 100,
  1978. from: 30,
  1979. to: 70,
  1980. from_fixed: true
  1981. });
  1982. $(".range_min_max").ionRangeSlider({
  1983. type: "double",
  1984. min: 0,
  1985. max: 100,
  1986. from: 30,
  1987. to: 70,
  1988. max_interval: 50
  1989. });
  1990. $(".range_time24").ionRangeSlider({
  1991. min: +moment().subtract(12, "hours").format("X"),
  1992. max: +moment().format("X"),
  1993. from: +moment().subtract(6, "hours").format("X"),
  1994. grid: true,
  1995. force_edges: true,
  1996. prettify: function(num) {
  1997. var m = moment(num, "X");
  1998. return m.format("Do MMMM, HH:mm");
  1999. }
  2000. });
  2001. });
  2002. </script>
  2003. <!-- /ion_range -->
  2004. <!-- knob -->
  2005. <script>
  2006. $(function($) {
  2007. $(".knob").knob({
  2008. change: function(value) {
  2009. //console.log("change : " + value);
  2010. },
  2011. release: function(value) {
  2012. //console.log(this.$.attr('value'));
  2013. console.log("release : " + value);
  2014. },
  2015. cancel: function() {
  2016. console.log("cancel : ", this);
  2017. },
  2018. /*format : function (value) {
  2019. return value + '%';
  2020. },*/
  2021. draw: function() {
  2022. // "tron" case
  2023. if (this.$.data('skin') == 'tron') {
  2024. this.cursorExt = 0.3;
  2025. var a = this.arc(this.cv) // Arc
  2026. ,
  2027. pa // Previous arc
  2028. , r = 1;
  2029. this.g.lineWidth = this.lineWidth;
  2030. if (this.o.displayPrevious) {
  2031. pa = this.arc(this.v);
  2032. this.g.beginPath();
  2033. this.g.strokeStyle = this.pColor;
  2034. this.g.arc(this.xy, this.xy, this.radius - this.lineWidth, pa.s, pa.e, pa.d);
  2035. this.g.stroke();
  2036. }
  2037. this.g.beginPath();
  2038. this.g.strokeStyle = r ? this.o.fgColor : this.fgColor;
  2039. this.g.arc(this.xy, this.xy, this.radius - this.lineWidth, a.s, a.e, a.d);
  2040. this.g.stroke();
  2041. this.g.lineWidth = 2;
  2042. this.g.beginPath();
  2043. this.g.strokeStyle = this.o.fgColor;
  2044. this.g.arc(this.xy, this.xy, this.radius - this.lineWidth + 1 + this.lineWidth * 2 / 3, 0, 2 * Math.PI, false);
  2045. this.g.stroke();
  2046. return false;
  2047. }
  2048. }
  2049. });
  2050. // Example of infinite knob, iPod click wheel
  2051. var v, up = 0,
  2052. down = 0,
  2053. i = 0,
  2054. $idir = $("div.idir"),
  2055. $ival = $("div.ival"),
  2056. incr = function() {
  2057. i++;
  2058. $idir.show().html("+").fadeOut();
  2059. $ival.html(i);
  2060. },
  2061. decr = function() {
  2062. i--;
  2063. $idir.show().html("-").fadeOut();
  2064. $ival.html(i);
  2065. };
  2066. $("input.infinite").knob({
  2067. min: 0,
  2068. max: 20,
  2069. stopper: false,
  2070. change: function() {
  2071. if (v > this.cv) {
  2072. if (up) {
  2073. decr();
  2074. up = 0;
  2075. } else {
  2076. up = 1;
  2077. down = 0;
  2078. }
  2079. } else {
  2080. if (v < this.cv) {
  2081. if (down) {
  2082. incr();
  2083. down = 0;
  2084. } else {
  2085. down = 1;
  2086. up = 0;
  2087. }
  2088. }
  2089. }
  2090. v = this.cv;
  2091. }
  2092. });
  2093. });
  2094. </script>
  2095. <!-- /knob -->
  2096. </body>
  2097. </html>