From 8021099f4957d40691d392e072cf750a2932679a Mon Sep 17 00:00:00 2001 From: billz Date: Tue, 5 Nov 2024 09:12:42 -0800 Subject: [PATCH] Create renderStatus() --- includes/functions.php | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) 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 +
+
+
+