diff --git a/scripts/pi-hole/js/auditlog.js b/scripts/pi-hole/js/auditlog.js index 0374d6de..7afd1437 100644 --- a/scripts/pi-hole/js/auditlog.js +++ b/scripts/pi-hole/js/auditlog.js @@ -33,8 +33,8 @@ function updateTopLists() { " " + data.top_queries[domain] + " " + - '' + - '' + + '' + + '' + " " ); } @@ -58,7 +58,7 @@ function updateTopLists() { " " + data.top_ads[domain] + " " + - '' + + '' + " " ); } else { @@ -69,8 +69,8 @@ function updateTopLists() { " " + data.top_ads[domain] + " " + - '' + - '' + + '' + + '' + " " ); } diff --git a/scripts/pi-hole/js/db_queries.js b/scripts/pi-hole/js/db_queries.js index efa85074..535d38ac 100644 --- a/scripts/pi-hole/js/db_queries.js +++ b/scripts/pi-hole/js/db_queries.js @@ -265,7 +265,7 @@ $(function () { case 1: fieldtext = "Blocked (gravity)"; buttontext = - ''; + ''; blocked = true; break; case 2: @@ -275,24 +275,24 @@ $(function () { : "OK (answered by "; fieldtext += (data.length > 5 && data[5] !== "N/A" ? data[5] : "") + ")" + dnssecStatus; buttontext = - ''; + ''; break; case 3: fieldtext = "OK (cache)" + dnssecStatus; buttontext = - ''; + ''; break; case 4: fieldtext = "Blocked (regex blacklist)"; buttontext = - ''; + ''; blocked = true; break; case 5: fieldtext = "Blocked (exact blacklist)"; buttontext = - ''; + ''; blocked = true; break; case 6: @@ -313,21 +313,21 @@ $(function () { fieldtext = "Blocked (gravity, CNAME)"; buttontext = - ''; + ''; blocked = true; break; case 10: fieldtext = "Blocked (regex blacklist, CNAME)"; buttontext = - ''; + ''; blocked = true; break; case 11: fieldtext = "Blocked (exact blacklist, CNAME)"; buttontext = - ''; + ''; blocked = true; break; case 12: @@ -341,7 +341,7 @@ $(function () { "OK (already forwarded)" + dnssecStatus; buttontext = - ''; + ''; break; case 15: fieldtext = @@ -358,7 +358,7 @@ $(function () { "OK (stale cache)" + dnssecStatus; buttontext = - ''; + ''; break; default: fieldtext = "Unknown (" + parseInt(data[4], 10) + ")"; diff --git a/scripts/pi-hole/js/queries.js b/scripts/pi-hole/js/queries.js index 163d282b..708db6e8 100644 --- a/scripts/pi-hole/js/queries.js +++ b/scripts/pi-hole/js/queries.js @@ -124,7 +124,7 @@ $(function () { case "1": fieldtext = "Blocked (gravity)"; buttontext = - ''; + ''; blocked = true; break; case "2": @@ -135,25 +135,25 @@ $(function () { fieldtext += (data.length > 10 && data[10] !== "N/A" ? data[10] : "") + ")" + dnssecStatus; buttontext = - ''; + ''; break; case "3": fieldtext = "OK (cache)" + dnssecStatus; buttontext = - ''; + ''; break; case "4": fieldtext = "Blocked (regex blacklist)"; blocked = true; buttontext = - ''; + ''; break; case "5": fieldtext = "Blocked (exact blacklist)"; blocked = true; buttontext = - ''; + ''; break; case "6": fieldtext = "Blocked (external, IP)"; @@ -177,7 +177,7 @@ $(function () { "Blocked (gravity, CNAME)"; blocked = true; buttontext = - ''; + ''; isCNAME = true; break; case "10": @@ -185,7 +185,7 @@ $(function () { "Blocked (regex blacklist, CNAME)"; blocked = true; buttontext = - ''; + ''; isCNAME = true; break; case "11": @@ -193,7 +193,7 @@ $(function () { "Blocked (exact blacklist, CNAME)"; blocked = true; buttontext = - ''; + ''; isCNAME = true; break; case "12": @@ -207,7 +207,7 @@ $(function () { "OK (already forwarded)" + dnssecStatus; buttontext = - ''; + ''; break; case "15": fieldtext = @@ -224,7 +224,7 @@ $(function () { "OK (stale cache)" + dnssecStatus; buttontext = - ''; + ''; break; default: fieldtext = "Unknown (" + parseInt(data[4], 10) + ")"; diff --git a/scripts/pi-hole/php/header.php b/scripts/pi-hole/php/header.php index e0619177..563101e5 100644 --- a/scripts/pi-hole/php/header.php +++ b/scripts/pi-hole/php/header.php @@ -26,21 +26,13 @@ $hostname = gethostname() ? gethostname() : ''; - + - + - - - - - - - - - +