Skip to content

Commit

Permalink
Merge pull request #1721 from pi-hole/master
Browse files Browse the repository at this point in the history
Sync after web v5.3.2 release
  • Loading branch information
DL6ER authored Jan 27, 2021
2 parents 35e6c83 + 1521dfe commit 6ff083a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
8 changes: 7 additions & 1 deletion scripts/pi-hole/js/db_queries.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ function getQueryTypes() {
}

if ($("#type_forwarded").prop("checked")) {
queryType.push(2);
queryType.push([2, 14]);
}

if ($("#type_cached").prop("checked")) {
Expand Down Expand Up @@ -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";
Expand Down
6 changes: 6 additions & 0 deletions scripts/pi-hole/js/queries.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,12 @@ $(function () {
fieldtext = "Retried <br class='hidden-lg'>(ignored)";
buttontext = "";
break;
case "14":
colorClass = "text-green";
fieldtext = "OK <br class='hidden-lg'>(already forwarded)" + dnssecStatus;
buttontext =
'<button type="button" class="btn btn-default btn-sm text-red"><i class="fa fa-ban"></i> Blacklist</button>';
break;
default:
colorClass = false;
fieldtext = "Unknown (" + parseInt(data[4], 10) + ")";
Expand Down

0 comments on commit 6ff083a

Please sign in to comment.