Update web/index.html
Browse files- web/index.html +9 -2
web/index.html
CHANGED
|
@@ -25,8 +25,15 @@
|
|
| 25 |
<link rel="stylesheet" href="css/jquery.timepicker.css">
|
| 26 |
<link rel="stylesheet" href="css/quill.snow.css">
|
| 27 |
<link rel="stylesheet" href="css/daterangepicker.css">
|
| 28 |
-
<
|
| 29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
|
| 31 |
|
| 32 |
</head>
|
|
|
|
| 25 |
<link rel="stylesheet" href="css/jquery.timepicker.css">
|
| 26 |
<link rel="stylesheet" href="css/quill.snow.css">
|
| 27 |
<link rel="stylesheet" href="css/daterangepicker.css">
|
| 28 |
+
<script>
|
| 29 |
+
(function() {
|
| 30 |
+
var dark = localStorage.getItem('theme') === 'dark';
|
| 31 |
+
document.write(
|
| 32 |
+
'<link rel="stylesheet" href="css/app-' + (dark ? 'dark' : 'light') + '.css" id="' + (dark ? 'dark' : 'light') + 'Theme">' +
|
| 33 |
+
'<link rel="stylesheet" href="css/app-' + (dark ? 'light' : 'dark') + '.css" id="' + (dark ? 'light' : 'dark') + 'Theme" disabled>'
|
| 34 |
+
);
|
| 35 |
+
})();
|
| 36 |
+
</script>
|
| 37 |
|
| 38 |
|
| 39 |
</head>
|