400.html 113 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404
  1. <!doctype html>
  2. <!--
  3. * Tabler - Premium and Open Source dashboard template with responsive and high quality UI.
  4. * @version 1.0.0-alpha.4
  5. * @link https://github.com/tabler/tabler
  6. * Copyright 2018-2019 The Tabler Authors
  7. * Copyright 2018-2019 codecalm.net Paweł Kuna
  8. * Licensed under MIT (https://tabler.io/license)
  9. -->
  10. <html lang="en">
  11. <head>
  12. <meta charset="utf-8"/>
  13. <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover"/>
  14. <meta http-equiv="X-UA-Compatible" content="ie=edge"/>
  15. <title>Page 400 - Tabler - Premium and Open Source dashboard template with responsive and high quality UI.</title>
  16. <link rel="preconnect" href="https://fonts.gstatic.com/" crossorigin>
  17. <meta name="msapplication-TileColor" content="#206bc4"/>
  18. <meta name="theme-color" content="#206bc4"/>
  19. <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/>
  20. <meta name="apple-mobile-web-app-capable" content="yes"/>
  21. <meta name="mobile-web-app-capable" content="yes"/>
  22. <meta name="HandheldFriendly" content="True"/>
  23. <meta name="MobileOptimized" content="320"/>
  24. <meta name="robots" content="noindex,nofollow,noarchive"/>
  25. <link rel="icon" href="./favicon.ico" type="image/x-icon"/>
  26. <link rel="shortcut icon" href="./favicon.ico" type="image/x-icon"/>
  27. <!-- Libs CSS -->
  28. <link href="./dist/libs/jqvmap/dist/jqvmap.min.css" rel="stylesheet"/>
  29. <link href="./dist/libs/selectize/dist/css/selectize.css" rel="stylesheet"/>
  30. <link href="./dist/libs/fullcalendar/core/main.min.css" rel="stylesheet"/>
  31. <link href="./dist/libs/fullcalendar/daygrid/main.min.css" rel="stylesheet"/>
  32. <link href="./dist/libs/fullcalendar/timegrid/main.min.css" rel="stylesheet"/>
  33. <link href="./dist/libs/fullcalendar/list/main.min.css" rel="stylesheet"/>
  34. <link href="./dist/libs/flatpickr/dist/flatpickr.min.css" rel="stylesheet"/>
  35. <link href="./dist/libs/nouislider/distribute/nouislider.min.css" rel="stylesheet"/>
  36. <link href="https://api.mapbox.com/mapbox-gl-js/v1.8.0/mapbox-gl.css" rel="stylesheet"/>
  37. <!-- Tabler Core -->
  38. <link href="./dist/css/tabler.min.css" rel="stylesheet"/>
  39. <!-- Tabler Plugins -->
  40. <link href="./dist/css/tabler-flags.min.css" rel="stylesheet"/>
  41. <link href="./dist/css/tabler-payments.min.css" rel="stylesheet"/>
  42. <link href="./dist/css/tabler-buttons.min.css" rel="stylesheet"/>
  43. <link href="./dist/css/demo.min.css" rel="stylesheet"/>
  44. <style>
  45. body {
  46. display: none;
  47. }
  48. </style>
  49. </head>
  50. <body class="antialiased border-top-wide border-primary d-flex flex-column">
  51. <div class="flex-fill d-flex align-items-center justify-content-center">
  52. <div class="container-tight py-6">
  53. <div class="empty">
  54. <div class="empty-icon">
  55. <div class="display-4">400</div>
  56. </div>
  57. <p class="empty-title h3">Oops… You just found an error page</p>
  58. <p class="empty-subtitle text-muted">
  59. We are sorry but your request contains bad syntax and cannot be fulfilled
  60. </p>
  61. <div class="empty-action">
  62. <a href="./." class="btn btn-primary">
  63. <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon"><line x1="19" y1="12" x2="5" y2="12"></line><polyline points="12 19 5 12 12 5"></polyline></svg>
  64. Take me home
  65. </a>
  66. </div>
  67. </div>
  68. </div>
  69. </div>
  70. <div class="modal modal-blur fade" id="modal-customize" tabindex="-1" role="dialog" aria-hidden="true">
  71. <div class="modal-dialog" role="document">
  72. <div class="modal-content">
  73. <div class="modal-header">
  74. <h5 class="modal-title">Customize Tabler</h5>
  75. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  76. <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>
  77. </button>
  78. </div>
  79. <div class="modal-body">
  80. <p class="text-muted">Set preferences that will be saved for your live preview.</p>
  81. <div class="mb-3">
  82. <label class="form-label">Color scheme</label>
  83. <div class="form-hint">Light or dark presentation.</div>
  84. <div class="btn-group w-100">
  85. <button class="btn btn-secondary" data-theme-toggle="theme:light"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon"><circle cx="12" cy="12" r="5"></circle><line x1="12" y1="1" x2="12" y2="3"></line><line x1="12" y1="21" x2="12" y2="23"></line><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line><line x1="1" y1="12" x2="3" y2="12"></line><line x1="21" y1="12" x2="23" y2="12"></line><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line></svg>
  86. Light</button>
  87. <button class="btn btn-secondary" data-theme-toggle="theme:dark"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path></svg>
  88. Dark</button>
  89. </div>
  90. </div>
  91. <div class="mb-4 text-muted">
  92. You can use the <code>.theme-dark-auto</code> class to automatically adjust the color version to the system settings.
  93. </div>
  94. <div class="mb-3">
  95. <label class="form-label">Navigation position</label>
  96. <div class="form-hint">Choose where the main navigation in your project should be located.</div>
  97. <div class="btn-group w-100">
  98. <button class="btn btn-secondary" data-theme-toggle="navbar-position:horizontal">Topnav</button>
  99. <button class="btn btn-secondary" data-theme-toggle="navbar-position:vertical">Sidenav</button>
  100. <button class="btn btn-secondary" data-theme-toggle="navbar-position:both">Both</button>
  101. </div>
  102. </div>
  103. <div class="mb-3">
  104. <label class="form-label">Sidebar size</label>
  105. <div class="form-hint">Standard sidebar width or narrow version with icons only.</div>
  106. <div class="btn-group w-100">
  107. <button class="btn btn-secondary" data-theme-toggle="navbar-size:wide">Wide</button>
  108. <button class="btn btn-secondary" data-theme-toggle="navbar-size:narrow">Narrow</button>
  109. </div>
  110. </div>
  111. <div class="mb-3">
  112. <label class="form-label">Sidebar position</label>
  113. <div class="form-hint">Choose whether the sidebar should appear on the left or on the right.</div>
  114. <div class="btn-group w-100">
  115. <button class="btn btn-secondary" data-theme-toggle="navbar-side:left">Left</button>
  116. <button class="btn btn-secondary" data-theme-toggle="navbar-side:right">Right</button>
  117. </div>
  118. </div>
  119. <div>
  120. <label class="form-label">Navigation color</label>
  121. <div class="form-hint">Light or dark version of the sidebar </div>
  122. <div class="btn-group w-100">
  123. <button class="btn btn-secondary" data-theme-toggle="navbar-color:light">Light</button>
  124. <button class="btn btn-secondary" data-theme-toggle="navbar-color:dark">Dark</button>
  125. </div>
  126. </div>
  127. </div>
  128. </div>
  129. </div>
  130. </div>
  131. <div class="modal modal-blur fade" id="modal-customize" tabindex="-1" role="dialog" aria-hidden="true">
  132. <div class="modal-dialog" role="document">
  133. <div class="modal-content">
  134. <div class="modal-header">
  135. <h5 class="modal-title">Customize Tabler</h5>
  136. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  137. <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>
  138. </button>
  139. </div>
  140. <div class="modal-body">
  141. <p class="text-muted">Set preferences that will be saved for your live preview.</p>
  142. <div class="mb-3">
  143. <label class="form-label">Color scheme</label>
  144. <div class="form-hint">Light or dark presentation.</div>
  145. <div class="btn-group w-100">
  146. <button class="btn btn-secondary" data-theme-toggle="theme:light"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon"><circle cx="12" cy="12" r="5"></circle><line x1="12" y1="1" x2="12" y2="3"></line><line x1="12" y1="21" x2="12" y2="23"></line><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line><line x1="1" y1="12" x2="3" y2="12"></line><line x1="21" y1="12" x2="23" y2="12"></line><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line></svg>
  147. Light</button>
  148. <button class="btn btn-secondary" data-theme-toggle="theme:dark"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path></svg>
  149. Dark</button>
  150. </div>
  151. </div>
  152. <div class="mb-4 text-muted">
  153. You can use the <code>.theme-dark-auto</code> class to automatically adjust the color version to the system settings.
  154. </div>
  155. <div class="mb-3">
  156. <label class="form-label">Navigation position</label>
  157. <div class="form-hint">Choose where the main navigation in your project should be located.</div>
  158. <div class="btn-group w-100">
  159. <button class="btn btn-secondary" data-theme-toggle="navbar-position:horizontal">Topnav</button>
  160. <button class="btn btn-secondary" data-theme-toggle="navbar-position:vertical">Sidenav</button>
  161. <button class="btn btn-secondary" data-theme-toggle="navbar-position:both">Both</button>
  162. </div>
  163. </div>
  164. <div class="mb-3">
  165. <label class="form-label">Sidebar size</label>
  166. <div class="form-hint">Standard sidebar width or narrow version with icons only.</div>
  167. <div class="btn-group w-100">
  168. <button class="btn btn-secondary" data-theme-toggle="navbar-size:wide">Wide</button>
  169. <button class="btn btn-secondary" data-theme-toggle="navbar-size:narrow">Narrow</button>
  170. </div>
  171. </div>
  172. <div class="mb-3">
  173. <label class="form-label">Sidebar position</label>
  174. <div class="form-hint">Choose whether the sidebar should appear on the left or on the right.</div>
  175. <div class="btn-group w-100">
  176. <button class="btn btn-secondary" data-theme-toggle="navbar-side:left">Left</button>
  177. <button class="btn btn-secondary" data-theme-toggle="navbar-side:right">Right</button>
  178. </div>
  179. </div>
  180. <div>
  181. <label class="form-label">Navigation color</label>
  182. <div class="form-hint">Light or dark version of the sidebar </div>
  183. <div class="btn-group w-100">
  184. <button class="btn btn-secondary" data-theme-toggle="navbar-color:light">Light</button>
  185. <button class="btn btn-secondary" data-theme-toggle="navbar-color:dark">Dark</button>
  186. </div>
  187. </div>
  188. </div>
  189. </div>
  190. </div>
  191. </div>
  192. <div class="modal modal-blur fade" id="modal-customize" tabindex="-1" role="dialog" aria-hidden="true">
  193. <div class="modal-dialog" role="document">
  194. <div class="modal-content">
  195. <div class="modal-header">
  196. <h5 class="modal-title">Customize Tabler</h5>
  197. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  198. <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>
  199. </button>
  200. </div>
  201. <div class="modal-body">
  202. <p class="text-muted">Set preferences that will be saved for your live preview.</p>
  203. <div class="mb-3">
  204. <label class="form-label">Color scheme</label>
  205. <div class="form-hint">Light or dark presentation.</div>
  206. <div class="btn-group w-100">
  207. <button class="btn btn-secondary" data-theme-toggle="theme:light"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon"><circle cx="12" cy="12" r="5"></circle><line x1="12" y1="1" x2="12" y2="3"></line><line x1="12" y1="21" x2="12" y2="23"></line><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line><line x1="1" y1="12" x2="3" y2="12"></line><line x1="21" y1="12" x2="23" y2="12"></line><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line></svg>
  208. Light</button>
  209. <button class="btn btn-secondary" data-theme-toggle="theme:dark"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path></svg>
  210. Dark</button>
  211. </div>
  212. </div>
  213. <div class="mb-4 text-muted">
  214. You can use the <code>.theme-dark-auto</code> class to automatically adjust the color version to the system settings.
  215. </div>
  216. <div class="mb-3">
  217. <label class="form-label">Navigation position</label>
  218. <div class="form-hint">Choose where the main navigation in your project should be located.</div>
  219. <div class="btn-group w-100">
  220. <button class="btn btn-secondary" data-theme-toggle="navbar-position:horizontal">Topnav</button>
  221. <button class="btn btn-secondary" data-theme-toggle="navbar-position:vertical">Sidenav</button>
  222. <button class="btn btn-secondary" data-theme-toggle="navbar-position:both">Both</button>
  223. </div>
  224. </div>
  225. <div class="mb-3">
  226. <label class="form-label">Sidebar size</label>
  227. <div class="form-hint">Standard sidebar width or narrow version with icons only.</div>
  228. <div class="btn-group w-100">
  229. <button class="btn btn-secondary" data-theme-toggle="navbar-size:wide">Wide</button>
  230. <button class="btn btn-secondary" data-theme-toggle="navbar-size:narrow">Narrow</button>
  231. </div>
  232. </div>
  233. <div class="mb-3">
  234. <label class="form-label">Sidebar position</label>
  235. <div class="form-hint">Choose whether the sidebar should appear on the left or on the right.</div>
  236. <div class="btn-group w-100">
  237. <button class="btn btn-secondary" data-theme-toggle="navbar-side:left">Left</button>
  238. <button class="btn btn-secondary" data-theme-toggle="navbar-side:right">Right</button>
  239. </div>
  240. </div>
  241. <div>
  242. <label class="form-label">Navigation color</label>
  243. <div class="form-hint">Light or dark version of the sidebar </div>
  244. <div class="btn-group w-100">
  245. <button class="btn btn-secondary" data-theme-toggle="navbar-color:light">Light</button>
  246. <button class="btn btn-secondary" data-theme-toggle="navbar-color:dark">Dark</button>
  247. </div>
  248. </div>
  249. </div>
  250. </div>
  251. </div>
  252. </div>
  253. <div class="modal modal-blur fade" id="modal-customize" tabindex="-1" role="dialog" aria-hidden="true">
  254. <div class="modal-dialog" role="document">
  255. <div class="modal-content">
  256. <div class="modal-header">
  257. <h5 class="modal-title">Customize Tabler</h5>
  258. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  259. <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>
  260. </button>
  261. </div>
  262. <div class="modal-body">
  263. <p class="text-muted">Set preferences that will be saved for your live preview.</p>
  264. <div class="mb-3">
  265. <label class="form-label">Color scheme</label>
  266. <div class="form-hint">Light or dark presentation.</div>
  267. <div class="btn-group w-100">
  268. <button class="btn btn-secondary" data-theme-toggle="theme:light"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon"><circle cx="12" cy="12" r="5"></circle><line x1="12" y1="1" x2="12" y2="3"></line><line x1="12" y1="21" x2="12" y2="23"></line><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line><line x1="1" y1="12" x2="3" y2="12"></line><line x1="21" y1="12" x2="23" y2="12"></line><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line></svg>
  269. Light</button>
  270. <button class="btn btn-secondary" data-theme-toggle="theme:dark"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path></svg>
  271. Dark</button>
  272. </div>
  273. </div>
  274. <div class="mb-4 text-muted">
  275. You can use the <code>.theme-dark-auto</code> class to automatically adjust the color version to the system settings.
  276. </div>
  277. <div class="mb-3">
  278. <label class="form-label">Navigation position</label>
  279. <div class="form-hint">Choose where the main navigation in your project should be located.</div>
  280. <div class="btn-group w-100">
  281. <button class="btn btn-secondary" data-theme-toggle="navbar-position:horizontal">Topnav</button>
  282. <button class="btn btn-secondary" data-theme-toggle="navbar-position:vertical">Sidenav</button>
  283. <button class="btn btn-secondary" data-theme-toggle="navbar-position:both">Both</button>
  284. </div>
  285. </div>
  286. <div class="mb-3">
  287. <label class="form-label">Sidebar size</label>
  288. <div class="form-hint">Standard sidebar width or narrow version with icons only.</div>
  289. <div class="btn-group w-100">
  290. <button class="btn btn-secondary" data-theme-toggle="navbar-size:wide">Wide</button>
  291. <button class="btn btn-secondary" data-theme-toggle="navbar-size:narrow">Narrow</button>
  292. </div>
  293. </div>
  294. <div class="mb-3">
  295. <label class="form-label">Sidebar position</label>
  296. <div class="form-hint">Choose whether the sidebar should appear on the left or on the right.</div>
  297. <div class="btn-group w-100">
  298. <button class="btn btn-secondary" data-theme-toggle="navbar-side:left">Left</button>
  299. <button class="btn btn-secondary" data-theme-toggle="navbar-side:right">Right</button>
  300. </div>
  301. </div>
  302. <div>
  303. <label class="form-label">Navigation color</label>
  304. <div class="form-hint">Light or dark version of the sidebar </div>
  305. <div class="btn-group w-100">
  306. <button class="btn btn-secondary" data-theme-toggle="navbar-color:light">Light</button>
  307. <button class="btn btn-secondary" data-theme-toggle="navbar-color:dark">Dark</button>
  308. </div>
  309. </div>
  310. </div>
  311. </div>
  312. </div>
  313. </div>
  314. <div class="modal modal-blur fade" id="modal-customize" tabindex="-1" role="dialog" aria-hidden="true">
  315. <div class="modal-dialog" role="document">
  316. <div class="modal-content">
  317. <div class="modal-header">
  318. <h5 class="modal-title">Customize Tabler</h5>
  319. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  320. <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>
  321. </button>
  322. </div>
  323. <div class="modal-body">
  324. <p class="text-muted">Set preferences that will be saved for your live preview.</p>
  325. <div class="mb-3">
  326. <label class="form-label">Color scheme</label>
  327. <div class="form-hint">Light or dark presentation.</div>
  328. <div class="btn-group w-100">
  329. <button class="btn btn-secondary" data-theme-toggle="theme:light"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon"><circle cx="12" cy="12" r="5"></circle><line x1="12" y1="1" x2="12" y2="3"></line><line x1="12" y1="21" x2="12" y2="23"></line><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line><line x1="1" y1="12" x2="3" y2="12"></line><line x1="21" y1="12" x2="23" y2="12"></line><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line></svg>
  330. Light</button>
  331. <button class="btn btn-secondary" data-theme-toggle="theme:dark"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path></svg>
  332. Dark</button>
  333. </div>
  334. </div>
  335. <div class="mb-4 text-muted">
  336. You can use the <code>.theme-dark-auto</code> class to automatically adjust the color version to the system settings.
  337. </div>
  338. <div class="mb-3">
  339. <label class="form-label">Navigation position</label>
  340. <div class="form-hint">Choose where the main navigation in your project should be located.</div>
  341. <div class="btn-group w-100">
  342. <button class="btn btn-secondary" data-theme-toggle="navbar-position:horizontal">Topnav</button>
  343. <button class="btn btn-secondary" data-theme-toggle="navbar-position:vertical">Sidenav</button>
  344. <button class="btn btn-secondary" data-theme-toggle="navbar-position:both">Both</button>
  345. </div>
  346. </div>
  347. <div class="mb-3">
  348. <label class="form-label">Sidebar size</label>
  349. <div class="form-hint">Standard sidebar width or narrow version with icons only.</div>
  350. <div class="btn-group w-100">
  351. <button class="btn btn-secondary" data-theme-toggle="navbar-size:wide">Wide</button>
  352. <button class="btn btn-secondary" data-theme-toggle="navbar-size:narrow">Narrow</button>
  353. </div>
  354. </div>
  355. <div class="mb-3">
  356. <label class="form-label">Sidebar position</label>
  357. <div class="form-hint">Choose whether the sidebar should appear on the left or on the right.</div>
  358. <div class="btn-group w-100">
  359. <button class="btn btn-secondary" data-theme-toggle="navbar-side:left">Left</button>
  360. <button class="btn btn-secondary" data-theme-toggle="navbar-side:right">Right</button>
  361. </div>
  362. </div>
  363. <div>
  364. <label class="form-label">Navigation color</label>
  365. <div class="form-hint">Light or dark version of the sidebar </div>
  366. <div class="btn-group w-100">
  367. <button class="btn btn-secondary" data-theme-toggle="navbar-color:light">Light</button>
  368. <button class="btn btn-secondary" data-theme-toggle="navbar-color:dark">Dark</button>
  369. </div>
  370. </div>
  371. </div>
  372. </div>
  373. </div>
  374. </div>
  375. <div class="modal modal-blur fade" id="modal-customize" tabindex="-1" role="dialog" aria-hidden="true">
  376. <div class="modal-dialog" role="document">
  377. <div class="modal-content">
  378. <div class="modal-header">
  379. <h5 class="modal-title">Customize Tabler</h5>
  380. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  381. <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>
  382. </button>
  383. </div>
  384. <div class="modal-body">
  385. <p class="text-muted">Set preferences that will be saved for your live preview.</p>
  386. <div class="mb-3">
  387. <label class="form-label">Color scheme</label>
  388. <div class="form-hint">Light or dark presentation.</div>
  389. <div class="btn-group w-100">
  390. <button class="btn btn-secondary" data-theme-toggle="theme:light"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon"><circle cx="12" cy="12" r="5"></circle><line x1="12" y1="1" x2="12" y2="3"></line><line x1="12" y1="21" x2="12" y2="23"></line><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line><line x1="1" y1="12" x2="3" y2="12"></line><line x1="21" y1="12" x2="23" y2="12"></line><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line></svg>
  391. Light</button>
  392. <button class="btn btn-secondary" data-theme-toggle="theme:dark"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path></svg>
  393. Dark</button>
  394. </div>
  395. </div>
  396. <div class="mb-4 text-muted">
  397. You can use the <code>.theme-dark-auto</code> class to automatically adjust the color version to the system settings.
  398. </div>
  399. <div class="mb-3">
  400. <label class="form-label">Navigation position</label>
  401. <div class="form-hint">Choose where the main navigation in your project should be located.</div>
  402. <div class="btn-group w-100">
  403. <button class="btn btn-secondary" data-theme-toggle="navbar-position:horizontal">Topnav</button>
  404. <button class="btn btn-secondary" data-theme-toggle="navbar-position:vertical">Sidenav</button>
  405. <button class="btn btn-secondary" data-theme-toggle="navbar-position:both">Both</button>
  406. </div>
  407. </div>
  408. <div class="mb-3">
  409. <label class="form-label">Sidebar size</label>
  410. <div class="form-hint">Standard sidebar width or narrow version with icons only.</div>
  411. <div class="btn-group w-100">
  412. <button class="btn btn-secondary" data-theme-toggle="navbar-size:wide">Wide</button>
  413. <button class="btn btn-secondary" data-theme-toggle="navbar-size:narrow">Narrow</button>
  414. </div>
  415. </div>
  416. <div class="mb-3">
  417. <label class="form-label">Sidebar position</label>
  418. <div class="form-hint">Choose whether the sidebar should appear on the left or on the right.</div>
  419. <div class="btn-group w-100">
  420. <button class="btn btn-secondary" data-theme-toggle="navbar-side:left">Left</button>
  421. <button class="btn btn-secondary" data-theme-toggle="navbar-side:right">Right</button>
  422. </div>
  423. </div>
  424. <div>
  425. <label class="form-label">Navigation color</label>
  426. <div class="form-hint">Light or dark version of the sidebar </div>
  427. <div class="btn-group w-100">
  428. <button class="btn btn-secondary" data-theme-toggle="navbar-color:light">Light</button>
  429. <button class="btn btn-secondary" data-theme-toggle="navbar-color:dark">Dark</button>
  430. </div>
  431. </div>
  432. </div>
  433. </div>
  434. </div>
  435. </div>
  436. <div class="modal modal-blur fade" id="modal-customize" tabindex="-1" role="dialog" aria-hidden="true">
  437. <div class="modal-dialog" role="document">
  438. <div class="modal-content">
  439. <div class="modal-header">
  440. <h5 class="modal-title">Customize Tabler</h5>
  441. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  442. <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>
  443. </button>
  444. </div>
  445. <div class="modal-body">
  446. <p class="text-muted">Set preferences that will be saved for your live preview.</p>
  447. <div class="mb-3">
  448. <label class="form-label">Color scheme</label>
  449. <div class="form-hint">Light or dark presentation.</div>
  450. <div class="btn-group w-100">
  451. <button class="btn btn-secondary" data-theme-toggle="theme:light"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon"><circle cx="12" cy="12" r="5"></circle><line x1="12" y1="1" x2="12" y2="3"></line><line x1="12" y1="21" x2="12" y2="23"></line><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line><line x1="1" y1="12" x2="3" y2="12"></line><line x1="21" y1="12" x2="23" y2="12"></line><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line></svg>
  452. Light</button>
  453. <button class="btn btn-secondary" data-theme-toggle="theme:dark"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path></svg>
  454. Dark</button>
  455. </div>
  456. </div>
  457. <div class="mb-4 text-muted">
  458. You can use the <code>.theme-dark-auto</code> class to automatically adjust the color version to the system settings.
  459. </div>
  460. <div class="mb-3">
  461. <label class="form-label">Navigation position</label>
  462. <div class="form-hint">Choose where the main navigation in your project should be located.</div>
  463. <div class="btn-group w-100">
  464. <button class="btn btn-secondary" data-theme-toggle="navbar-position:horizontal">Topnav</button>
  465. <button class="btn btn-secondary" data-theme-toggle="navbar-position:vertical">Sidenav</button>
  466. <button class="btn btn-secondary" data-theme-toggle="navbar-position:both">Both</button>
  467. </div>
  468. </div>
  469. <div class="mb-3">
  470. <label class="form-label">Sidebar size</label>
  471. <div class="form-hint">Standard sidebar width or narrow version with icons only.</div>
  472. <div class="btn-group w-100">
  473. <button class="btn btn-secondary" data-theme-toggle="navbar-size:wide">Wide</button>
  474. <button class="btn btn-secondary" data-theme-toggle="navbar-size:narrow">Narrow</button>
  475. </div>
  476. </div>
  477. <div class="mb-3">
  478. <label class="form-label">Sidebar position</label>
  479. <div class="form-hint">Choose whether the sidebar should appear on the left or on the right.</div>
  480. <div class="btn-group w-100">
  481. <button class="btn btn-secondary" data-theme-toggle="navbar-side:left">Left</button>
  482. <button class="btn btn-secondary" data-theme-toggle="navbar-side:right">Right</button>
  483. </div>
  484. </div>
  485. <div>
  486. <label class="form-label">Navigation color</label>
  487. <div class="form-hint">Light or dark version of the sidebar </div>
  488. <div class="btn-group w-100">
  489. <button class="btn btn-secondary" data-theme-toggle="navbar-color:light">Light</button>
  490. <button class="btn btn-secondary" data-theme-toggle="navbar-color:dark">Dark</button>
  491. </div>
  492. </div>
  493. </div>
  494. </div>
  495. </div>
  496. </div>
  497. <div class="modal modal-blur fade" id="modal-customize" tabindex="-1" role="dialog" aria-hidden="true">
  498. <div class="modal-dialog" role="document">
  499. <div class="modal-content">
  500. <div class="modal-header">
  501. <h5 class="modal-title">Customize Tabler</h5>
  502. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  503. <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>
  504. </button>
  505. </div>
  506. <div class="modal-body">
  507. <p class="text-muted">Set preferences that will be saved for your live preview.</p>
  508. <div class="mb-3">
  509. <label class="form-label">Color scheme</label>
  510. <div class="form-hint">Light or dark presentation.</div>
  511. <div class="btn-group w-100">
  512. <button class="btn btn-secondary" data-theme-toggle="theme:light"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon"><circle cx="12" cy="12" r="5"></circle><line x1="12" y1="1" x2="12" y2="3"></line><line x1="12" y1="21" x2="12" y2="23"></line><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line><line x1="1" y1="12" x2="3" y2="12"></line><line x1="21" y1="12" x2="23" y2="12"></line><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line></svg>
  513. Light</button>
  514. <button class="btn btn-secondary" data-theme-toggle="theme:dark"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path></svg>
  515. Dark</button>
  516. </div>
  517. </div>
  518. <div class="mb-4 text-muted">
  519. You can use the <code>.theme-dark-auto</code> class to automatically adjust the color version to the system settings.
  520. </div>
  521. <div class="mb-3">
  522. <label class="form-label">Navigation position</label>
  523. <div class="form-hint">Choose where the main navigation in your project should be located.</div>
  524. <div class="btn-group w-100">
  525. <button class="btn btn-secondary" data-theme-toggle="navbar-position:horizontal">Topnav</button>
  526. <button class="btn btn-secondary" data-theme-toggle="navbar-position:vertical">Sidenav</button>
  527. <button class="btn btn-secondary" data-theme-toggle="navbar-position:both">Both</button>
  528. </div>
  529. </div>
  530. <div class="mb-3">
  531. <label class="form-label">Sidebar size</label>
  532. <div class="form-hint">Standard sidebar width or narrow version with icons only.</div>
  533. <div class="btn-group w-100">
  534. <button class="btn btn-secondary" data-theme-toggle="navbar-size:wide">Wide</button>
  535. <button class="btn btn-secondary" data-theme-toggle="navbar-size:narrow">Narrow</button>
  536. </div>
  537. </div>
  538. <div class="mb-3">
  539. <label class="form-label">Sidebar position</label>
  540. <div class="form-hint">Choose whether the sidebar should appear on the left or on the right.</div>
  541. <div class="btn-group w-100">
  542. <button class="btn btn-secondary" data-theme-toggle="navbar-side:left">Left</button>
  543. <button class="btn btn-secondary" data-theme-toggle="navbar-side:right">Right</button>
  544. </div>
  545. </div>
  546. <div>
  547. <label class="form-label">Navigation color</label>
  548. <div class="form-hint">Light or dark version of the sidebar </div>
  549. <div class="btn-group w-100">
  550. <button class="btn btn-secondary" data-theme-toggle="navbar-color:light">Light</button>
  551. <button class="btn btn-secondary" data-theme-toggle="navbar-color:dark">Dark</button>
  552. </div>
  553. </div>
  554. </div>
  555. </div>
  556. </div>
  557. </div>
  558. <div class="modal modal-blur fade" id="modal-customize" tabindex="-1" role="dialog" aria-hidden="true">
  559. <div class="modal-dialog" role="document">
  560. <div class="modal-content">
  561. <div class="modal-header">
  562. <h5 class="modal-title">Customize Tabler</h5>
  563. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  564. <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>
  565. </button>
  566. </div>
  567. <div class="modal-body">
  568. <p class="text-muted">Set preferences that will be saved for your live preview.</p>
  569. <div class="mb-3">
  570. <label class="form-label">Color scheme</label>
  571. <div class="form-hint">Light or dark presentation.</div>
  572. <div class="btn-group w-100">
  573. <button class="btn btn-secondary" data-theme-toggle="theme:light"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon"><circle cx="12" cy="12" r="5"></circle><line x1="12" y1="1" x2="12" y2="3"></line><line x1="12" y1="21" x2="12" y2="23"></line><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line><line x1="1" y1="12" x2="3" y2="12"></line><line x1="21" y1="12" x2="23" y2="12"></line><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line></svg>
  574. Light</button>
  575. <button class="btn btn-secondary" data-theme-toggle="theme:dark"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path></svg>
  576. Dark</button>
  577. </div>
  578. </div>
  579. <div class="mb-4 text-muted">
  580. You can use the <code>.theme-dark-auto</code> class to automatically adjust the color version to the system settings.
  581. </div>
  582. <div class="mb-3">
  583. <label class="form-label">Navigation position</label>
  584. <div class="form-hint">Choose where the main navigation in your project should be located.</div>
  585. <div class="btn-group w-100">
  586. <button class="btn btn-secondary" data-theme-toggle="navbar-position:horizontal">Topnav</button>
  587. <button class="btn btn-secondary" data-theme-toggle="navbar-position:vertical">Sidenav</button>
  588. <button class="btn btn-secondary" data-theme-toggle="navbar-position:both">Both</button>
  589. </div>
  590. </div>
  591. <div class="mb-3">
  592. <label class="form-label">Sidebar size</label>
  593. <div class="form-hint">Standard sidebar width or narrow version with icons only.</div>
  594. <div class="btn-group w-100">
  595. <button class="btn btn-secondary" data-theme-toggle="navbar-size:wide">Wide</button>
  596. <button class="btn btn-secondary" data-theme-toggle="navbar-size:narrow">Narrow</button>
  597. </div>
  598. </div>
  599. <div class="mb-3">
  600. <label class="form-label">Sidebar position</label>
  601. <div class="form-hint">Choose whether the sidebar should appear on the left or on the right.</div>
  602. <div class="btn-group w-100">
  603. <button class="btn btn-secondary" data-theme-toggle="navbar-side:left">Left</button>
  604. <button class="btn btn-secondary" data-theme-toggle="navbar-side:right">Right</button>
  605. </div>
  606. </div>
  607. <div>
  608. <label class="form-label">Navigation color</label>
  609. <div class="form-hint">Light or dark version of the sidebar </div>
  610. <div class="btn-group w-100">
  611. <button class="btn btn-secondary" data-theme-toggle="navbar-color:light">Light</button>
  612. <button class="btn btn-secondary" data-theme-toggle="navbar-color:dark">Dark</button>
  613. </div>
  614. </div>
  615. </div>
  616. </div>
  617. </div>
  618. </div>
  619. <div class="modal modal-blur fade" id="modal-customize" tabindex="-1" role="dialog" aria-hidden="true">
  620. <div class="modal-dialog" role="document">
  621. <div class="modal-content">
  622. <div class="modal-header">
  623. <h5 class="modal-title">Customize Tabler</h5>
  624. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  625. <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>
  626. </button>
  627. </div>
  628. <div class="modal-body">
  629. <p class="text-muted">Set preferences that will be saved for your live preview.</p>
  630. <div class="mb-3">
  631. <label class="form-label">Color scheme</label>
  632. <div class="form-hint">Light or dark presentation.</div>
  633. <div class="btn-group w-100">
  634. <button class="btn btn-secondary" data-theme-toggle="theme:light"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon"><circle cx="12" cy="12" r="5"></circle><line x1="12" y1="1" x2="12" y2="3"></line><line x1="12" y1="21" x2="12" y2="23"></line><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line><line x1="1" y1="12" x2="3" y2="12"></line><line x1="21" y1="12" x2="23" y2="12"></line><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line></svg>
  635. Light</button>
  636. <button class="btn btn-secondary" data-theme-toggle="theme:dark"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path></svg>
  637. Dark</button>
  638. </div>
  639. </div>
  640. <div class="mb-4 text-muted">
  641. You can use the <code>.theme-dark-auto</code> class to automatically adjust the color version to the system settings.
  642. </div>
  643. <div class="mb-3">
  644. <label class="form-label">Navigation position</label>
  645. <div class="form-hint">Choose where the main navigation in your project should be located.</div>
  646. <div class="btn-group w-100">
  647. <button class="btn btn-secondary" data-theme-toggle="navbar-position:horizontal">Topnav</button>
  648. <button class="btn btn-secondary" data-theme-toggle="navbar-position:vertical">Sidenav</button>
  649. <button class="btn btn-secondary" data-theme-toggle="navbar-position:both">Both</button>
  650. </div>
  651. </div>
  652. <div class="mb-3">
  653. <label class="form-label">Sidebar size</label>
  654. <div class="form-hint">Standard sidebar width or narrow version with icons only.</div>
  655. <div class="btn-group w-100">
  656. <button class="btn btn-secondary" data-theme-toggle="navbar-size:wide">Wide</button>
  657. <button class="btn btn-secondary" data-theme-toggle="navbar-size:narrow">Narrow</button>
  658. </div>
  659. </div>
  660. <div class="mb-3">
  661. <label class="form-label">Sidebar position</label>
  662. <div class="form-hint">Choose whether the sidebar should appear on the left or on the right.</div>
  663. <div class="btn-group w-100">
  664. <button class="btn btn-secondary" data-theme-toggle="navbar-side:left">Left</button>
  665. <button class="btn btn-secondary" data-theme-toggle="navbar-side:right">Right</button>
  666. </div>
  667. </div>
  668. <div>
  669. <label class="form-label">Navigation color</label>
  670. <div class="form-hint">Light or dark version of the sidebar </div>
  671. <div class="btn-group w-100">
  672. <button class="btn btn-secondary" data-theme-toggle="navbar-color:light">Light</button>
  673. <button class="btn btn-secondary" data-theme-toggle="navbar-color:dark">Dark</button>
  674. </div>
  675. </div>
  676. </div>
  677. </div>
  678. </div>
  679. </div>
  680. <div class="modal modal-blur fade" id="modal-customize" tabindex="-1" role="dialog" aria-hidden="true">
  681. <div class="modal-dialog" role="document">
  682. <div class="modal-content">
  683. <div class="modal-header">
  684. <h5 class="modal-title">Customize Tabler</h5>
  685. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  686. <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>
  687. </button>
  688. </div>
  689. <div class="modal-body">
  690. <p class="text-muted">Set preferences that will be saved for your live preview.</p>
  691. <div class="mb-3">
  692. <label class="form-label">Color scheme</label>
  693. <div class="form-hint">Light or dark presentation.</div>
  694. <div class="btn-group w-100">
  695. <button class="btn btn-secondary" data-theme-toggle="theme:light"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon"><circle cx="12" cy="12" r="5"></circle><line x1="12" y1="1" x2="12" y2="3"></line><line x1="12" y1="21" x2="12" y2="23"></line><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line><line x1="1" y1="12" x2="3" y2="12"></line><line x1="21" y1="12" x2="23" y2="12"></line><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line></svg>
  696. Light</button>
  697. <button class="btn btn-secondary" data-theme-toggle="theme:dark"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path></svg>
  698. Dark</button>
  699. </div>
  700. </div>
  701. <div class="mb-4 text-muted">
  702. You can use the <code>.theme-dark-auto</code> class to automatically adjust the color version to the system settings.
  703. </div>
  704. <div class="mb-3">
  705. <label class="form-label">Navigation position</label>
  706. <div class="form-hint">Choose where the main navigation in your project should be located.</div>
  707. <div class="btn-group w-100">
  708. <button class="btn btn-secondary" data-theme-toggle="navbar-position:horizontal">Topnav</button>
  709. <button class="btn btn-secondary" data-theme-toggle="navbar-position:vertical">Sidenav</button>
  710. <button class="btn btn-secondary" data-theme-toggle="navbar-position:both">Both</button>
  711. </div>
  712. </div>
  713. <div class="mb-3">
  714. <label class="form-label">Sidebar size</label>
  715. <div class="form-hint">Standard sidebar width or narrow version with icons only.</div>
  716. <div class="btn-group w-100">
  717. <button class="btn btn-secondary" data-theme-toggle="navbar-size:wide">Wide</button>
  718. <button class="btn btn-secondary" data-theme-toggle="navbar-size:narrow">Narrow</button>
  719. </div>
  720. </div>
  721. <div class="mb-3">
  722. <label class="form-label">Sidebar position</label>
  723. <div class="form-hint">Choose whether the sidebar should appear on the left or on the right.</div>
  724. <div class="btn-group w-100">
  725. <button class="btn btn-secondary" data-theme-toggle="navbar-side:left">Left</button>
  726. <button class="btn btn-secondary" data-theme-toggle="navbar-side:right">Right</button>
  727. </div>
  728. </div>
  729. <div>
  730. <label class="form-label">Navigation color</label>
  731. <div class="form-hint">Light or dark version of the sidebar </div>
  732. <div class="btn-group w-100">
  733. <button class="btn btn-secondary" data-theme-toggle="navbar-color:light">Light</button>
  734. <button class="btn btn-secondary" data-theme-toggle="navbar-color:dark">Dark</button>
  735. </div>
  736. </div>
  737. </div>
  738. </div>
  739. </div>
  740. </div>
  741. <div class="modal modal-blur fade" id="modal-customize" tabindex="-1" role="dialog" aria-hidden="true">
  742. <div class="modal-dialog" role="document">
  743. <div class="modal-content">
  744. <div class="modal-header">
  745. <h5 class="modal-title">Customize Tabler</h5>
  746. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  747. <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>
  748. </button>
  749. </div>
  750. <div class="modal-body">
  751. <p class="text-muted">Set preferences that will be saved for your live preview.</p>
  752. <div class="mb-3">
  753. <label class="form-label">Color scheme</label>
  754. <div class="form-hint">Light or dark presentation.</div>
  755. <div class="btn-group w-100">
  756. <button class="btn btn-secondary" data-theme-toggle="theme:light"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon"><circle cx="12" cy="12" r="5"></circle><line x1="12" y1="1" x2="12" y2="3"></line><line x1="12" y1="21" x2="12" y2="23"></line><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line><line x1="1" y1="12" x2="3" y2="12"></line><line x1="21" y1="12" x2="23" y2="12"></line><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line></svg>
  757. Light</button>
  758. <button class="btn btn-secondary" data-theme-toggle="theme:dark"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path></svg>
  759. Dark</button>
  760. </div>
  761. </div>
  762. <div class="mb-4 text-muted">
  763. You can use the <code>.theme-dark-auto</code> class to automatically adjust the color version to the system settings.
  764. </div>
  765. <div class="mb-3">
  766. <label class="form-label">Navigation position</label>
  767. <div class="form-hint">Choose where the main navigation in your project should be located.</div>
  768. <div class="btn-group w-100">
  769. <button class="btn btn-secondary" data-theme-toggle="navbar-position:horizontal">Topnav</button>
  770. <button class="btn btn-secondary" data-theme-toggle="navbar-position:vertical">Sidenav</button>
  771. <button class="btn btn-secondary" data-theme-toggle="navbar-position:both">Both</button>
  772. </div>
  773. </div>
  774. <div class="mb-3">
  775. <label class="form-label">Sidebar size</label>
  776. <div class="form-hint">Standard sidebar width or narrow version with icons only.</div>
  777. <div class="btn-group w-100">
  778. <button class="btn btn-secondary" data-theme-toggle="navbar-size:wide">Wide</button>
  779. <button class="btn btn-secondary" data-theme-toggle="navbar-size:narrow">Narrow</button>
  780. </div>
  781. </div>
  782. <div class="mb-3">
  783. <label class="form-label">Sidebar position</label>
  784. <div class="form-hint">Choose whether the sidebar should appear on the left or on the right.</div>
  785. <div class="btn-group w-100">
  786. <button class="btn btn-secondary" data-theme-toggle="navbar-side:left">Left</button>
  787. <button class="btn btn-secondary" data-theme-toggle="navbar-side:right">Right</button>
  788. </div>
  789. </div>
  790. <div>
  791. <label class="form-label">Navigation color</label>
  792. <div class="form-hint">Light or dark version of the sidebar </div>
  793. <div class="btn-group w-100">
  794. <button class="btn btn-secondary" data-theme-toggle="navbar-color:light">Light</button>
  795. <button class="btn btn-secondary" data-theme-toggle="navbar-color:dark">Dark</button>
  796. </div>
  797. </div>
  798. </div>
  799. </div>
  800. </div>
  801. </div>
  802. <div class="modal modal-blur fade" id="modal-customize" tabindex="-1" role="dialog" aria-hidden="true">
  803. <div class="modal-dialog" role="document">
  804. <div class="modal-content">
  805. <div class="modal-header">
  806. <h5 class="modal-title">Customize Tabler</h5>
  807. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  808. <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>
  809. </button>
  810. </div>
  811. <div class="modal-body">
  812. <p class="text-muted">Set preferences that will be saved for your live preview.</p>
  813. <div class="mb-3">
  814. <label class="form-label">Color scheme</label>
  815. <div class="form-hint">Light or dark presentation.</div>
  816. <div class="btn-group w-100">
  817. <button class="btn btn-secondary" data-theme-toggle="theme:light"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon"><circle cx="12" cy="12" r="5"></circle><line x1="12" y1="1" x2="12" y2="3"></line><line x1="12" y1="21" x2="12" y2="23"></line><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line><line x1="1" y1="12" x2="3" y2="12"></line><line x1="21" y1="12" x2="23" y2="12"></line><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line></svg>
  818. Light</button>
  819. <button class="btn btn-secondary" data-theme-toggle="theme:dark"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path></svg>
  820. Dark</button>
  821. </div>
  822. </div>
  823. <div class="mb-4 text-muted">
  824. You can use the <code>.theme-dark-auto</code> class to automatically adjust the color version to the system settings.
  825. </div>
  826. <div class="mb-3">
  827. <label class="form-label">Navigation position</label>
  828. <div class="form-hint">Choose where the main navigation in your project should be located.</div>
  829. <div class="btn-group w-100">
  830. <button class="btn btn-secondary" data-theme-toggle="navbar-position:horizontal">Topnav</button>
  831. <button class="btn btn-secondary" data-theme-toggle="navbar-position:vertical">Sidenav</button>
  832. <button class="btn btn-secondary" data-theme-toggle="navbar-position:both">Both</button>
  833. </div>
  834. </div>
  835. <div class="mb-3">
  836. <label class="form-label">Sidebar size</label>
  837. <div class="form-hint">Standard sidebar width or narrow version with icons only.</div>
  838. <div class="btn-group w-100">
  839. <button class="btn btn-secondary" data-theme-toggle="navbar-size:wide">Wide</button>
  840. <button class="btn btn-secondary" data-theme-toggle="navbar-size:narrow">Narrow</button>
  841. </div>
  842. </div>
  843. <div class="mb-3">
  844. <label class="form-label">Sidebar position</label>
  845. <div class="form-hint">Choose whether the sidebar should appear on the left or on the right.</div>
  846. <div class="btn-group w-100">
  847. <button class="btn btn-secondary" data-theme-toggle="navbar-side:left">Left</button>
  848. <button class="btn btn-secondary" data-theme-toggle="navbar-side:right">Right</button>
  849. </div>
  850. </div>
  851. <div>
  852. <label class="form-label">Navigation color</label>
  853. <div class="form-hint">Light or dark version of the sidebar </div>
  854. <div class="btn-group w-100">
  855. <button class="btn btn-secondary" data-theme-toggle="navbar-color:light">Light</button>
  856. <button class="btn btn-secondary" data-theme-toggle="navbar-color:dark">Dark</button>
  857. </div>
  858. </div>
  859. </div>
  860. </div>
  861. </div>
  862. </div>
  863. <!-- Libs JS -->
  864. <script src="./dist/libs/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
  865. <script src="./dist/libs/jquery/dist/jquery.slim.min.js"></script>
  866. <script src="./dist/libs/apexcharts/dist/apexcharts.min.js"></script>
  867. <!-- Tabler Core -->
  868. <script src="./dist/js/tabler.min.js"></script>
  869. <script>
  870. (function() {
  871. var navbarPrimary = document.getElementById('navbar-primary'),
  872. navbarSecondary = document.getElementById('navbar-secondary');
  873. var defaults = {
  874. theme: 'light',
  875. 'navbar-position': 'horizontal',
  876. 'navbar-size': 'wide',
  877. 'navbar-side': 'left',
  878. 'navbar-color': 'light',
  879. };
  880. var eventsClean = {
  881. 'theme': function () {
  882. document.body.classList.remove('theme-dark');
  883. },
  884. 'navbar-position': function () {
  885. navbarPrimary.classList.remove('navbar-vertical');
  886. navbarSecondary.classList.remove('d-none');
  887. },
  888. 'navbar-size': function () {
  889. navbarPrimary.classList.remove('navbar-vertical-narrow');
  890. },
  891. 'navbar-side': function () {
  892. navbarPrimary.classList.remove('navbar-right');
  893. },
  894. 'navbar-color': function () {
  895. navbarPrimary.classList.remove('navbar-dark');
  896. navbarPrimary.classList.add('navbar-light');
  897. },
  898. };
  899. var events = {
  900. 'theme:light': function () {
  901. },
  902. 'theme:dark': function () {
  903. document.body.classList.add('theme-dark');
  904. },
  905. 'navbar-position:vertical': function () {
  906. navbarPrimary.classList.add('navbar-vertical');
  907. navbarSecondary.classList.add('d-none');
  908. },
  909. 'navbar-position:horizontal': function () {
  910. },
  911. 'navbar-position:both': function () {
  912. navbarPrimary.classList.add('navbar-vertical');
  913. },
  914. 'navbar-size:wide': function () {
  915. },
  916. 'navbar-size:narrow': function () {
  917. navbarPrimary.classList.add('navbar-vertical-narrow');
  918. },
  919. 'navbar-side:left': function () {
  920. },
  921. 'navbar-side:right': function () {
  922. navbarPrimary.classList.add('navbar-right');
  923. },
  924. 'navbar-color:light': function () {
  925. },
  926. 'navbar-color:dark': function () {
  927. navbarPrimary.classList.add('navbar-dark');
  928. navbarPrimary.classList.remove('navbar-light');
  929. },
  930. };
  931. var updateThemeConfig = function (name) {
  932. var key, value;
  933. if (name) {
  934. [key, value] = name.split(':');
  935. setConfig(key, value);
  936. }
  937. applyConfig();
  938. };
  939. var disableTransitions = function () {
  940. document.body.classList.add('no-transitions');
  941. setTimeout(function () {
  942. document.body.classList.remove('no-transitions');
  943. }, 300);
  944. };
  945. var getConfig = function () {
  946. var config = {};
  947. for (var key in defaults) {
  948. config[key] = localStorage.getItem('tabler-' + key) || defaults[key];
  949. }
  950. return config;
  951. };
  952. var setConfig = function (key, value) {
  953. localStorage.setItem('tabler-' + key, value);
  954. };
  955. var applyConfig = function () {
  956. disableTransitions();
  957. var config = getConfig();
  958. for (var key in config) {
  959. var value = config[key];
  960. eventsClean[key] && eventsClean[key].call();
  961. events[key + ':' + value] && events[key + ':' + value].call();
  962. ([].slice.call(document.querySelectorAll('[data-theme-toggle^="' + key + '"]'))).map(function (activeTrigger) {
  963. activeTrigger.classList.remove('active')
  964. });
  965. document.querySelector('[data-theme-toggle="' + key + ':' + value + '"]').classList.add('active');
  966. }
  967. };
  968. applyConfig();
  969. for (var name in events) {
  970. var event = events[name];
  971. (function (event, name) {
  972. document.querySelector('[data-theme-toggle="' + name + '"]').addEventListener("click", function (e) {
  973. updateThemeConfig(name);
  974. event.call();
  975. e.preventDefault();
  976. return false;
  977. });
  978. })(event, name);
  979. }
  980. })();
  981. </script>
  982. <script>
  983. (function() {
  984. var navbarPrimary = document.getElementById('navbar-primary'),
  985. navbarSecondary = document.getElementById('navbar-secondary');
  986. var defaults = {
  987. theme: 'light',
  988. 'navbar-position': 'horizontal',
  989. 'navbar-size': 'wide',
  990. 'navbar-side': 'left',
  991. 'navbar-color': 'light',
  992. };
  993. var eventsClean = {
  994. 'theme': function () {
  995. document.body.classList.remove('theme-dark');
  996. },
  997. 'navbar-position': function () {
  998. navbarPrimary.classList.remove('navbar-vertical');
  999. navbarSecondary.classList.remove('d-none');
  1000. },
  1001. 'navbar-size': function () {
  1002. navbarPrimary.classList.remove('navbar-vertical-narrow');
  1003. },
  1004. 'navbar-side': function () {
  1005. navbarPrimary.classList.remove('navbar-right');
  1006. },
  1007. 'navbar-color': function () {
  1008. navbarPrimary.classList.remove('navbar-dark');
  1009. navbarPrimary.classList.add('navbar-light');
  1010. },
  1011. };
  1012. var events = {
  1013. 'theme:light': function () {
  1014. },
  1015. 'theme:dark': function () {
  1016. document.body.classList.add('theme-dark');
  1017. },
  1018. 'navbar-position:vertical': function () {
  1019. navbarPrimary.classList.add('navbar-vertical');
  1020. navbarSecondary.classList.add('d-none');
  1021. },
  1022. 'navbar-position:horizontal': function () {
  1023. },
  1024. 'navbar-position:both': function () {
  1025. navbarPrimary.classList.add('navbar-vertical');
  1026. },
  1027. 'navbar-size:wide': function () {
  1028. },
  1029. 'navbar-size:narrow': function () {
  1030. navbarPrimary.classList.add('navbar-vertical-narrow');
  1031. },
  1032. 'navbar-side:left': function () {
  1033. },
  1034. 'navbar-side:right': function () {
  1035. navbarPrimary.classList.add('navbar-right');
  1036. },
  1037. 'navbar-color:light': function () {
  1038. },
  1039. 'navbar-color:dark': function () {
  1040. navbarPrimary.classList.add('navbar-dark');
  1041. navbarPrimary.classList.remove('navbar-light');
  1042. },
  1043. };
  1044. var updateThemeConfig = function (name) {
  1045. var key, value;
  1046. if (name) {
  1047. [key, value] = name.split(':');
  1048. setConfig(key, value);
  1049. }
  1050. applyConfig();
  1051. };
  1052. var disableTransitions = function () {
  1053. document.body.classList.add('no-transitions');
  1054. setTimeout(function () {
  1055. document.body.classList.remove('no-transitions');
  1056. }, 300);
  1057. };
  1058. var getConfig = function () {
  1059. var config = {};
  1060. for (var key in defaults) {
  1061. config[key] = localStorage.getItem('tabler-' + key) || defaults[key];
  1062. }
  1063. return config;
  1064. };
  1065. var setConfig = function (key, value) {
  1066. localStorage.setItem('tabler-' + key, value);
  1067. };
  1068. var applyConfig = function () {
  1069. disableTransitions();
  1070. var config = getConfig();
  1071. for (var key in config) {
  1072. var value = config[key];
  1073. eventsClean[key] && eventsClean[key].call();
  1074. events[key + ':' + value] && events[key + ':' + value].call();
  1075. ([].slice.call(document.querySelectorAll('[data-theme-toggle^="' + key + '"]'))).map(function (activeTrigger) {
  1076. activeTrigger.classList.remove('active')
  1077. });
  1078. document.querySelector('[data-theme-toggle="' + key + ':' + value + '"]').classList.add('active');
  1079. }
  1080. };
  1081. applyConfig();
  1082. for (var name in events) {
  1083. var event = events[name];
  1084. (function (event, name) {
  1085. document.querySelector('[data-theme-toggle="' + name + '"]').addEventListener("click", function (e) {
  1086. updateThemeConfig(name);
  1087. event.call();
  1088. e.preventDefault();
  1089. return false;
  1090. });
  1091. })(event, name);
  1092. }
  1093. })();
  1094. </script>
  1095. <script>
  1096. (function() {
  1097. var navbarPrimary = document.getElementById('navbar-primary'),
  1098. navbarSecondary = document.getElementById('navbar-secondary');
  1099. var defaults = {
  1100. theme: 'light',
  1101. 'navbar-position': 'horizontal',
  1102. 'navbar-size': 'wide',
  1103. 'navbar-side': 'left',
  1104. 'navbar-color': 'light',
  1105. };
  1106. var eventsClean = {
  1107. 'theme': function () {
  1108. document.body.classList.remove('theme-dark');
  1109. },
  1110. 'navbar-position': function () {
  1111. navbarPrimary.classList.remove('navbar-vertical');
  1112. navbarSecondary.classList.remove('d-none');
  1113. },
  1114. 'navbar-size': function () {
  1115. navbarPrimary.classList.remove('navbar-vertical-narrow');
  1116. },
  1117. 'navbar-side': function () {
  1118. navbarPrimary.classList.remove('navbar-right');
  1119. },
  1120. 'navbar-color': function () {
  1121. navbarPrimary.classList.remove('navbar-dark');
  1122. navbarPrimary.classList.add('navbar-light');
  1123. },
  1124. };
  1125. var events = {
  1126. 'theme:light': function () {
  1127. },
  1128. 'theme:dark': function () {
  1129. document.body.classList.add('theme-dark');
  1130. },
  1131. 'navbar-position:vertical': function () {
  1132. navbarPrimary.classList.add('navbar-vertical');
  1133. navbarSecondary.classList.add('d-none');
  1134. },
  1135. 'navbar-position:horizontal': function () {
  1136. },
  1137. 'navbar-position:both': function () {
  1138. navbarPrimary.classList.add('navbar-vertical');
  1139. },
  1140. 'navbar-size:wide': function () {
  1141. },
  1142. 'navbar-size:narrow': function () {
  1143. navbarPrimary.classList.add('navbar-vertical-narrow');
  1144. },
  1145. 'navbar-side:left': function () {
  1146. },
  1147. 'navbar-side:right': function () {
  1148. navbarPrimary.classList.add('navbar-right');
  1149. },
  1150. 'navbar-color:light': function () {
  1151. },
  1152. 'navbar-color:dark': function () {
  1153. navbarPrimary.classList.add('navbar-dark');
  1154. navbarPrimary.classList.remove('navbar-light');
  1155. },
  1156. };
  1157. var updateThemeConfig = function (name) {
  1158. var key, value;
  1159. if (name) {
  1160. [key, value] = name.split(':');
  1161. setConfig(key, value);
  1162. }
  1163. applyConfig();
  1164. };
  1165. var disableTransitions = function () {
  1166. document.body.classList.add('no-transitions');
  1167. setTimeout(function () {
  1168. document.body.classList.remove('no-transitions');
  1169. }, 300);
  1170. };
  1171. var getConfig = function () {
  1172. var config = {};
  1173. for (var key in defaults) {
  1174. config[key] = localStorage.getItem('tabler-' + key) || defaults[key];
  1175. }
  1176. return config;
  1177. };
  1178. var setConfig = function (key, value) {
  1179. localStorage.setItem('tabler-' + key, value);
  1180. };
  1181. var applyConfig = function () {
  1182. disableTransitions();
  1183. var config = getConfig();
  1184. for (var key in config) {
  1185. var value = config[key];
  1186. eventsClean[key] && eventsClean[key].call();
  1187. events[key + ':' + value] && events[key + ':' + value].call();
  1188. ([].slice.call(document.querySelectorAll('[data-theme-toggle^="' + key + '"]'))).map(function (activeTrigger) {
  1189. activeTrigger.classList.remove('active')
  1190. });
  1191. document.querySelector('[data-theme-toggle="' + key + ':' + value + '"]').classList.add('active');
  1192. }
  1193. };
  1194. applyConfig();
  1195. for (var name in events) {
  1196. var event = events[name];
  1197. (function (event, name) {
  1198. document.querySelector('[data-theme-toggle="' + name + '"]').addEventListener("click", function (e) {
  1199. updateThemeConfig(name);
  1200. event.call();
  1201. e.preventDefault();
  1202. return false;
  1203. });
  1204. })(event, name);
  1205. }
  1206. })();
  1207. </script>
  1208. <script>
  1209. (function() {
  1210. var navbarPrimary = document.getElementById('navbar-primary'),
  1211. navbarSecondary = document.getElementById('navbar-secondary');
  1212. var defaults = {
  1213. theme: 'light',
  1214. 'navbar-position': 'horizontal',
  1215. 'navbar-size': 'wide',
  1216. 'navbar-side': 'left',
  1217. 'navbar-color': 'light',
  1218. };
  1219. var eventsClean = {
  1220. 'theme': function () {
  1221. document.body.classList.remove('theme-dark');
  1222. },
  1223. 'navbar-position': function () {
  1224. navbarPrimary.classList.remove('navbar-vertical');
  1225. navbarSecondary.classList.remove('d-none');
  1226. },
  1227. 'navbar-size': function () {
  1228. navbarPrimary.classList.remove('navbar-vertical-narrow');
  1229. },
  1230. 'navbar-side': function () {
  1231. navbarPrimary.classList.remove('navbar-right');
  1232. },
  1233. 'navbar-color': function () {
  1234. navbarPrimary.classList.remove('navbar-dark');
  1235. navbarPrimary.classList.add('navbar-light');
  1236. },
  1237. };
  1238. var events = {
  1239. 'theme:light': function () {
  1240. },
  1241. 'theme:dark': function () {
  1242. document.body.classList.add('theme-dark');
  1243. },
  1244. 'navbar-position:vertical': function () {
  1245. navbarPrimary.classList.add('navbar-vertical');
  1246. navbarSecondary.classList.add('d-none');
  1247. },
  1248. 'navbar-position:horizontal': function () {
  1249. },
  1250. 'navbar-position:both': function () {
  1251. navbarPrimary.classList.add('navbar-vertical');
  1252. },
  1253. 'navbar-size:wide': function () {
  1254. },
  1255. 'navbar-size:narrow': function () {
  1256. navbarPrimary.classList.add('navbar-vertical-narrow');
  1257. },
  1258. 'navbar-side:left': function () {
  1259. },
  1260. 'navbar-side:right': function () {
  1261. navbarPrimary.classList.add('navbar-right');
  1262. },
  1263. 'navbar-color:light': function () {
  1264. },
  1265. 'navbar-color:dark': function () {
  1266. navbarPrimary.classList.add('navbar-dark');
  1267. navbarPrimary.classList.remove('navbar-light');
  1268. },
  1269. };
  1270. var updateThemeConfig = function (name) {
  1271. var key, value;
  1272. if (name) {
  1273. [key, value] = name.split(':');
  1274. setConfig(key, value);
  1275. }
  1276. applyConfig();
  1277. };
  1278. var disableTransitions = function () {
  1279. document.body.classList.add('no-transitions');
  1280. setTimeout(function () {
  1281. document.body.classList.remove('no-transitions');
  1282. }, 300);
  1283. };
  1284. var getConfig = function () {
  1285. var config = {};
  1286. for (var key in defaults) {
  1287. config[key] = localStorage.getItem('tabler-' + key) || defaults[key];
  1288. }
  1289. return config;
  1290. };
  1291. var setConfig = function (key, value) {
  1292. localStorage.setItem('tabler-' + key, value);
  1293. };
  1294. var applyConfig = function () {
  1295. disableTransitions();
  1296. var config = getConfig();
  1297. for (var key in config) {
  1298. var value = config[key];
  1299. eventsClean[key] && eventsClean[key].call();
  1300. events[key + ':' + value] && events[key + ':' + value].call();
  1301. ([].slice.call(document.querySelectorAll('[data-theme-toggle^="' + key + '"]'))).map(function (activeTrigger) {
  1302. activeTrigger.classList.remove('active')
  1303. });
  1304. document.querySelector('[data-theme-toggle="' + key + ':' + value + '"]').classList.add('active');
  1305. }
  1306. };
  1307. applyConfig();
  1308. for (var name in events) {
  1309. var event = events[name];
  1310. (function (event, name) {
  1311. document.querySelector('[data-theme-toggle="' + name + '"]').addEventListener("click", function (e) {
  1312. updateThemeConfig(name);
  1313. event.call();
  1314. e.preventDefault();
  1315. return false;
  1316. });
  1317. })(event, name);
  1318. }
  1319. })();
  1320. </script>
  1321. <script>
  1322. (function() {
  1323. var navbarPrimary = document.getElementById('navbar-primary'),
  1324. navbarSecondary = document.getElementById('navbar-secondary');
  1325. var defaults = {
  1326. theme: 'light',
  1327. 'navbar-position': 'horizontal',
  1328. 'navbar-size': 'wide',
  1329. 'navbar-side': 'left',
  1330. 'navbar-color': 'light',
  1331. };
  1332. var eventsClean = {
  1333. 'theme': function () {
  1334. document.body.classList.remove('theme-dark');
  1335. },
  1336. 'navbar-position': function () {
  1337. navbarPrimary.classList.remove('navbar-vertical');
  1338. navbarSecondary.classList.remove('d-none');
  1339. },
  1340. 'navbar-size': function () {
  1341. navbarPrimary.classList.remove('navbar-vertical-narrow');
  1342. },
  1343. 'navbar-side': function () {
  1344. navbarPrimary.classList.remove('navbar-right');
  1345. },
  1346. 'navbar-color': function () {
  1347. navbarPrimary.classList.remove('navbar-dark');
  1348. navbarPrimary.classList.add('navbar-light');
  1349. },
  1350. };
  1351. var events = {
  1352. 'theme:light': function () {
  1353. },
  1354. 'theme:dark': function () {
  1355. document.body.classList.add('theme-dark');
  1356. },
  1357. 'navbar-position:vertical': function () {
  1358. navbarPrimary.classList.add('navbar-vertical');
  1359. navbarSecondary.classList.add('d-none');
  1360. },
  1361. 'navbar-position:horizontal': function () {
  1362. },
  1363. 'navbar-position:both': function () {
  1364. navbarPrimary.classList.add('navbar-vertical');
  1365. },
  1366. 'navbar-size:wide': function () {
  1367. },
  1368. 'navbar-size:narrow': function () {
  1369. navbarPrimary.classList.add('navbar-vertical-narrow');
  1370. },
  1371. 'navbar-side:left': function () {
  1372. },
  1373. 'navbar-side:right': function () {
  1374. navbarPrimary.classList.add('navbar-right');
  1375. },
  1376. 'navbar-color:light': function () {
  1377. },
  1378. 'navbar-color:dark': function () {
  1379. navbarPrimary.classList.add('navbar-dark');
  1380. navbarPrimary.classList.remove('navbar-light');
  1381. },
  1382. };
  1383. var updateThemeConfig = function (name) {
  1384. var key, value;
  1385. if (name) {
  1386. [key, value] = name.split(':');
  1387. setConfig(key, value);
  1388. }
  1389. applyConfig();
  1390. };
  1391. var disableTransitions = function () {
  1392. document.body.classList.add('no-transitions');
  1393. setTimeout(function () {
  1394. document.body.classList.remove('no-transitions');
  1395. }, 300);
  1396. };
  1397. var getConfig = function () {
  1398. var config = {};
  1399. for (var key in defaults) {
  1400. config[key] = localStorage.getItem('tabler-' + key) || defaults[key];
  1401. }
  1402. return config;
  1403. };
  1404. var setConfig = function (key, value) {
  1405. localStorage.setItem('tabler-' + key, value);
  1406. };
  1407. var applyConfig = function () {
  1408. disableTransitions();
  1409. var config = getConfig();
  1410. for (var key in config) {
  1411. var value = config[key];
  1412. eventsClean[key] && eventsClean[key].call();
  1413. events[key + ':' + value] && events[key + ':' + value].call();
  1414. ([].slice.call(document.querySelectorAll('[data-theme-toggle^="' + key + '"]'))).map(function (activeTrigger) {
  1415. activeTrigger.classList.remove('active')
  1416. });
  1417. document.querySelector('[data-theme-toggle="' + key + ':' + value + '"]').classList.add('active');
  1418. }
  1419. };
  1420. applyConfig();
  1421. for (var name in events) {
  1422. var event = events[name];
  1423. (function (event, name) {
  1424. document.querySelector('[data-theme-toggle="' + name + '"]').addEventListener("click", function (e) {
  1425. updateThemeConfig(name);
  1426. event.call();
  1427. e.preventDefault();
  1428. return false;
  1429. });
  1430. })(event, name);
  1431. }
  1432. })();
  1433. </script>
  1434. <script>
  1435. (function() {
  1436. var navbarPrimary = document.getElementById('navbar-primary'),
  1437. navbarSecondary = document.getElementById('navbar-secondary');
  1438. var defaults = {
  1439. theme: 'light',
  1440. 'navbar-position': 'horizontal',
  1441. 'navbar-size': 'wide',
  1442. 'navbar-side': 'left',
  1443. 'navbar-color': 'light',
  1444. };
  1445. var eventsClean = {
  1446. 'theme': function () {
  1447. document.body.classList.remove('theme-dark');
  1448. },
  1449. 'navbar-position': function () {
  1450. navbarPrimary.classList.remove('navbar-vertical');
  1451. navbarSecondary.classList.remove('d-none');
  1452. },
  1453. 'navbar-size': function () {
  1454. navbarPrimary.classList.remove('navbar-vertical-narrow');
  1455. },
  1456. 'navbar-side': function () {
  1457. navbarPrimary.classList.remove('navbar-right');
  1458. },
  1459. 'navbar-color': function () {
  1460. navbarPrimary.classList.remove('navbar-dark');
  1461. navbarPrimary.classList.add('navbar-light');
  1462. },
  1463. };
  1464. var events = {
  1465. 'theme:light': function () {
  1466. },
  1467. 'theme:dark': function () {
  1468. document.body.classList.add('theme-dark');
  1469. },
  1470. 'navbar-position:vertical': function () {
  1471. navbarPrimary.classList.add('navbar-vertical');
  1472. navbarSecondary.classList.add('d-none');
  1473. },
  1474. 'navbar-position:horizontal': function () {
  1475. },
  1476. 'navbar-position:both': function () {
  1477. navbarPrimary.classList.add('navbar-vertical');
  1478. },
  1479. 'navbar-size:wide': function () {
  1480. },
  1481. 'navbar-size:narrow': function () {
  1482. navbarPrimary.classList.add('navbar-vertical-narrow');
  1483. },
  1484. 'navbar-side:left': function () {
  1485. },
  1486. 'navbar-side:right': function () {
  1487. navbarPrimary.classList.add('navbar-right');
  1488. },
  1489. 'navbar-color:light': function () {
  1490. },
  1491. 'navbar-color:dark': function () {
  1492. navbarPrimary.classList.add('navbar-dark');
  1493. navbarPrimary.classList.remove('navbar-light');
  1494. },
  1495. };
  1496. var updateThemeConfig = function (name) {
  1497. var key, value;
  1498. if (name) {
  1499. [key, value] = name.split(':');
  1500. setConfig(key, value);
  1501. }
  1502. applyConfig();
  1503. };
  1504. var disableTransitions = function () {
  1505. document.body.classList.add('no-transitions');
  1506. setTimeout(function () {
  1507. document.body.classList.remove('no-transitions');
  1508. }, 300);
  1509. };
  1510. var getConfig = function () {
  1511. var config = {};
  1512. for (var key in defaults) {
  1513. config[key] = localStorage.getItem('tabler-' + key) || defaults[key];
  1514. }
  1515. return config;
  1516. };
  1517. var setConfig = function (key, value) {
  1518. localStorage.setItem('tabler-' + key, value);
  1519. };
  1520. var applyConfig = function () {
  1521. disableTransitions();
  1522. var config = getConfig();
  1523. for (var key in config) {
  1524. var value = config[key];
  1525. eventsClean[key] && eventsClean[key].call();
  1526. events[key + ':' + value] && events[key + ':' + value].call();
  1527. ([].slice.call(document.querySelectorAll('[data-theme-toggle^="' + key + '"]'))).map(function (activeTrigger) {
  1528. activeTrigger.classList.remove('active')
  1529. });
  1530. document.querySelector('[data-theme-toggle="' + key + ':' + value + '"]').classList.add('active');
  1531. }
  1532. };
  1533. applyConfig();
  1534. for (var name in events) {
  1535. var event = events[name];
  1536. (function (event, name) {
  1537. document.querySelector('[data-theme-toggle="' + name + '"]').addEventListener("click", function (e) {
  1538. updateThemeConfig(name);
  1539. event.call();
  1540. e.preventDefault();
  1541. return false;
  1542. });
  1543. })(event, name);
  1544. }
  1545. })();
  1546. </script>
  1547. <script>
  1548. (function() {
  1549. var navbarPrimary = document.getElementById('navbar-primary'),
  1550. navbarSecondary = document.getElementById('navbar-secondary');
  1551. var defaults = {
  1552. theme: 'light',
  1553. 'navbar-position': 'horizontal',
  1554. 'navbar-size': 'wide',
  1555. 'navbar-side': 'left',
  1556. 'navbar-color': 'light',
  1557. };
  1558. var eventsClean = {
  1559. 'theme': function () {
  1560. document.body.classList.remove('theme-dark');
  1561. },
  1562. 'navbar-position': function () {
  1563. navbarPrimary.classList.remove('navbar-vertical');
  1564. navbarSecondary.classList.remove('d-none');
  1565. },
  1566. 'navbar-size': function () {
  1567. navbarPrimary.classList.remove('navbar-vertical-narrow');
  1568. },
  1569. 'navbar-side': function () {
  1570. navbarPrimary.classList.remove('navbar-right');
  1571. },
  1572. 'navbar-color': function () {
  1573. navbarPrimary.classList.remove('navbar-dark');
  1574. navbarPrimary.classList.add('navbar-light');
  1575. },
  1576. };
  1577. var events = {
  1578. 'theme:light': function () {
  1579. },
  1580. 'theme:dark': function () {
  1581. document.body.classList.add('theme-dark');
  1582. },
  1583. 'navbar-position:vertical': function () {
  1584. navbarPrimary.classList.add('navbar-vertical');
  1585. navbarSecondary.classList.add('d-none');
  1586. },
  1587. 'navbar-position:horizontal': function () {
  1588. },
  1589. 'navbar-position:both': function () {
  1590. navbarPrimary.classList.add('navbar-vertical');
  1591. },
  1592. 'navbar-size:wide': function () {
  1593. },
  1594. 'navbar-size:narrow': function () {
  1595. navbarPrimary.classList.add('navbar-vertical-narrow');
  1596. },
  1597. 'navbar-side:left': function () {
  1598. },
  1599. 'navbar-side:right': function () {
  1600. navbarPrimary.classList.add('navbar-right');
  1601. },
  1602. 'navbar-color:light': function () {
  1603. },
  1604. 'navbar-color:dark': function () {
  1605. navbarPrimary.classList.add('navbar-dark');
  1606. navbarPrimary.classList.remove('navbar-light');
  1607. },
  1608. };
  1609. var updateThemeConfig = function (name) {
  1610. var key, value;
  1611. if (name) {
  1612. [key, value] = name.split(':');
  1613. setConfig(key, value);
  1614. }
  1615. applyConfig();
  1616. };
  1617. var disableTransitions = function () {
  1618. document.body.classList.add('no-transitions');
  1619. setTimeout(function () {
  1620. document.body.classList.remove('no-transitions');
  1621. }, 300);
  1622. };
  1623. var getConfig = function () {
  1624. var config = {};
  1625. for (var key in defaults) {
  1626. config[key] = localStorage.getItem('tabler-' + key) || defaults[key];
  1627. }
  1628. return config;
  1629. };
  1630. var setConfig = function (key, value) {
  1631. localStorage.setItem('tabler-' + key, value);
  1632. };
  1633. var applyConfig = function () {
  1634. disableTransitions();
  1635. var config = getConfig();
  1636. for (var key in config) {
  1637. var value = config[key];
  1638. eventsClean[key] && eventsClean[key].call();
  1639. events[key + ':' + value] && events[key + ':' + value].call();
  1640. ([].slice.call(document.querySelectorAll('[data-theme-toggle^="' + key + '"]'))).map(function (activeTrigger) {
  1641. activeTrigger.classList.remove('active')
  1642. });
  1643. document.querySelector('[data-theme-toggle="' + key + ':' + value + '"]').classList.add('active');
  1644. }
  1645. };
  1646. applyConfig();
  1647. for (var name in events) {
  1648. var event = events[name];
  1649. (function (event, name) {
  1650. document.querySelector('[data-theme-toggle="' + name + '"]').addEventListener("click", function (e) {
  1651. updateThemeConfig(name);
  1652. event.call();
  1653. e.preventDefault();
  1654. return false;
  1655. });
  1656. })(event, name);
  1657. }
  1658. })();
  1659. </script>
  1660. <script>
  1661. (function() {
  1662. var navbarPrimary = document.getElementById('navbar-primary'),
  1663. navbarSecondary = document.getElementById('navbar-secondary');
  1664. var defaults = {
  1665. theme: 'light',
  1666. 'navbar-position': 'horizontal',
  1667. 'navbar-size': 'wide',
  1668. 'navbar-side': 'left',
  1669. 'navbar-color': 'light',
  1670. };
  1671. var eventsClean = {
  1672. 'theme': function () {
  1673. document.body.classList.remove('theme-dark');
  1674. },
  1675. 'navbar-position': function () {
  1676. navbarPrimary.classList.remove('navbar-vertical');
  1677. navbarSecondary.classList.remove('d-none');
  1678. },
  1679. 'navbar-size': function () {
  1680. navbarPrimary.classList.remove('navbar-vertical-narrow');
  1681. },
  1682. 'navbar-side': function () {
  1683. navbarPrimary.classList.remove('navbar-right');
  1684. },
  1685. 'navbar-color': function () {
  1686. navbarPrimary.classList.remove('navbar-dark');
  1687. navbarPrimary.classList.add('navbar-light');
  1688. },
  1689. };
  1690. var events = {
  1691. 'theme:light': function () {
  1692. },
  1693. 'theme:dark': function () {
  1694. document.body.classList.add('theme-dark');
  1695. },
  1696. 'navbar-position:vertical': function () {
  1697. navbarPrimary.classList.add('navbar-vertical');
  1698. navbarSecondary.classList.add('d-none');
  1699. },
  1700. 'navbar-position:horizontal': function () {
  1701. },
  1702. 'navbar-position:both': function () {
  1703. navbarPrimary.classList.add('navbar-vertical');
  1704. },
  1705. 'navbar-size:wide': function () {
  1706. },
  1707. 'navbar-size:narrow': function () {
  1708. navbarPrimary.classList.add('navbar-vertical-narrow');
  1709. },
  1710. 'navbar-side:left': function () {
  1711. },
  1712. 'navbar-side:right': function () {
  1713. navbarPrimary.classList.add('navbar-right');
  1714. },
  1715. 'navbar-color:light': function () {
  1716. },
  1717. 'navbar-color:dark': function () {
  1718. navbarPrimary.classList.add('navbar-dark');
  1719. navbarPrimary.classList.remove('navbar-light');
  1720. },
  1721. };
  1722. var updateThemeConfig = function (name) {
  1723. var key, value;
  1724. if (name) {
  1725. [key, value] = name.split(':');
  1726. setConfig(key, value);
  1727. }
  1728. applyConfig();
  1729. };
  1730. var disableTransitions = function () {
  1731. document.body.classList.add('no-transitions');
  1732. setTimeout(function () {
  1733. document.body.classList.remove('no-transitions');
  1734. }, 300);
  1735. };
  1736. var getConfig = function () {
  1737. var config = {};
  1738. for (var key in defaults) {
  1739. config[key] = localStorage.getItem('tabler-' + key) || defaults[key];
  1740. }
  1741. return config;
  1742. };
  1743. var setConfig = function (key, value) {
  1744. localStorage.setItem('tabler-' + key, value);
  1745. };
  1746. var applyConfig = function () {
  1747. disableTransitions();
  1748. var config = getConfig();
  1749. for (var key in config) {
  1750. var value = config[key];
  1751. eventsClean[key] && eventsClean[key].call();
  1752. events[key + ':' + value] && events[key + ':' + value].call();
  1753. ([].slice.call(document.querySelectorAll('[data-theme-toggle^="' + key + '"]'))).map(function (activeTrigger) {
  1754. activeTrigger.classList.remove('active')
  1755. });
  1756. document.querySelector('[data-theme-toggle="' + key + ':' + value + '"]').classList.add('active');
  1757. }
  1758. };
  1759. applyConfig();
  1760. for (var name in events) {
  1761. var event = events[name];
  1762. (function (event, name) {
  1763. document.querySelector('[data-theme-toggle="' + name + '"]').addEventListener("click", function (e) {
  1764. updateThemeConfig(name);
  1765. event.call();
  1766. e.preventDefault();
  1767. return false;
  1768. });
  1769. })(event, name);
  1770. }
  1771. })();
  1772. </script>
  1773. <script>
  1774. (function() {
  1775. var navbarPrimary = document.getElementById('navbar-primary'),
  1776. navbarSecondary = document.getElementById('navbar-secondary');
  1777. var defaults = {
  1778. theme: 'light',
  1779. 'navbar-position': 'horizontal',
  1780. 'navbar-size': 'wide',
  1781. 'navbar-side': 'left',
  1782. 'navbar-color': 'light',
  1783. };
  1784. var eventsClean = {
  1785. 'theme': function () {
  1786. document.body.classList.remove('theme-dark');
  1787. },
  1788. 'navbar-position': function () {
  1789. navbarPrimary.classList.remove('navbar-vertical');
  1790. navbarSecondary.classList.remove('d-none');
  1791. },
  1792. 'navbar-size': function () {
  1793. navbarPrimary.classList.remove('navbar-vertical-narrow');
  1794. },
  1795. 'navbar-side': function () {
  1796. navbarPrimary.classList.remove('navbar-right');
  1797. },
  1798. 'navbar-color': function () {
  1799. navbarPrimary.classList.remove('navbar-dark');
  1800. navbarPrimary.classList.add('navbar-light');
  1801. },
  1802. };
  1803. var events = {
  1804. 'theme:light': function () {
  1805. },
  1806. 'theme:dark': function () {
  1807. document.body.classList.add('theme-dark');
  1808. },
  1809. 'navbar-position:vertical': function () {
  1810. navbarPrimary.classList.add('navbar-vertical');
  1811. navbarSecondary.classList.add('d-none');
  1812. },
  1813. 'navbar-position:horizontal': function () {
  1814. },
  1815. 'navbar-position:both': function () {
  1816. navbarPrimary.classList.add('navbar-vertical');
  1817. },
  1818. 'navbar-size:wide': function () {
  1819. },
  1820. 'navbar-size:narrow': function () {
  1821. navbarPrimary.classList.add('navbar-vertical-narrow');
  1822. },
  1823. 'navbar-side:left': function () {
  1824. },
  1825. 'navbar-side:right': function () {
  1826. navbarPrimary.classList.add('navbar-right');
  1827. },
  1828. 'navbar-color:light': function () {
  1829. },
  1830. 'navbar-color:dark': function () {
  1831. navbarPrimary.classList.add('navbar-dark');
  1832. navbarPrimary.classList.remove('navbar-light');
  1833. },
  1834. };
  1835. var updateThemeConfig = function (name) {
  1836. var key, value;
  1837. if (name) {
  1838. [key, value] = name.split(':');
  1839. setConfig(key, value);
  1840. }
  1841. applyConfig();
  1842. };
  1843. var disableTransitions = function () {
  1844. document.body.classList.add('no-transitions');
  1845. setTimeout(function () {
  1846. document.body.classList.remove('no-transitions');
  1847. }, 300);
  1848. };
  1849. var getConfig = function () {
  1850. var config = {};
  1851. for (var key in defaults) {
  1852. config[key] = localStorage.getItem('tabler-' + key) || defaults[key];
  1853. }
  1854. return config;
  1855. };
  1856. var setConfig = function (key, value) {
  1857. localStorage.setItem('tabler-' + key, value);
  1858. };
  1859. var applyConfig = function () {
  1860. disableTransitions();
  1861. var config = getConfig();
  1862. for (var key in config) {
  1863. var value = config[key];
  1864. eventsClean[key] && eventsClean[key].call();
  1865. events[key + ':' + value] && events[key + ':' + value].call();
  1866. ([].slice.call(document.querySelectorAll('[data-theme-toggle^="' + key + '"]'))).map(function (activeTrigger) {
  1867. activeTrigger.classList.remove('active')
  1868. });
  1869. document.querySelector('[data-theme-toggle="' + key + ':' + value + '"]').classList.add('active');
  1870. }
  1871. };
  1872. applyConfig();
  1873. for (var name in events) {
  1874. var event = events[name];
  1875. (function (event, name) {
  1876. document.querySelector('[data-theme-toggle="' + name + '"]').addEventListener("click", function (e) {
  1877. updateThemeConfig(name);
  1878. event.call();
  1879. e.preventDefault();
  1880. return false;
  1881. });
  1882. })(event, name);
  1883. }
  1884. })();
  1885. </script>
  1886. <script>
  1887. (function() {
  1888. var navbarPrimary = document.getElementById('navbar-primary'),
  1889. navbarSecondary = document.getElementById('navbar-secondary');
  1890. var defaults = {
  1891. theme: 'light',
  1892. 'navbar-position': 'horizontal',
  1893. 'navbar-size': 'wide',
  1894. 'navbar-side': 'left',
  1895. 'navbar-color': 'light',
  1896. };
  1897. var eventsClean = {
  1898. 'theme': function () {
  1899. document.body.classList.remove('theme-dark');
  1900. },
  1901. 'navbar-position': function () {
  1902. navbarPrimary.classList.remove('navbar-vertical');
  1903. navbarSecondary.classList.remove('d-none');
  1904. },
  1905. 'navbar-size': function () {
  1906. navbarPrimary.classList.remove('navbar-vertical-narrow');
  1907. },
  1908. 'navbar-side': function () {
  1909. navbarPrimary.classList.remove('navbar-right');
  1910. },
  1911. 'navbar-color': function () {
  1912. navbarPrimary.classList.remove('navbar-dark');
  1913. navbarPrimary.classList.add('navbar-light');
  1914. },
  1915. };
  1916. var events = {
  1917. 'theme:light': function () {
  1918. },
  1919. 'theme:dark': function () {
  1920. document.body.classList.add('theme-dark');
  1921. },
  1922. 'navbar-position:vertical': function () {
  1923. navbarPrimary.classList.add('navbar-vertical');
  1924. navbarSecondary.classList.add('d-none');
  1925. },
  1926. 'navbar-position:horizontal': function () {
  1927. },
  1928. 'navbar-position:both': function () {
  1929. navbarPrimary.classList.add('navbar-vertical');
  1930. },
  1931. 'navbar-size:wide': function () {
  1932. },
  1933. 'navbar-size:narrow': function () {
  1934. navbarPrimary.classList.add('navbar-vertical-narrow');
  1935. },
  1936. 'navbar-side:left': function () {
  1937. },
  1938. 'navbar-side:right': function () {
  1939. navbarPrimary.classList.add('navbar-right');
  1940. },
  1941. 'navbar-color:light': function () {
  1942. },
  1943. 'navbar-color:dark': function () {
  1944. navbarPrimary.classList.add('navbar-dark');
  1945. navbarPrimary.classList.remove('navbar-light');
  1946. },
  1947. };
  1948. var updateThemeConfig = function (name) {
  1949. var key, value;
  1950. if (name) {
  1951. [key, value] = name.split(':');
  1952. setConfig(key, value);
  1953. }
  1954. applyConfig();
  1955. };
  1956. var disableTransitions = function () {
  1957. document.body.classList.add('no-transitions');
  1958. setTimeout(function () {
  1959. document.body.classList.remove('no-transitions');
  1960. }, 300);
  1961. };
  1962. var getConfig = function () {
  1963. var config = {};
  1964. for (var key in defaults) {
  1965. config[key] = localStorage.getItem('tabler-' + key) || defaults[key];
  1966. }
  1967. return config;
  1968. };
  1969. var setConfig = function (key, value) {
  1970. localStorage.setItem('tabler-' + key, value);
  1971. };
  1972. var applyConfig = function () {
  1973. disableTransitions();
  1974. var config = getConfig();
  1975. for (var key in config) {
  1976. var value = config[key];
  1977. eventsClean[key] && eventsClean[key].call();
  1978. events[key + ':' + value] && events[key + ':' + value].call();
  1979. ([].slice.call(document.querySelectorAll('[data-theme-toggle^="' + key + '"]'))).map(function (activeTrigger) {
  1980. activeTrigger.classList.remove('active')
  1981. });
  1982. document.querySelector('[data-theme-toggle="' + key + ':' + value + '"]').classList.add('active');
  1983. }
  1984. };
  1985. applyConfig();
  1986. for (var name in events) {
  1987. var event = events[name];
  1988. (function (event, name) {
  1989. document.querySelector('[data-theme-toggle="' + name + '"]').addEventListener("click", function (e) {
  1990. updateThemeConfig(name);
  1991. event.call();
  1992. e.preventDefault();
  1993. return false;
  1994. });
  1995. })(event, name);
  1996. }
  1997. })();
  1998. </script>
  1999. <script>
  2000. (function() {
  2001. var navbarPrimary = document.getElementById('navbar-primary'),
  2002. navbarSecondary = document.getElementById('navbar-secondary');
  2003. var defaults = {
  2004. theme: 'light',
  2005. 'navbar-position': 'horizontal',
  2006. 'navbar-size': 'wide',
  2007. 'navbar-side': 'left',
  2008. 'navbar-color': 'light',
  2009. };
  2010. var eventsClean = {
  2011. 'theme': function () {
  2012. document.body.classList.remove('theme-dark');
  2013. },
  2014. 'navbar-position': function () {
  2015. navbarPrimary.classList.remove('navbar-vertical');
  2016. navbarSecondary.classList.remove('d-none');
  2017. },
  2018. 'navbar-size': function () {
  2019. navbarPrimary.classList.remove('navbar-vertical-narrow');
  2020. },
  2021. 'navbar-side': function () {
  2022. navbarPrimary.classList.remove('navbar-right');
  2023. },
  2024. 'navbar-color': function () {
  2025. navbarPrimary.classList.remove('navbar-dark');
  2026. navbarPrimary.classList.add('navbar-light');
  2027. },
  2028. };
  2029. var events = {
  2030. 'theme:light': function () {
  2031. },
  2032. 'theme:dark': function () {
  2033. document.body.classList.add('theme-dark');
  2034. },
  2035. 'navbar-position:vertical': function () {
  2036. navbarPrimary.classList.add('navbar-vertical');
  2037. navbarSecondary.classList.add('d-none');
  2038. },
  2039. 'navbar-position:horizontal': function () {
  2040. },
  2041. 'navbar-position:both': function () {
  2042. navbarPrimary.classList.add('navbar-vertical');
  2043. },
  2044. 'navbar-size:wide': function () {
  2045. },
  2046. 'navbar-size:narrow': function () {
  2047. navbarPrimary.classList.add('navbar-vertical-narrow');
  2048. },
  2049. 'navbar-side:left': function () {
  2050. },
  2051. 'navbar-side:right': function () {
  2052. navbarPrimary.classList.add('navbar-right');
  2053. },
  2054. 'navbar-color:light': function () {
  2055. },
  2056. 'navbar-color:dark': function () {
  2057. navbarPrimary.classList.add('navbar-dark');
  2058. navbarPrimary.classList.remove('navbar-light');
  2059. },
  2060. };
  2061. var updateThemeConfig = function (name) {
  2062. var key, value;
  2063. if (name) {
  2064. [key, value] = name.split(':');
  2065. setConfig(key, value);
  2066. }
  2067. applyConfig();
  2068. };
  2069. var disableTransitions = function () {
  2070. document.body.classList.add('no-transitions');
  2071. setTimeout(function () {
  2072. document.body.classList.remove('no-transitions');
  2073. }, 300);
  2074. };
  2075. var getConfig = function () {
  2076. var config = {};
  2077. for (var key in defaults) {
  2078. config[key] = localStorage.getItem('tabler-' + key) || defaults[key];
  2079. }
  2080. return config;
  2081. };
  2082. var setConfig = function (key, value) {
  2083. localStorage.setItem('tabler-' + key, value);
  2084. };
  2085. var applyConfig = function () {
  2086. disableTransitions();
  2087. var config = getConfig();
  2088. for (var key in config) {
  2089. var value = config[key];
  2090. eventsClean[key] && eventsClean[key].call();
  2091. events[key + ':' + value] && events[key + ':' + value].call();
  2092. ([].slice.call(document.querySelectorAll('[data-theme-toggle^="' + key + '"]'))).map(function (activeTrigger) {
  2093. activeTrigger.classList.remove('active')
  2094. });
  2095. document.querySelector('[data-theme-toggle="' + key + ':' + value + '"]').classList.add('active');
  2096. }
  2097. };
  2098. applyConfig();
  2099. for (var name in events) {
  2100. var event = events[name];
  2101. (function (event, name) {
  2102. document.querySelector('[data-theme-toggle="' + name + '"]').addEventListener("click", function (e) {
  2103. updateThemeConfig(name);
  2104. event.call();
  2105. e.preventDefault();
  2106. return false;
  2107. });
  2108. })(event, name);
  2109. }
  2110. })();
  2111. </script>
  2112. <script>
  2113. // @formatter:off
  2114. document.addEventListener("DOMContentLoaded", function () {
  2115. window.ApexCharts && (new ApexCharts(document.getElementById('chart-revenue-bg'), {
  2116. chart: {
  2117. type: "area",
  2118. fontFamily: 'inherit',
  2119. height: 40.0,
  2120. sparkline: {
  2121. enabled: true
  2122. },
  2123. animations: {
  2124. enabled: false
  2125. },
  2126. },
  2127. dataLabels: {
  2128. enabled: false,
  2129. },
  2130. fill: {
  2131. opacity: .16,
  2132. type: 'solid'
  2133. },
  2134. stroke: {
  2135. width: 2,
  2136. lineCap: "round",
  2137. curve: "smooth",
  2138. },
  2139. series: [{
  2140. name: "Profits",
  2141. data: [37, 35, 44, 28, 36, 24, 65, 31, 37, 39, 62, 51, 35, 41, 35, 27, 93, 53, 61, 27, 54, 43, 19, 46, 39, 62, 51, 35, 41, 67]
  2142. }],
  2143. grid: {
  2144. strokeDashArray: 4,
  2145. },
  2146. xaxis: {
  2147. labels: {
  2148. padding: 0
  2149. },
  2150. tooltip: {
  2151. enabled: false
  2152. },
  2153. axisBorder: {
  2154. show: false,
  2155. },
  2156. type: 'datetime',
  2157. },
  2158. yaxis: {
  2159. labels: {
  2160. padding: 4
  2161. },
  2162. },
  2163. labels: [
  2164. '2020-06-20', '2020-06-21', '2020-06-22', '2020-06-23', '2020-06-24', '2020-06-25', '2020-06-26', '2020-06-27', '2020-06-28', '2020-06-29', '2020-06-30', '2020-07-01', '2020-07-02', '2020-07-03', '2020-07-04', '2020-07-05', '2020-07-06', '2020-07-07', '2020-07-08', '2020-07-09', '2020-07-10', '2020-07-11', '2020-07-12', '2020-07-13', '2020-07-14', '2020-07-15', '2020-07-16', '2020-07-17', '2020-07-18', '2020-07-19'
  2165. ],
  2166. colors: ["#206bc4"],
  2167. legend: {
  2168. show: false,
  2169. },
  2170. })).render();
  2171. });
  2172. // @formatter:on
  2173. </script>
  2174. <script>
  2175. (function() {
  2176. var navbarPrimary = document.getElementById('navbar-primary'),
  2177. navbarSecondary = document.getElementById('navbar-secondary');
  2178. var defaults = {
  2179. theme: 'light',
  2180. 'navbar-position': 'horizontal',
  2181. 'navbar-size': 'wide',
  2182. 'navbar-side': 'left',
  2183. 'navbar-color': 'light',
  2184. };
  2185. var eventsClean = {
  2186. 'theme': function () {
  2187. document.body.classList.remove('theme-dark');
  2188. },
  2189. 'navbar-position': function () {
  2190. navbarPrimary.classList.remove('navbar-vertical');
  2191. navbarSecondary.classList.remove('d-none');
  2192. },
  2193. 'navbar-size': function () {
  2194. navbarPrimary.classList.remove('navbar-vertical-narrow');
  2195. },
  2196. 'navbar-side': function () {
  2197. navbarPrimary.classList.remove('navbar-right');
  2198. },
  2199. 'navbar-color': function () {
  2200. navbarPrimary.classList.remove('navbar-dark');
  2201. navbarPrimary.classList.add('navbar-light');
  2202. },
  2203. };
  2204. var events = {
  2205. 'theme:light': function () {
  2206. },
  2207. 'theme:dark': function () {
  2208. document.body.classList.add('theme-dark');
  2209. },
  2210. 'navbar-position:vertical': function () {
  2211. navbarPrimary.classList.add('navbar-vertical');
  2212. navbarSecondary.classList.add('d-none');
  2213. },
  2214. 'navbar-position:horizontal': function () {
  2215. },
  2216. 'navbar-position:both': function () {
  2217. navbarPrimary.classList.add('navbar-vertical');
  2218. },
  2219. 'navbar-size:wide': function () {
  2220. },
  2221. 'navbar-size:narrow': function () {
  2222. navbarPrimary.classList.add('navbar-vertical-narrow');
  2223. },
  2224. 'navbar-side:left': function () {
  2225. },
  2226. 'navbar-side:right': function () {
  2227. navbarPrimary.classList.add('navbar-right');
  2228. },
  2229. 'navbar-color:light': function () {
  2230. },
  2231. 'navbar-color:dark': function () {
  2232. navbarPrimary.classList.add('navbar-dark');
  2233. navbarPrimary.classList.remove('navbar-light');
  2234. },
  2235. };
  2236. var updateThemeConfig = function (name) {
  2237. var key, value;
  2238. if (name) {
  2239. [key, value] = name.split(':');
  2240. setConfig(key, value);
  2241. }
  2242. applyConfig();
  2243. };
  2244. var disableTransitions = function () {
  2245. document.body.classList.add('no-transitions');
  2246. setTimeout(function () {
  2247. document.body.classList.remove('no-transitions');
  2248. }, 300);
  2249. };
  2250. var getConfig = function () {
  2251. var config = {};
  2252. for (var key in defaults) {
  2253. config[key] = localStorage.getItem('tabler-' + key) || defaults[key];
  2254. }
  2255. return config;
  2256. };
  2257. var setConfig = function (key, value) {
  2258. localStorage.setItem('tabler-' + key, value);
  2259. };
  2260. var applyConfig = function () {
  2261. disableTransitions();
  2262. var config = getConfig();
  2263. for (var key in config) {
  2264. var value = config[key];
  2265. eventsClean[key] && eventsClean[key].call();
  2266. events[key + ':' + value] && events[key + ':' + value].call();
  2267. ([].slice.call(document.querySelectorAll('[data-theme-toggle^="' + key + '"]'))).map(function (activeTrigger) {
  2268. activeTrigger.classList.remove('active')
  2269. });
  2270. document.querySelector('[data-theme-toggle="' + key + ':' + value + '"]').classList.add('active');
  2271. }
  2272. };
  2273. applyConfig();
  2274. for (var name in events) {
  2275. var event = events[name];
  2276. (function (event, name) {
  2277. document.querySelector('[data-theme-toggle="' + name + '"]').addEventListener("click", function (e) {
  2278. updateThemeConfig(name);
  2279. event.call();
  2280. e.preventDefault();
  2281. return false;
  2282. });
  2283. })(event, name);
  2284. }
  2285. })();
  2286. </script>
  2287. <script>
  2288. (function() {
  2289. var navbarPrimary = document.getElementById('navbar-primary'),
  2290. navbarSecondary = document.getElementById('navbar-secondary');
  2291. var defaults = {
  2292. theme: 'light',
  2293. 'navbar-position': 'horizontal',
  2294. 'navbar-size': 'wide',
  2295. 'navbar-side': 'left',
  2296. 'navbar-color': 'light',
  2297. };
  2298. var eventsClean = {
  2299. 'theme': function () {
  2300. document.body.classList.remove('theme-dark');
  2301. },
  2302. 'navbar-position': function () {
  2303. navbarPrimary.classList.remove('navbar-vertical');
  2304. navbarSecondary.classList.remove('d-none');
  2305. },
  2306. 'navbar-size': function () {
  2307. navbarPrimary.classList.remove('navbar-vertical-narrow');
  2308. },
  2309. 'navbar-side': function () {
  2310. navbarPrimary.classList.remove('navbar-right');
  2311. },
  2312. 'navbar-color': function () {
  2313. navbarPrimary.classList.remove('navbar-dark');
  2314. navbarPrimary.classList.add('navbar-light');
  2315. },
  2316. };
  2317. var events = {
  2318. 'theme:light': function () {
  2319. },
  2320. 'theme:dark': function () {
  2321. document.body.classList.add('theme-dark');
  2322. },
  2323. 'navbar-position:vertical': function () {
  2324. navbarPrimary.classList.add('navbar-vertical');
  2325. navbarSecondary.classList.add('d-none');
  2326. },
  2327. 'navbar-position:horizontal': function () {
  2328. },
  2329. 'navbar-position:both': function () {
  2330. navbarPrimary.classList.add('navbar-vertical');
  2331. },
  2332. 'navbar-size:wide': function () {
  2333. },
  2334. 'navbar-size:narrow': function () {
  2335. navbarPrimary.classList.add('navbar-vertical-narrow');
  2336. },
  2337. 'navbar-side:left': function () {
  2338. },
  2339. 'navbar-side:right': function () {
  2340. navbarPrimary.classList.add('navbar-right');
  2341. },
  2342. 'navbar-color:light': function () {
  2343. },
  2344. 'navbar-color:dark': function () {
  2345. navbarPrimary.classList.add('navbar-dark');
  2346. navbarPrimary.classList.remove('navbar-light');
  2347. },
  2348. };
  2349. var updateThemeConfig = function (name) {
  2350. var key, value;
  2351. if (name) {
  2352. [key, value] = name.split(':');
  2353. setConfig(key, value);
  2354. }
  2355. applyConfig();
  2356. };
  2357. var disableTransitions = function () {
  2358. document.body.classList.add('no-transitions');
  2359. setTimeout(function () {
  2360. document.body.classList.remove('no-transitions');
  2361. }, 300);
  2362. };
  2363. var getConfig = function () {
  2364. var config = {};
  2365. for (var key in defaults) {
  2366. config[key] = localStorage.getItem('tabler-' + key) || defaults[key];
  2367. }
  2368. return config;
  2369. };
  2370. var setConfig = function (key, value) {
  2371. localStorage.setItem('tabler-' + key, value);
  2372. };
  2373. var applyConfig = function () {
  2374. disableTransitions();
  2375. var config = getConfig();
  2376. for (var key in config) {
  2377. var value = config[key];
  2378. eventsClean[key] && eventsClean[key].call();
  2379. events[key + ':' + value] && events[key + ':' + value].call();
  2380. ([].slice.call(document.querySelectorAll('[data-theme-toggle^="' + key + '"]'))).map(function (activeTrigger) {
  2381. activeTrigger.classList.remove('active')
  2382. });
  2383. document.querySelector('[data-theme-toggle="' + key + ':' + value + '"]').classList.add('active');
  2384. }
  2385. };
  2386. applyConfig();
  2387. for (var name in events) {
  2388. var event = events[name];
  2389. (function (event, name) {
  2390. document.querySelector('[data-theme-toggle="' + name + '"]').addEventListener("click", function (e) {
  2391. updateThemeConfig(name);
  2392. event.call();
  2393. e.preventDefault();
  2394. return false;
  2395. });
  2396. })(event, name);
  2397. }
  2398. })();
  2399. </script>
  2400. <script>
  2401. document.body.style.display = "block"
  2402. </script>
  2403. </body>
  2404. </html>