From 2985db4dd0950e32849b711e1d93b1a6fe8f43d0 Mon Sep 17 00:00:00 2001 From: Ben Date: Tue, 14 Nov 2023 22:06:13 -0500 Subject: [PATCH] added some danger messages for out of bound values on the home screen --- .../axe-os/src/app/components/home/home.component.html | 8 +++++--- .../axe-os/src/app/components/home/home.component.scss | 5 +++++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/main/http_server/axe-os/src/app/components/home/home.component.html b/main/http_server/axe-os/src/app/components/home/home.component.html index ae71768c9..49b46730b 100644 --- a/main/http_server/axe-os/src/app/components/home/home.component.html +++ b/main/http_server/axe-os/src/app/components/home/home.component.html @@ -68,11 +68,12 @@

Power

- + - + @@ -96,7 +97,8 @@

Power

- +
Power Consumption:{{info.power | number: '1.2-2'}} W{{info.power | number: '1.2-2'}} W
Input Voltage:{{info.voltage | number: '0.0-0'}} mV{{info.voltage | number: '0.0-0'}} mV   Danger: Low voltage
Input Current:
Chip Temperature:{{info.temp}} C{{info.temp}} C   Danger: + High Temperature
diff --git a/main/http_server/axe-os/src/app/components/home/home.component.scss b/main/http_server/axe-os/src/app/components/home/home.component.scss index 4c8a025a9..38e057db6 100644 --- a/main/http_server/axe-os/src/app/components/home/home.component.scss +++ b/main/http_server/axe-os/src/app/components/home/home.component.scss @@ -48,4 +48,9 @@ table>tr>td { line-break: anywhere; } +} + +.danger { + color: red; + font-weight: bold; } \ No newline at end of file