mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 04:38:28 +00:00
Add interpretation of new query status 14 = already forwarded
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -98,7 +98,7 @@ function getQueryTypes() {
|
||||
}
|
||||
|
||||
if ($("#type_forwarded").prop("checked")) {
|
||||
queryType.push(2);
|
||||
queryType.push([2, 14]);
|
||||
}
|
||||
|
||||
if ($("#type_cached").prop("checked")) {
|
||||
@@ -272,6 +272,12 @@ $(function () {
|
||||
fieldtext = "Retried <br class='hidden-lg'>(ignored)";
|
||||
buttontext = "";
|
||||
break;
|
||||
case 14:
|
||||
color = "green";
|
||||
fieldtext = "OK <br class='hidden-lg'>(already forwarded)";
|
||||
buttontext =
|
||||
'<button type="button" class="btn btn-default btn-sm text-red"><i class="fa fa-ban"></i> Blacklist</button>';
|
||||
break;
|
||||
default:
|
||||
color = "black";
|
||||
fieldtext = "Unknown";
|
||||
|
||||
Reference in New Issue
Block a user