diff --git a/src/sys/svc/hasp_http.cpp b/src/sys/svc/hasp_http.cpp index 55409afd..244618b6 100644 --- a/src/sys/svc/hasp_http.cpp +++ b/src/sys/svc/hasp_http.cpp @@ -2021,18 +2021,14 @@ void httpHandleResetConfig() } else { httpMessage += F("

Warning

This process will reset all settings to the default values. The internal flash " - "will " - "be erased and the device is restarted. You may need to connect to the WiFi AP displayed on the " - "panel to " - "re-configure the device before accessing it again. ALL FILES WILL BE LOST!" - "


" - "

" - "


"); + "will be erased and the device is restarted. You may need to connect to the WiFi AP displayed on the " + "panel to re-configure the device before accessing it again. ALL FILES WILL BE LOST!
" + "


"); + + add_button(httpMessage, F(D_HTTP_ERASE_DEVICE), F("name='confirm' value='yes'")); + close_form(httpMessage); add_form_button(httpMessage, F("↩ " D_HTTP_CONFIGURATION), F("/config"), F("")); - // httpMessage += - // PSTR("

"); } webSendPage(haspDevice.get_hostname(), httpMessage.length(), resetConfirmed);