41 lines
1.7 KiB
HTML
41 lines
1.7 KiB
HTML
"<!DOCTYPE html><html lang=\"en\">"
|
|
"<head>"
|
|
"<link rel=\"stylesheet\" type=\"text/css\" href=\"/style.css\">"
|
|
"<script src=\"/script.js\"></script>"
|
|
"<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">"
|
|
"</head>"
|
|
"<body>"
|
|
"<ul class=\"topnav\" id=\"myTopnav\">"
|
|
"<li><a href=\"/\">Home</a></li>"
|
|
"<li class=\"active\"><a href=\"/wificfg/\">WiFi Config</a></li>"
|
|
"<li><a href=\"/wificfg/sta.html\">WiFi Station</a></li>"
|
|
"<li><a href=\"/wificfg/ap.html\">WiFi Access Point</a></li>"
|
|
"<li class=\"icon\">"
|
|
"<a href=\"javascript:void(0);\" onclick=\"myFunction()\">☰</a>"
|
|
"</li>"
|
|
"</ul>"
|
|
"<h1>WiFi Status</h1>"
|
|
"<dl class=\"dlh\">",
|
|
"</dl>"
|
|
"<br>"
|
|
"<form action=\"/wificfg/\" method=\"post\">"
|
|
"<fieldset>"
|
|
"<legend>Lock the configuration interface</legend>"
|
|
"<p>These WiFi configuration pages can be disabled for security on a shared network. If a password is supplied then they can be unlocked. Warning: if no password is supplied then it will not be possible to unlock these pages via this interface.</p>"
|
|
"<dl class=\"dlh\">"
|
|
"<dt><label for=\"pw\">Password</label></dt>"
|
|
"<dd><input id=\"pw\" type=\"text\" maxlength=\"32\" name=\"cfg_password\" "
|
|
"placeholder=\"unlock-password\" value=\"",
|
|
"\"></dd>"
|
|
"</dl>"
|
|
"<input type=\"hidden\" name=\"cfg_enable\" value=\"0\">"
|
|
"<center><input type=\"submit\" value=\"Lock\"></center>"
|
|
"</fieldset>"
|
|
"</form>"
|
|
"<form action=\"/wificfg/restart.html\" method=\"post\">"
|
|
"<fieldset>"
|
|
"<legend>Restart device</legend>"
|
|
"<p>A restart is necessary for some changes to take effect. Warning: this is currently not reliable and might freeze the device requiring a power cycle.</p>"
|
|
"<center><button>Restart</button></center>"
|
|
"</fieldset></form>"
|
|
"</body></html>"
|