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

Update web/patients.html

Browse files
Files changed (1) hide show
  1. web/patients.html +9 -2
web/patients.html CHANGED
@@ -17,8 +17,15 @@
17
  <link rel="stylesheet" href="css/jquery.timepicker.css">
18
  <link rel="stylesheet" href="css/quill.snow.css">
19
  <link rel="stylesheet" href="css/daterangepicker.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
 
23
  <style>
24
  .patient-card {
 
17
  <link rel="stylesheet" href="css/jquery.timepicker.css">
18
  <link rel="stylesheet" href="css/quill.snow.css">
19
  <link rel="stylesheet" href="css/daterangepicker.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
 
30
  <style>
31
  .patient-card {