mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-24 22:36:10 +02:00
parent
cfef2ce63a
commit
2c8c49c75d
1 changed files with 1 additions and 2 deletions
|
@ -108,7 +108,6 @@
|
|||
if(0 != obj.max_pwr)
|
||||
pwrLimit += ", " + Math.round(obj.max_pwr * obj.power_limit_read / 100) + "W";
|
||||
}
|
||||
|
||||
return ml("div", {class: "row mt-2"},
|
||||
ml("div", {class: "col"}, [
|
||||
ml("div", {class: "p-2 " + clh},
|
||||
|
@ -123,7 +122,7 @@
|
|||
ml("div", {class: "col a-c"}, ml("span", { class: "pointer", onclick: function() {
|
||||
getAjax("/api/inverter/alarm/" + obj.id, parseIvAlarm);
|
||||
}}, ("Alarms: " + obj.alarm_cnt))),
|
||||
ml("div", {class: "col a-r mx-2 mx-md-1"}, String(obj.ch[0][5]) + t.innerText)
|
||||
ml("div", {class: "col a-r mx-2 mx-md-1"}, String(obj.ch[0][5].toFixed(1)) + t.innerText)
|
||||
])
|
||||
),
|
||||
ml("div", {class: "p-2 " + clbg}, [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue