Stylize sidebar status indicators

This commit is contained in:
billz
2023-11-10 21:50:04 +00:00
parent 774d7e90ef
commit d874668ce1
4 changed files with 14 additions and 10 deletions

View File

@@ -46,10 +46,10 @@ if ($cputemp > 70) {
// hostapd status
$hostapd = $system->hostapdStatus();
if ($hostapd[0] ==1) {
$hostapd_status = "active";
$hostapd_status = "up";
$hostapd_led = "service-status-up";
} else {
$hostapd_status = "inactive";
$hostapd_status = "down";
$hostapd_led = "service-status-down";
}