From 17df978be04a42a0276e57f219d029eb1e7e8e21 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Mon, 2 Jan 2017 11:55:01 +0100 Subject: [PATCH 1/6] Add 'Flush Logs' button also to the Query Logging dialog box --- settings.php | 1 + 1 file changed, 1 insertion(+) diff --git a/settings.php b/settings.php index 21e89fc1..9da34f46 100644 --- a/settings.php +++ b/settings.php @@ -455,6 +455,7 @@

Privacy mode

-
-
+
+
+
+
+

Warning: PHP has been compiled without IPv6 support.

From 4209320b8727447f5285bdb6443135cae6fe59be Mon Sep 17 00:00:00 2001 From: DL6ER Date: Mon, 2 Jan 2017 13:17:45 +0100 Subject: [PATCH 6/6] Add glowing notification that users should disabled their router's DHCP server when first activating the DHCP server --- scripts/pi-hole/js/settings.js | 1 + settings.php | 19 +++++++++++++++++-- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/scripts/pi-hole/js/settings.js b/scripts/pi-hole/js/settings.js index e7e613ea..27620f5a 100644 --- a/scripts/pi-hole/js/settings.js +++ b/scripts/pi-hole/js/settings.js @@ -55,6 +55,7 @@ $(".confirm-flushlogs").confirm({ $("#DHCPchk").click(function() { $("input.DHCPgroup").prop("disabled", !this.checked); + $("#dhcpnotice").prop("hidden", !this.checked).addClass("lookatme"); }); var leasetable; diff --git a/settings.php b/settings.php index 37f01c09..175af9f1 100644 --- a/settings.php +++ b/settings.php @@ -9,6 +9,16 @@ max-width: none; white-space: nowrap; } + @-webkit-keyframes Pulse{ + from {color:#630030;-webkit-text-shadow:0 0 9px #333;} + 50% {color:#e33100;-webkit-text-shadow:0 0 18px #e33100;} + to {color:#630030;-webkit-text-shadow:0 0 9px #333;} + } + p.lookatme { + -webkit-animation-name: Pulse; + -webkit-animation-duration: 2s; + -webkit-animation-iteration-count: infinite; + } @@ -152,8 +162,13 @@
-
-
+
+
+
+
+
+
+

hidden>Make sure your router's DHCP server is disabled when using the Pi-hole DHCP server!