mirror of
https://github.com/pi-hole/web.git
synced 2026-04-25 03:10:18 +01:00
Use the iCheck library for input box styling.
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -13,6 +13,12 @@
|
||||
|
||||
//$theme = "default-light";
|
||||
$theme = "default-dark";
|
||||
//$checkbox_theme_name = "flat";
|
||||
//$checkbox_theme_variant = "blue";
|
||||
$checkbox_theme_name = "polaris";
|
||||
$checkbox_theme_variant = "polaris";
|
||||
//$checkbox_theme_name = "futurico";
|
||||
//$checkbox_theme_variant = "futurico";
|
||||
|
||||
check_cors();
|
||||
|
||||
@@ -206,8 +212,6 @@
|
||||
|
||||
<link rel="stylesheet" href="style/vendor/AdminLTE.min.css">
|
||||
<link rel="stylesheet" href="style/vendor/animate.css">
|
||||
<link rel="stylesheet" href="style/pi-hole.css">
|
||||
<link rel="stylesheet" href="style/themes/<?php echo $theme; ?>.css">
|
||||
|
||||
<noscript><link rel="stylesheet" href="style/vendor/js-warn.css"></noscript>
|
||||
<script src="scripts/vendor/jquery.min.js"></script>
|
||||
@@ -227,6 +231,10 @@
|
||||
<script src="scripts/vendor/dataTables.bootstrap.min.js"></script>
|
||||
<script src="scripts/vendor/moment.min.js"></script>
|
||||
<script src="scripts/vendor/Chart.min.js"></script>
|
||||
<script src="scripts/vendor/iCheck.min.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="style/vendor/iCheck/<?php echo $checkbox_theme_name;?>/<?php echo $checkbox_theme_variant;?>.css">
|
||||
<link rel="stylesheet" href="style/pi-hole.css">
|
||||
<link rel="stylesheet" href="style/themes/<?php echo $theme; ?>.css">
|
||||
</head>
|
||||
<body class="hold-transition sidebar-mini <?php if($boxedlayout){ ?>layout-boxed<?php } ?>">
|
||||
<noscript>
|
||||
@@ -246,7 +254,7 @@ if($auth) {
|
||||
?>
|
||||
|
||||
<!-- Send token to JS -->
|
||||
<div id="token" hidden><?php if($auth) echo $token; ?></div>
|
||||
<div id="checkbox_theme" hidden><?php echo $checkbox_theme_name; ?><?php if($checkbox_theme_name !== $checkbox_theme_variant){ echo "-$checkbox_theme_variant"; } ?></div>
|
||||
<div id="enableTimer" hidden><?php if(file_exists("../custom_disable_timer")){ echo file_get_contents("../custom_disable_timer"); } ?></div>
|
||||
<div class="wrapper">
|
||||
<header class="main-header">
|
||||
|
||||
Reference in New Issue
Block a user