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 {
| Page | Function |
|---|---|
| / | +Menu page. |
| /wifi | +Show WiFi scan results and enter WiFi configuration.(/0wifi noscan) |
| /wifisave | +Save WiFi configuration information and configure device. Needs variables supplied. |
| /close | +Close the configuration server and configuration WiFi network. |
| /i | +Information page |
| /exit | +Exit Config Portal, configportal will close |
| /r | +Reboot the device |
| /erase | +Erase WiFi configuration and reboot Device. Device will not reconnect to a network until new WiFi configuration data is entered. |