Browse Source

hotfix some web GUI parts

pull/736/head
lumapu 2 years ago
parent
commit
491155f161
  1. 2
      src/web/html/setup.html
  2. 4
      src/web/html/visualization.html

2
src/web/html/setup.html

@ -619,7 +619,7 @@
function parseRadio(obj) {
var e = document.getElementById("rf24").append(
ml("div", {class: "row mb-3"}, [
ml("div", {class: "col-12 col-sm-3 my-2"}, p[0].toUpperCase()),
ml("div", {class: "col-12 col-sm-3 my-2"}, "Power Level"),
ml("div", {class: "col-12 col-sm-9"},
sel("rf24Power", [
[0, "MIN"],

4
src/web/html/visualization.html

@ -101,7 +101,7 @@
ml("div", {class: "p-2 iv-bg"}, [
ml("div", {class: "row"},[
numBig(obj.ch[0][2], "W", "AC Power"),
numBig(obj.ch[0][7]/1000, "kWh", "Yield Day"),
numBig(obj.ch[0][7], "Wh", "Yield Day"),
numBig(obj.ch[0][6], "kWh", "Yield Total")
]),
ml("div", {class: "hr"}),
@ -183,7 +183,7 @@
ml("div", {}, [
ivHead(obj),
ml("div", {class: "row mb-2"}, chn),
tsInfo(obj.ts_last_succcess)
tsInfo(obj.ts_last_success)
])
);

Loading…
Cancel
Save