ViannyCruz commited on
Commit
a2f83fa
·
verified ·
1 Parent(s): c16bdf7

Update web/diagnosis.html

Browse files
Files changed (1) hide show
  1. web/diagnosis.html +9 -2
web/diagnosis.html CHANGED
@@ -27,8 +27,15 @@
27
  <link rel="stylesheet" href="css/jquery.timepicker.css">
28
  <link rel="stylesheet" href="css/quill.snow.css">
29
  <link rel="stylesheet" href="css/daterangepicker.css">
30
- <link rel="stylesheet" href="css/app-light.css" id="lightTheme">
31
- <link rel="stylesheet" href="css/app-dark.css" id="darkTheme" disabled>
 
 
 
 
 
 
 
32
 
33
  <style>
34
  .upload-zone {
 
27
  <link rel="stylesheet" href="css/jquery.timepicker.css">
28
  <link rel="stylesheet" href="css/quill.snow.css">
29
  <link rel="stylesheet" href="css/daterangepicker.css">
30
+ <script>
31
+ (function() {
32
+ var dark = localStorage.getItem('theme') === 'dark';
33
+ document.write(
34
+ '<link rel="stylesheet" href="css/app-' + (dark ? 'dark' : 'light') + '.css" id="' + (dark ? 'dark' : 'light') + 'Theme">' +
35
+ '<link rel="stylesheet" href="css/app-' + (dark ? 'light' : 'dark') + '.css" id="' + (dark ? 'light' : 'dark') + 'Theme" disabled>'
36
+ );
37
+ })();
38
+ </script>
39
 
40
  <style>
41
  .upload-zone {