From 964fcbd132b504add8f5661781cb2208cdb43a25 Mon Sep 17 00:00:00 2001 From: yubiuser Date: Sun, 11 Aug 2024 17:55:08 +0200 Subject: [PATCH] Have two spaces between indicator and text in Status panel Signed-off-by: yubiuser --- scripts/pi-hole/js/footer.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/pi-hole/js/footer.js b/scripts/pi-hole/js/footer.js index 7f3eae45..440a1054 100644 --- a/scripts/pi-hole/js/footer.js +++ b/scripts/pi-hole/js/footer.js @@ -50,7 +50,7 @@ function piholeChanged(blocking, timer = null) { switch (blocking) { case "enabled": { - status.html(" Active"); + status.html("  Active"); ena.hide(); dis.show(); dis.removeClass("active"); @@ -59,7 +59,7 @@ function piholeChanged(blocking, timer = null) { } case "disabled": { - status.html(" Blocking disabled"); + status.html("  Blocking disabled"); ena.show(); dis.hide(); @@ -68,7 +68,7 @@ function piholeChanged(blocking, timer = null) { case "failure": { status.html( - " DNS server failure" + "  DNS server failure" ); ena.hide(); dis.hide(); @@ -77,7 +77,7 @@ function piholeChanged(blocking, timer = null) { } default: { - status.html(" Status unknown"); + status.html("  Status unknown"); ena.hide(); dis.hide(); } @@ -391,11 +391,11 @@ function updateSensorsInfo() { ? "text-red fa-temperature-high" : "text-green-light fa-temperature-low"; $("#temperature").html( - ' Temp: ' + temp + '  Temp: ' + temp ); } else $("#temperature").html( - ' Temp: N/A' + '  Temp: N/A' ); // Get a text listing of all sensors