mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Beta Support for Dark Mode has been added to the theme options
This commit is contained in:
@@ -5,4 +5,4 @@
|
||||
* It is used in conjunction with database_updates.php
|
||||
*/
|
||||
|
||||
DEFINE("LATEST_DATABASE_VERSION", "2.2.4");
|
||||
DEFINE("LATEST_DATABASE_VERSION", "2.2.5");
|
||||
|
||||
@@ -128,7 +128,7 @@ $config_time_format = "H:i";
|
||||
|
||||
// Theme
|
||||
$config_theme = $row['config_theme'];
|
||||
$config_theme_mode = "dark_mode";
|
||||
$config_theme_dark = intval($row['config_theme_dark']);
|
||||
|
||||
// Telemetry
|
||||
$config_telemetry = intval($row['config_telemetry']);
|
||||
|
||||
@@ -46,5 +46,9 @@ header("X-Frame-Options: DENY");
|
||||
<script src="plugins/toastr/toastr.min.js"></script>
|
||||
|
||||
</head>
|
||||
<body class="hold-transition sidebar-mini layout-fixed layout-navbar-fixed dark-moe accent-<?php if (isset($_GET['client_id'])) { echo "blue"; } else { echo nullable_htmlentities($config_theme); } ?>">
|
||||
<body class="
|
||||
hold-transition sidebar-mini layout-fixed layout-navbar-fixed
|
||||
accent-<?php if (isset($_GET['client_id'])) { echo "blue"; } else { echo nullable_htmlentities($config_theme); } ?>
|
||||
<?php if ($config_theme_dark) { echo "dark-mode"; } ?>
|
||||
">
|
||||
<div class="wrapper text-sm">
|
||||
|
||||
Reference in New Issue
Block a user