Some changes during testing

This commit is contained in:
Gunnar Skjold
2020-08-28 19:58:33 +02:00
parent 859220d33f
commit e79a0585f0
5 changed files with 20 additions and 12 deletions

View File

@@ -24,6 +24,7 @@
#include "root/reset_html.h"
#include "root/temperature_head_html.h"
#include "root/temperature_row_html.h"
#include "root/temperature_none_html.h"
#include "root/temperature_foot_html.h"
#include "base64.h"
@@ -151,6 +152,10 @@ void AmsWebServer::temperature() {
html += row;
}
if(c == 0) {
html += String((const __FlashStringHelper*) TEMPERATURE_NONE_HTML);
}
if(start > 0 || end < c) {
html += "<div class=\"row\"><div class=\"col-6\">";
if(start > 0) {