Improved Config New button behavior. issue #150

pull/172/head
Hieromon Ikasamo 5 years ago
parent dbd3f117e4
commit f671c61dcb
  1. 7
      src/AutoConnectPage.cpp

@ -2,8 +2,8 @@
* AutoConnect portal site web page implementation. * AutoConnect portal site web page implementation.
* @file AutoConnectPage.h * @file AutoConnectPage.h
* @author hieromon@gmail.com * @author hieromon@gmail.com
* @version 1.1.0 * @version 1.1.3
* @date 2019-10-15 * @date 2019-11-08
* @copyright MIT license. * @copyright MIT license.
*/ */
@ -672,6 +672,7 @@ const char AutoConnect::_PAGE_CONFIGNEW[] PROGMEM = {
"{{MENU_POST}}" "{{MENU_POST}}"
"<div class=\"base-panel\">" "<div class=\"base-panel\">"
"<form action=\"" AUTOCONNECT_URI_CONNECT "\" method=\"post\">" "<form action=\"" AUTOCONNECT_URI_CONNECT "\" method=\"post\">"
"<div style=\"width:0;height:0;padding:0;border:0;margin:0\" aria-hidden=\"true\" tabindex=\"-1\"><button type=\"submit\" name=\"apply\" value=\"apply\"></button></div>"
"{{LIST_SSID}}" "{{LIST_SSID}}"
"<div style=\"margin:16px 0 8px 0;border-bottom:solid 1px #263238;\">Total:{{SSID_COUNT}} Hidden:{{HIDDEN_COUNT}}</div>" "<div style=\"margin:16px 0 8px 0;border-bottom:solid 1px #263238;\">Total:{{SSID_COUNT}} Hidden:{{HIDDEN_COUNT}}</div>"
"<ul class=\"noorder\">" "<ul class=\"noorder\">"
@ -688,7 +689,7 @@ const char AutoConnect::_PAGE_CONFIGNEW[] PROGMEM = {
"<input id=\"dhcp\" type=\"checkbox\" name=\"dhcp\" value=\"en\" checked onclick=\"vsw(this.checked);\">" "<input id=\"dhcp\" type=\"checkbox\" name=\"dhcp\" value=\"en\" checked onclick=\"vsw(this.checked);\">"
"</li>" "</li>"
"{{CONFIG_IP}}" "{{CONFIG_IP}}"
"<li><input type=\"submit\" value=\"Apply\"></li>" "<li><input type=\"submit\" name=\"apply\" value=\"Apply\"></li>"
"</ul>" "</ul>"
"</form>" "</form>"
"</div>" "</div>"

Loading…
Cancel
Save