diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..2777488 Binary files /dev/null and b/.DS_Store differ diff --git a/examples/DEV/OnDemandConfigPortal/OnDemandConfigPortal.ino b/examples/DEV/OnDemandConfigPortal/OnDemandConfigPortal.ino index c90aae3..6d32e23 100644 --- a/examples/DEV/OnDemandConfigPortal/OnDemandConfigPortal.ino +++ b/examples/DEV/OnDemandConfigPortal/OnDemandConfigPortal.ino @@ -93,7 +93,7 @@ void setup() { // const char* menu[] = {"wifi","wifinoscan","info","param","close","sep","erase","restart","exit"}; // wm.setMenu(menu,9); // custom menu array must provide length - std::vector menu = {"wifi","wifinoscan","info","param","close","sep","erase","restart","exit"}; + std::vector menu = {"wifi","info","param","update","close","sep","erase","restart","exit"}; wm.setMenu(menu); // custom menu, pass vector // set static sta ip diff --git a/extras/WiFiManager.template.html b/extras/WiFiManager.template.html index 1930ae3..06005a8 100644 --- a/extras/WiFiManager.template.html +++ b/extras/WiFiManager.template.html @@ -46,7 +46,7 @@ div, input { padding: 5px; font-size: 1em; - width: 100%; + /*width: 100%;*/ margin:5px 0; box-sizing: border-box; } @@ -308,6 +308,7 @@ button.D{ + * Upload may not function inside captive portal, Open in browser - http://192.168.4.1 diff --git a/strings_en.h b/strings_en.h index dbe4f5f..2df98ca 100644 --- a/strings_en.h +++ b/strings_en.h @@ -116,7 +116,7 @@ const char HTTP_HELP[] PROGMEM = "" "

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

"; +const char HTTP_UPDATE[] PROGMEM = "Upload New Firmware
* May not function inside captive portal, Open in browser http://192.168.4.1"; const char HTTP_UPDATE_FAIL[] PROGMEM = "
Update Failed!
Reboot device and try again
"; const char HTTP_UPDATE_OK[] PROGMEM = "
Update OK! Device Rebooting now...
";