From 0ec7a58b7b0888a1ef261b38694f7a9e5633773e Mon Sep 17 00:00:00 2001 From: tablatronix Date: Tue, 13 Nov 2018 16:35:26 -0600 Subject: [PATCH] add upload note --- .DS_Store | Bin 0 -> 6148 bytes .../OnDemandConfigPortal.ino | 2 +- extras/WiFiManager.template.html | 3 ++- strings_en.h | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 .DS_Store diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..2777488a790f195d5c8f649079cb50cdca607058 GIT binary patch literal 6148 zcmeHKJ8l9&47CG_R-)OGa;}gYj8<@hy#Po-GzcW}QOd12SB{qFPqSI*ph3@)=goNh zW;Cx@uSG<=ulF~RRzw=Op?I=#gyW2@e0=xk!ML zwpRbw@EiUAn8XzopaM^&fX-L_s>74AwoV>rwYI=FaLf6Hn_=!03|@|bUXHP_a=i4U b$SXF-eoY(#osPKEf&3XTU1(I`(F*(lTHO`0 literal 0 HcmV?d00001 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...
";