diff --git a/includes/functions.php b/includes/functions.php index cc5d6c99..19bc4eaa 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -1005,3 +1005,27 @@ function lightenColor($color, $percent) return sprintf("#%02x%02x%02x", $r, $g, $b); } + +function renderStatus($hostapd_led, $hostapd_status, $memused_led, $memused, $cputemp_led, $cputemp) +{ + ?> +
+ +
+
Status
+
+ +
+
+ % +
+
+ °C +
+
+
+