diff --git a/data/script.js b/data/script.js index ff8ba7d8..5cc11ab3 100644 --- a/data/script.js +++ b/data/script.js @@ -40,9 +40,8 @@ function loader(e, t, o) { }); } function fill() { - (data = JSON.parse(this.response)), - (form = document.forms.item(0)), - populate(form, data); + data = JSON.parse(this.response); + for (const form of document.forms) populate(form, data); } function filler(e, t) { window.addEventListener("load", function () { diff --git a/data/script.js.gz b/data/script.js.gz index 768c3cbe..cc985c52 100644 Binary files a/data/script.js.gz and b/data/script.js.gz differ diff --git a/src/hasp_debug.cpp b/src/hasp_debug.cpp index f554cdd6..f056db21 100644 --- a/src/hasp_debug.cpp +++ b/src/hasp_debug.cpp @@ -297,9 +297,6 @@ void debug_get_tag(uint8_t tag, char* buffer) case TAG_OTA: memcpy_P(buffer, PSTR("OTA "), 5); break; - case TAG_FWUP: - memcpy_P(buffer, PSTR("FWUP"), 5); - break; case TAG_LVGL: memcpy_P(buffer, PSTR("LVGL"), 5); diff --git a/src/hasp_debug.h b/src/hasp_debug.h index 68c6db96..f4a68901 100644 --- a/src/hasp_debug.h +++ b/src/hasp_debug.h @@ -182,8 +182,6 @@ enum { TAG_FILE = 31, TAG_GPIO = 40, - TAG_FWUP = 50, - TAG_ETH = 60, TAG_WIFI = 61, TAG_HTTP = 62, diff --git a/src/sys/svc/hasp_http.cpp b/src/sys/svc/hasp_http.cpp index d84021d6..6070cad7 100644 --- a/src/sys/svc/hasp_http.cpp +++ b/src/sys/svc/hasp_http.cpp @@ -90,12 +90,12 @@ const char MAIN_MENU_BUTTON[] PROGMEM = "" D_HTTP_MAIN_MENU ""; const char HTTP_DOCTYPE[] PROGMEM = "
"; const char HTTP_META_GO_BACK[] PROGMEM = ""; +const char HTTP_STYLESHEET[] PROGMEM = ""; const char HTTP_HEADER[] PROGMEM = "