mirror of
https://github.com/lumapu/ahoy.git
synced 2025-06-07 13:11:38 +02:00
fix UI
This commit is contained in:
parent
b8ed9b03d7
commit
71ea7155ca
2 changed files with 3 additions and 3 deletions
|
@ -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")
|
||||
])
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue