From c6b6edae0589a4222afe2c1ba0ef55d7742e8167 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Thu, 16 Aug 2018 14:16:30 +0200 Subject: [PATCH] Change "Pi-holed" to "Blocked" on the Query Log. Also add a new "Blocked (external)" status that will be used by a future version of FTL. I also removed the addition of the dnssec status to the "Blocked (gravity)" status as requests answered from the blocking lists do not have a DNSSEC status. Signed-off-by: DL6ER --- scripts/pi-hole/js/queries.js | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/scripts/pi-hole/js/queries.js b/scripts/pi-hole/js/queries.js index 0581efa4..704f5638 100644 --- a/scripts/pi-hole/js/queries.js +++ b/scripts/pi-hole/js/queries.js @@ -175,7 +175,7 @@ $(document).ready(function() { case "1": blocked = true; color = "red"; - fieldtext = "Pi-holed"+dnssec_status; + fieldtext = "Blocked (gravity)"; buttontext = ""; break; case "2": @@ -193,13 +193,19 @@ $(document).ready(function() { case "4": blocked = true; color = "red"; - fieldtext = "Pi-holed (wildcard)"; + fieldtext = "Blocked (regex/wildcard)"; buttontext = ""; break; case "5": blocked = true; color = "red"; - fieldtext = "Pi-holed (blacklist)"; + fieldtext = "Blocked (blacklist)"; + buttontext = "" ; + break; + case "6": + blocked = true; + color = "red"; + fieldtext = "Blocked (external)"; buttontext = "" ; break; default: