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

Update web/historial-consultas.html

Browse files
Files changed (1) hide show
  1. web/historial-consultas.html +9 -2
web/historial-consultas.html CHANGED
@@ -17,8 +17,15 @@
17
  <link rel="stylesheet" href="css/select2.css">
18
  <link rel="stylesheet" href="css/daterangepicker.css">
19
  <!-- App CSS -->
20
- <link rel="stylesheet" href="css/app-light.css" id="lightTheme">
21
- <link rel="stylesheet" href="css/app-dark.css" id="darkTheme" disabled>
 
 
 
 
 
 
 
22
  </head>
23
 
24
  <body class="vertical light">
 
17
  <link rel="stylesheet" href="css/select2.css">
18
  <link rel="stylesheet" href="css/daterangepicker.css">
19
  <!-- App CSS -->
20
+ <script>
21
+ (function() {
22
+ var dark = localStorage.getItem('theme') === 'dark';
23
+ document.write(
24
+ '<link rel="stylesheet" href="css/app-' + (dark ? 'dark' : 'light') + '.css" id="' + (dark ? 'dark' : 'light') + 'Theme">' +
25
+ '<link rel="stylesheet" href="css/app-' + (dark ? 'light' : 'dark') + '.css" id="' + (dark ? 'light' : 'dark') + 'Theme" disabled>'
26
+ );
27
+ })();
28
+ </script>
29
  </head>
30
 
31
  <body class="vertical light">