From ddfb29f344c25bcc663f1f017850c5400e974c1a Mon Sep 17 00:00:00 2001 From: HB9HIL Date: Mon, 23 Feb 2026 21:23:15 +0100 Subject: [PATCH] change wording, added tooltips and colored dots --- application/views/dashboard/index.php | 39 ++++++++++++++++----------- 1 file changed, 23 insertions(+), 16 deletions(-) diff --git a/application/views/dashboard/index.php b/application/views/dashboard/index.php index d15802260..a214b69b6 100644 --- a/application/views/dashboard/index.php +++ b/application/views/dashboard/index.php @@ -488,6 +488,13 @@ function getDistance($distance) { + 'text-success', 'Fair' => 'text-warning', 'Poor' => 'text-danger', 'n/a' => 'text-secondary']; + $color = $colors[$condition] ?? ''; + return $condition ? ' ' . $condition : ($condition ?? ''); + } + ?> @@ -498,17 +505,17 @@ function getDistance($distance) { - - - - + + + + - - - - + + + +
 
Day
Night
@@ -517,14 +524,14 @@ function getDistance($distance) { - - - - - - - - + + + + + + + +
KpASFISWSSXNoiseAurora">Kp">A">SFI">SW">SS">X">SSN">Aurora