|
|
@ -31,7 +31,6 @@ |
|
|
|
<div id="AP_Settings-spinner" class="spinner spinner-small"></div> |
|
|
|
<div id="AP_Settings-spinner" class="spinner spinner-small"></div> |
|
|
|
|
|
|
|
|
|
|
|
<form action="#" id="AP_Settings-form" class="pure-form" hidden> |
|
|
|
<form action="#" id="AP_Settings-form" class="pure-form" hidden> |
|
|
|
<!-- <input type="text" id="conn_check" name="ap_connex" value="0" hidden>--> |
|
|
|
|
|
|
|
<legend>Soft-AP main settings, use with care!</legend> |
|
|
|
<legend>Soft-AP main settings, use with care!</legend> |
|
|
|
|
|
|
|
|
|
|
|
<div class="pure-form-stacked"> |
|
|
|
<div class="pure-form-stacked"> |
|
|
@ -47,21 +46,17 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="pure-form-stacked"> |
|
|
|
<div class="pure-form-stacked"> |
|
|
|
<legend>Soft-AP Advanced Settings</legend> |
|
|
|
<label>Soft-AP Auth Mode</label> |
|
|
|
</div> |
|
|
|
<select name="ap_authmode" href="#"> |
|
|
|
|
|
|
|
<option value="0">OPEN</option> |
|
|
|
<div class="form-horizontal"> |
|
|
|
<option value="1">WEP</option> |
|
|
|
<label for="AP_Settings-ron" style="margin-right:1em"> |
|
|
|
<option value="2">WPA_PSK</option> |
|
|
|
<input type="radio" name="ap" value="on" id="AP_Settings-ron"/> |
|
|
|
<option value="3">WPA2_PSK</option> |
|
|
|
Show </label> |
|
|
|
<option value="4">WPA_WPA2_PSK</option> |
|
|
|
<label for="AP_Settings-roff" style="margin-right:1em"> |
|
|
|
</select> |
|
|
|
<input type="radio" name="ap" value="off" id="AP_Settings-roff"/> |
|
|
|
<div class="popup">Default WPA_WPA2_PSK</div> |
|
|
|
Hide </label> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div id="AP_Settings-off" class="pure-form-stacked"></div> |
|
|
|
|
|
|
|
<div id="AP_Settings-on" class="pure-form-stacked"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="pure-form-stacked"> |
|
|
|
<div class="pure-form-stacked"> |
|
|
|
<label>Soft-AP Max Connections</label> |
|
|
|
<label>Soft-AP Max Connections</label> |
|
|
|
<input type="text" name="ap_maxconn" /> |
|
|
|
<input type="text" name="ap_maxconn" /> |
|
|
@ -74,25 +69,11 @@ |
|
|
|
<div class="popup">Between 100 - 60000 ms ( default 100ms )</div> |
|
|
|
<div class="popup">Between 100 - 60000 ms ( default 100ms )</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="pure-form-stacked"> |
|
|
|
|
|
|
|
<label>Soft-AP Auth Mode</label> |
|
|
|
|
|
|
|
<select name="ap_authmode" href="#"> |
|
|
|
|
|
|
|
<option value="0">OPEN</option> |
|
|
|
|
|
|
|
<option value="1">WEP</option> |
|
|
|
|
|
|
|
<option value="2">WPA_PSK</option> |
|
|
|
|
|
|
|
<option value="3">WPA2_PSK</option> |
|
|
|
|
|
|
|
<option value="4">WPA_WPA2_PSK</option> |
|
|
|
|
|
|
|
</select> |
|
|
|
|
|
|
|
<div class="popup">Default WPA_WPA2_PSK</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="form-horizontal"> |
|
|
|
<div class="form-horizontal"> |
|
|
|
<label><input type="checkbox" name="ap_hidden" />Soft-AP SSID hidden</label> |
|
|
|
<label><input type="checkbox" name="ap_hidden" />Soft-AP SSID hidden</label> |
|
|
|
<div class="popup">Check this box to hide you Soft-AP SSID ( default Not Hidden )</div> |
|
|
|
<div class="popup">Check this box to hide you Soft-AP SSID ( default Not Hidden )</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<button id="AP_Settings-button" type="submit" class="pure-button button-primary"> |
|
|
|
<button id="AP_Settings-button" type="submit" class="pure-button button-primary"> |
|
|
|
Change Soft-AP settings! |
|
|
|
Change Soft-AP settings! |
|
|
|
</button> |
|
|
|
</button> |
|
|
@ -114,10 +95,7 @@ onLoad(function() { |
|
|
|
getWifiInfo(); |
|
|
|
getWifiInfo(); |
|
|
|
// Fetch actual settings |
|
|
|
// Fetch actual settings |
|
|
|
fetchApSettings(); |
|
|
|
fetchApSettings(); |
|
|
|
// Hide advanced settings |
|
|
|
// Wire-up form |
|
|
|
undoApAdvanced(); |
|
|
|
|
|
|
|
bnd($("#AP_Settings-ron"), "click", doApAdvanced); |
|
|
|
|
|
|
|
bnd($("#AP_Settings-roff"), "click", undoApAdvanced); |
|
|
|
|
|
|
|
bnd($("#AP_Settings-form"), "submit", changeApSettings); |
|
|
|
bnd($("#AP_Settings-form"), "submit", changeApSettings); |
|
|
|
}); |
|
|
|
}); |
|
|
|
</script> |
|
|
|
</script> |
|
|
|