From d9d477f7fbab001120eb61baa79d5c623df69255 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Sun, 31 Dec 2017 16:50:31 +0100 Subject: [PATCH] Add "BOGUS" and unknown ("?") Signed-off-by: DL6ER --- scripts/pi-hole/js/queries.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/pi-hole/js/queries.js b/scripts/pi-hole/js/queries.js index 246c20bf..3642248b 100644 --- a/scripts/pi-hole/js/queries.js +++ b/scripts/pi-hole/js/queries.js @@ -177,11 +177,16 @@ $(document).ready(function() { $("td:eq(5)", row).css("color","orange"); $("td:eq(5)", row).html( "INSECURE" ); } - else if (data[5] === "5") + else if (data[5] === "3") { $("td:eq(5)", row).css("color","red"); $("td:eq(5)", row).html( "BOGUS" ); } + else if (data[5] === "4") + { + $("td:eq(5)", row).css("color","red"); + $("td:eq(5)", row).html( "?" ); + } else { $("td:eq(5)", row).html( "-" );