mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user