diff --git a/WiFiManager.cpp b/WiFiManager.cpp index 3034a9d..4ee0e90 100644 --- a/WiFiManager.cpp +++ b/WiFiManager.cpp @@ -971,8 +971,8 @@ String WiFiManager::getInfoData(String id){ else if(id=="uptime"){ // subject to rollover! p = FPSTR(HTTP_INFO_uptime); - p.replace("{1}",(String)(system_get_time() / 1000000 / 60)); - p.replace("{2}",(String)((system_get_time() / 1000000)%60)); + p.replace("{1}",(String)(millis() / 1000 / 60)); + p.replace("{2}",(String)((millis() / 1000)%60)); } else if(id=="chipid"){ p = FPSTR(HTTP_INFO_chipid); diff --git a/extras/WiFiManager.template.html b/extras/WiFiManager.template.html index 327c17f..aa83cc2 100644 --- a/extras/WiFiManager.template.html +++ b/extras/WiFiManager.template.html @@ -134,6 +134,9 @@ dd { margin: 0; padding: 0 0 0.5em 0; } +td { + vertical-align: top; +} @@ -208,11 +211,35 @@ dd {
Flash Chip ID
1234556
IDE Flash Size
4194304 bytes
Real Flash Size
4194304 bytes
+
Empty
Soft AP IP
192.168.4.1
Soft AP MAC
00:00:00:00:00:00
Station MAC
00:00:00:00:00:00
+ +

Available Pages


+ + + + + + + + + + + + + + + + + + +
PageFunction
/Menu page.
/wifiShow WiFi scan results and enter WiFi configuration.(/0wifi noscan)
/wifisaveSave WiFi configuration information and configure device. Needs variables supplied.
/closeClose the configuration server and configuration WiFi network.
/iInformation page
/exitExit Config Portal, configportal will close
/rReboot the device
/eraseErase WiFi configuration and reboot Device. Device will not reconnect to a network until new WiFi configuration data is entered.
+

More information about WiFiManager at https://github.com/tzapu/WiFiManager.; + diff --git a/strings_en.h b/strings_en.h index dcc13c9..3767942 100644 --- a/strings_en.h +++ b/strings_en.h @@ -42,7 +42,8 @@ const char HTTP_STYLE[] PROGMEM = ""; const char HTTP_HELP[] PROGMEM = @@ -95,8 +96,8 @@ const char HTTP_JS[] PROGMEM = const char HTTP_INFO_esphead[] PROGMEM = "

esp8266


"; const char HTTP_INFO_wifihead[] PROGMEM = "

WiFi


"; -const char HTTP_INFO_uptime[] PROGMEM = "
Uptime
{1} Mins {2} Secs
"; -const char HTTP_INFO_chipid[] PROGMEM = "
Chip ID
{1}
"; +const char HTTP_INFO_uptime[] PROGMEM = "
Uptime
{1} Mins {2} Secs
"; +const char HTTP_INFO_chipid[] PROGMEM = "
Chip ID
{1}
"; const char HTTP_INFO_fchipid[] PROGMEM = "
Flash Chip ID
{1}
"; const char HTTP_INFO_idesize[] PROGMEM = "
IDE Flash Size
{1} bytes
"; const char HTTP_INFO_flashsize[] PROGMEM = "
Actual Flash Size
{1} bytes
";