diff --git a/succbone/succd/index.html b/succbone/succd/index.html
index c598f0c..def9ac9 100644
--- a/succbone/succd/index.html
+++ b/succbone/succd/index.html
@@ -9,19 +9,19 @@ body {
padding: 2em;
}
table {
- font-size: 40px;
+ font-size: 30px;
}
table.status td {
width: 2em;
}
th, td {
background-color: #e8e8e8;
- padding: 0.4em;
+ padding: 0.3em;
}
th {
font-weight: 100;
text-align: right;
- font-size: 30px;
+ font-size: 25px;
}
td {
text-align: left;
@@ -34,7 +34,7 @@ h2 {
font-weight: 100;
}
button {
- height: 4.5em;
+ height: 3.3em;
padding-left: 1.5em;
padding-right: 1.5em;
}
@@ -76,6 +76,7 @@ td > span {
.has-hidden:hover .hidden-text {
display: block;
+}
@media only screen and (max-width: 700px) {
body {
@@ -111,22 +112,6 @@ td > span {
DP |
{{ if .Pumps.DPOn }}ON{{ else }}OFF{{ end }} |
-
- Temperatures |
- SEM |
- {{ .Temperatures.SEM }} |
- DPBottom |
- {{ .Temperatures.DPBottom }} |
- DPTop |
- {{ .Temperatures.DPTop }} |
- DPInlet |
- {{ .Temperatures.DPInlet }} |
-
-
- Humidity |
- SEM |
- {{ .Humidity.SEM }} |
-
Safety |
Pirani Failsafe |
@@ -136,19 +121,6 @@ td > span {
-
-
- Pirani Pressure |
-
- {{ .Pirani.Mbar }}
-
- Voltage: {{ .Pirani.Volts }}
-
- |
-
-
-
-
Control |
@@ -179,6 +151,41 @@ td > span {
+
+
+ Pirani Pressure |
+
+ {{ .Pirani.Mbar }}
+
+ Voltage: {{ .Pirani.Volts }}
+
+ |
+
+
+ Temperatures |
+ DP Bottom |
+ {{ .Temperatures.DPBottom }} |
+
+
+ DP Top |
+ {{ .Temperatures.DPTop }} |
+
+
+ DP Inlet |
+ {{ .Temperatures.DPInlet }} |
+
+
+ SEM Environment |
+ {{ .Temperatures.SEM }} |
+
+
+ Humidity |
+ SEM Environment |
+ {{ .Humidity.SEM }} |
+
+
+
+
@@ -410,10 +417,28 @@ window.addEventListener("load", (_) => {
}
tempSEM.innerHTML = data.Temperatures.SEM + " °C";
- tempDPBottom.innerHTML = data.Temperatures.DPBottom + " °C";
- tempDPTop.innerHTML = data.Temperatures.DPTop + " °C";
- tempDPInlet.innerHTML = data.Temperatures.DPInlet + " °C";
+ tempSEM.style = (data.Temperatures.SEM > 30) ?
+ colors.highlightCaution : colors.default;
humiditySEM.innerHTML = data.Humidity.SEM + " %";
+ humiditySEM.style = (data.Humidity.SEM > 59) ?
+ colors.highlightCaution : colors.default;
+
+ tempDPTop.innerHTML = data.Temperatures.DPTop + " °C";
+ tempDPTop.style = (data.Temperatures.DPTop > 30) ?
+ colors.highlightCaution : colors.default;
+
+ tempDPInlet.innerHTML = data.Temperatures.DPInlet + " °C";
+ tempDPInlet.style = (data.Temperatures.DPInlet > 30) ?
+ colors.highlightCaution : colors.default;
+
+ tempDPBottom.innerHTML = data.Temperatures.DPBottom + " °C";
+ if (data.Temperatures.DPBottom > 200) {
+ tempDPBottom.style = colors.highlightFault;
+ } else if (data.Temperatures.DPBottom > 50) {
+ tempDPBottom.style = colors.highlightNeutral;
+ } else {
+ tempDPBottom.style = colors.default;
+ }
let t = [];
if (data.Feedback.RoughReached) {