mirror of
https://github.com/pi-hole/web.git
synced 2025-12-26 21:46:22 +00:00
Have two spaces between indicator and text in Status panel
Signed-off-by: yubiuser <github@yubiuser.dev>
This commit is contained in:
@@ -50,7 +50,7 @@ function piholeChanged(blocking, timer = null) {
|
||||
|
||||
switch (blocking) {
|
||||
case "enabled": {
|
||||
status.html("<i class='fa fa-circle fa-fw text-green-light'></i> Active");
|
||||
status.html("<i class='fa fa-circle fa-fw text-green-light'></i> Active");
|
||||
ena.hide();
|
||||
dis.show();
|
||||
dis.removeClass("active");
|
||||
@@ -59,7 +59,7 @@ function piholeChanged(blocking, timer = null) {
|
||||
}
|
||||
|
||||
case "disabled": {
|
||||
status.html("<i class='fa fa-circle fa-fw text-red'></i> Blocking disabled");
|
||||
status.html("<i class='fa fa-circle fa-fw text-red'></i> Blocking disabled");
|
||||
ena.show();
|
||||
dis.hide();
|
||||
|
||||
@@ -68,7 +68,7 @@ function piholeChanged(blocking, timer = null) {
|
||||
|
||||
case "failure": {
|
||||
status.html(
|
||||
"<i class='fa-solid fa-triangle-exclamation fa-fw text-red'></i> <span class='text-red'>DNS server failure</span>"
|
||||
"<i class='fa-solid fa-triangle-exclamation fa-fw text-red'></i> <span class='text-red'>DNS server failure</span>"
|
||||
);
|
||||
ena.hide();
|
||||
dis.hide();
|
||||
@@ -77,7 +77,7 @@ function piholeChanged(blocking, timer = null) {
|
||||
}
|
||||
|
||||
default: {
|
||||
status.html("<i class='fa fa-circle fa-fw text-red'></i> Status unknown");
|
||||
status.html("<i class='fa fa-circle fa-fw text-red'></i> 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(
|
||||
'<i class="fa fa-fw fas ' + color + '"></i> Temp: ' + temp
|
||||
'<i class="fa fa-fw fas ' + color + '"></i> Temp: ' + temp
|
||||
);
|
||||
} else
|
||||
$("#temperature").html(
|
||||
'<i class="fa fa-fw fas fa-temperature-low"></i> Temp: N/A'
|
||||
'<i class="fa fa-fw fas fa-temperature-low"></i> Temp: N/A'
|
||||
);
|
||||
|
||||
// Get a text listing of all sensors
|
||||
|
||||
Reference in New Issue
Block a user