From eb33c94bf24351527ab76473576dafa6cdb40213 Mon Sep 17 00:00:00 2001 From: Kai Lauterbach Date: Sat, 29 Apr 2023 20:45:17 +0200 Subject: [PATCH] html page improved. --- firmware/firmware.ino | 109 ++++++++++++++++++++++-------------------- 1 file changed, 58 insertions(+), 51 deletions(-) diff --git a/firmware/firmware.ino b/firmware/firmware.ino index 16b1f16..849066f 100644 --- a/firmware/firmware.ino +++ b/firmware/firmware.ino @@ -628,13 +628,66 @@ void init_webserver() http_content += "
"; http_content += "

" + (String)light_name + "

"; + http_content += "
"; + http_content += "
"; http_content += "alert   reset   reset timing control data   update"; http_content += ""; http_content += "
"; - http_content += "
"; + // timing control button + http_content += "
"; + http_content += "
"; + http_content += ""; + int tc_val = EEPROM.read(EEPROM_TIMING_CONTROL_ENABLED_ADDRESS); + http_content += "ON"; + http_content += "OFF"; + http_content += "
"; + http_content += ""; + http_content += "
"; + + http_content += "
"; + http_content += ""; + http_content += ""; + http_content += "
"; + http_content += "
"; + http_content += ""; + http_content += ""; + // startup state and scene for all of the lights http_content += ""; http_content += "
"; @@ -793,24 +817,6 @@ void init_webserver() http_content += ""; http_content += "
"; - // timing control button - http_content += "
"; - http_content += ""; - int tc_val = EEPROM.read(EEPROM_TIMING_CONTROL_ENABLED_ADDRESS); - http_content += "ON"; - http_content += "OFF"; - http_content += "
"; - http_content += "
"; - - http_content += "
"; - http_content += ""; - http_content += ""; - http_content += "
"; - // Wifi settings http_content += "
"; http_content += "

Wifi

"; @@ -1050,8 +1056,9 @@ void init_webserver() #endif // DISABLE_WEB_CONTROL - http_content += "
"; http_content += ""; + http_content += ""; + http_content += ""; http_content += ""; http_content += "";