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 <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2018-08-16 14:16:30 +02:00
parent da2a6fec69
commit c6b6edae05
+9 -3
View File
@@ -175,7 +175,7 @@ $(document).ready(function() {
case "1":
blocked = true;
color = "red";
fieldtext = "Pi-holed"+dnssec_status;
fieldtext = "Blocked (gravity)";
buttontext = "<button style=\"color:green; white-space: nowrap;\"><i class=\"fa fa-pencil-square-o\"></i> Whitelist</button>";
break;
case "2":
@@ -193,13 +193,19 @@ $(document).ready(function() {
case "4":
blocked = true;
color = "red";
fieldtext = "Pi-holed <br class='hidden-lg'>(wildcard)";
fieldtext = "Blocked <br class='hidden-lg'>(regex/wildcard)";
buttontext = "";
break;
case "5":
blocked = true;
color = "red";
fieldtext = "Pi-holed <br class='hidden-lg'>(blacklist)";
fieldtext = "Blocked <br class='hidden-lg'>(blacklist)";
buttontext = "<button style=\"color:green; white-space: nowrap;\"><i class=\"fa fa-pencil-square-o\"></i> Whitelist</button>" ;
break;
case "6":
blocked = true;
color = "red";
fieldtext = "Blocked <br class='hidden-lg'>(external)";
buttontext = "<button style=\"color:green; white-space: nowrap;\"><i class=\"fa fa-pencil-square-o\"></i> Whitelist</button>" ;
break;
default: