From 1f721d28d7a304401cd8086e45832fcc1a65fbee Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Fri, 13 Jul 2018 15:27:59 -0400 Subject: [PATCH] Add low voltage alert color --- client.js | 6 +++++- index.html | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/client.js b/client.js index 6c8b2c9..b8e424e 100644 --- a/client.js +++ b/client.js @@ -20,7 +20,11 @@ const trackedStations = { "KC1GDW-13": "Coordinator", "WB1BRE-12": "EMS", "KC1GDW-11": "Bike Tech", - "KC1GDW-14": "Something (panel van thing)" + "KC1GDW-14": "Something (panel van thing)", + + // People trackers + "W1HS-??": "", + "W1HS-??": "" }; const timeoutLength = 20 * 60 * 1000; // 20 Minutes diff --git a/index.html b/index.html index e45ec94..d403060 100644 --- a/index.html +++ b/index.html @@ -14,6 +14,10 @@ table.stations tr.timedOut { background-color: red; } + + table.stations tr.lowVoltage { + background-color: yellow; + }