diff --git a/src/web/html/style.css b/src/web/html/style.css
index 7a4266ee..1b0f8c48 100644
--- a/src/web/html/style.css
+++ b/src/web/html/style.css
@@ -582,7 +582,7 @@ div.hr {
width: 450px;
height: 200px;
border: 1px solid #ccc;
- background-color: var(--ts-head);
+ background-color: var(--input-bg);
position: absolute;
top: 50%;
left: 50%;
diff --git a/src/web/html/visualization.html b/src/web/html/visualization.html
index 4e315206..4c3c6a47 100644
--- a/src/web/html/visualization.html
+++ b/src/web/html/visualization.html
@@ -62,7 +62,7 @@
function totals() {
for(var i = 0; i < 5; i++) {
- var total[i] = Math.round(total[i] * 100) / 100;
+ total[i] = Math.round(total[i] * 100) / 100;
}
return ml("div", {class: "row mt-3 mb-5"},
@@ -98,7 +98,7 @@
ml("div", {class: "p-2 iv-h"},
ml("div", {class: "row"}, [
ml("div", {class: "col mx-2 mx-md-1"}, obj.name),
- ml("div", {class: "col a-c"}, "Power limit " + obj.power_limit_read + " %"),
+ ml("div", {class: "col a-c"}, "Power limit " + ((obj.power_limit_read == 65535) ? "n/a" : (obj.power_limit_read + " %"))),
ml("div", {class: "col a-r mx-2 mx-md-1"}, String(obj.ch[0][5]) + " C")
])
),