From 0e45650972720c1df41af010adcbd9fb5d909f64 Mon Sep 17 00:00:00 2001 From: Rahix Date: Sun, 10 Nov 2024 02:08:05 +0100 Subject: [PATCH] succd: Render temperature unit in template as well --- succbone/succd/index.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/succbone/succd/index.html b/succbone/succd/index.html index def9ac9..37f0849 100644 --- a/succbone/succd/index.html +++ b/succbone/succd/index.html @@ -164,24 +164,24 @@ td > span { Temperatures DP Bottom - {{ .Temperatures.DPBottom }} + {{ .Temperatures.DPBottom }} °C DP Top - {{ .Temperatures.DPTop }} + {{ .Temperatures.DPTop }} °C DP Inlet - {{ .Temperatures.DPInlet }} + {{ .Temperatures.DPInlet }} °C SEM Environment - {{ .Temperatures.SEM }} + {{ .Temperatures.SEM }} °C Humidity SEM Environment - {{ .Humidity.SEM }} + {{ .Humidity.SEM }}% @@ -419,7 +419,7 @@ window.addEventListener("load", (_) => { tempSEM.innerHTML = data.Temperatures.SEM + " °C"; tempSEM.style = (data.Temperatures.SEM > 30) ? colors.highlightCaution : colors.default; - humiditySEM.innerHTML = data.Humidity.SEM + " %"; + humiditySEM.innerHTML = data.Humidity.SEM + "%"; humiditySEM.style = (data.Humidity.SEM > 59) ? colors.highlightCaution : colors.default;