mirror of
https://github.com/pi-hole/web.git
synced 2025-12-20 18:58:28 +00:00
Add query log handling of SPECIAL_DOMAIN
Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
@@ -200,6 +200,12 @@ function parseQueryStatus(data) {
|
|||||||
buttontext =
|
buttontext =
|
||||||
'<button type="button" class="btn btn-default btn-sm text-red btn-blacklist"><i class="fa fa-ban"></i> Deny</button>';
|
'<button type="button" class="btn btn-default btn-sm text-red btn-blacklist"><i class="fa fa-ban"></i> Deny</button>';
|
||||||
break;
|
break;
|
||||||
|
case "SPECIAL_DOMAIN":
|
||||||
|
colorClass = "text-red";
|
||||||
|
icon = "fa-solid fa-ban";
|
||||||
|
fieldtext = data.status;
|
||||||
|
buttontext = "";
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
colorClass = "text-orange";
|
colorClass = "text-orange";
|
||||||
icon = "fa-solid fa-question";
|
icon = "fa-solid fa-question";
|
||||||
|
|||||||
Reference in New Issue
Block a user