mirror of
https://github.com/lumapu/ahoy.git
synced 2025-06-24 13:26:58 +02:00
* added display name to inverter view
This commit is contained in:
parent
989c090fad
commit
edcf69aa01
3 changed files with 9 additions and 1 deletions
|
@ -409,6 +409,8 @@ void app::showLiveData(void) {
|
|||
case INV_TYPE_HM1200: modNum = 4; break;
|
||||
}
|
||||
|
||||
modHtml += "<div class=\"ch-group\"><h3>" + String(iv->name) + "</h3>";
|
||||
|
||||
for(uint8_t ch = 1; ch <= modNum; ch ++) {
|
||||
modHtml += "<div class=\"ch\"><span class=\"head\">CHANNEL " + String(ch) + "</span>";
|
||||
for(uint8_t j = 0; j < 5; j++) {
|
||||
|
@ -427,6 +429,8 @@ void app::showLiveData(void) {
|
|||
}
|
||||
modHtml += "</div>";
|
||||
}
|
||||
|
||||
modHtml += "</div>";
|
||||
#else
|
||||
// dump all data to web frontend
|
||||
modHtml = "<pre>";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue