From 7da803389c6d36aed978ef8779ea0895e2bc313b Mon Sep 17 00:00:00 2001 From: tablatronix Date: Fri, 9 Nov 2018 16:43:54 -0600 Subject: [PATCH] add js to firmwaree upload hide upload until selected, update return msg box --- extras/WiFiManager.template.html | 6 +++++- strings_en.h | 6 +++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/extras/WiFiManager.template.html b/extras/WiFiManager.template.html index 513a8a0..1930ae3 100644 --- a/extras/WiFiManager.template.html +++ b/extras/WiFiManager.template.html @@ -303,7 +303,11 @@ button.D{

More information about WiFiManager at https://github.com/tzapu/WiFiManager -

Form UPLOAD

+

Form UPLOAD
+
+ + +
diff --git a/strings_en.h b/strings_en.h index ea3d2e8..dbe4f5f 100644 --- a/strings_en.h +++ b/strings_en.h @@ -116,9 +116,9 @@ const char HTTP_HELP[] PROGMEM = "" "

More information about WiFiManager at https://github.com/tzapu/WiFiManager."; -const char HTTP_UPDATE[] PROGMEM = "

"; -const char HTTP_UPDATE_FAIL[] PROGMEM = "Update Failed!"; -const char HTTP_UPDATE_OK[] PROGMEM = "Update OK! Rebooting now..."; +const char HTTP_UPDATE[] PROGMEM = "Upload New Firmware
"; +const char HTTP_UPDATE_FAIL[] PROGMEM = "
Update Failed!
Reboot device and try again
"; +const char HTTP_UPDATE_OK[] PROGMEM = "
Update OK! Device Rebooting now...
"; #ifdef JSTEST const char HTTP_JS[] PROGMEM =