mirror of
https://github.com/pvvx/RTL00_WEB.git
synced 2024-11-25 07:24:18 +00:00
97 lines
No EOL
3.2 KiB
HTML
97 lines
No EOL
3.2 KiB
HTML
<!DOCTYPE html>
|
|
<html><head>
|
|
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
|
|
<title>RTL871X Setup</title>
|
|
<link rel="stylesheet" href="../style.css">
|
|
<script src="/scripts.js"></script>
|
|
<script src="/site.js"></script>
|
|
</head><body>
|
|
~inc:menu.inc~
|
|
<div class="content">
|
|
<h2 class="title">System Setup</h2>
|
|
<form method="post" action="">
|
|
<table class="form">
|
|
<tr>
|
|
<td class="label">WEB (HTTP) port:</td>
|
|
<td><input title='4..65535, 0 - close' name='cfg_web_port' maxlength='5' value='~cfg_web_port~'></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">WEB recved timeout:</td>
|
|
<td><input title='1...65535 sec, 0 - not limited' name='cfg_web_twrec' maxlength='5' value='~cfg_web_twrec~'></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">WEB close timeout:</td>
|
|
<td><input title='1...65535 sec, 0 - not limited' name='cfg_web_twcls' maxlength='5' value='~cfg_web_twcls~'></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">PowerSave Enable:</td>
|
|
<td>
|
|
<input type="hidden" name='cfg_sleep' value='0'>
|
|
<input title='If On - LogUART input disable' type='checkbox' name='cfg_sleep' value='1'>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">LogUART Printf() enable:</td>
|
|
<td>
|
|
<input type="hidden" name='cfg_debug' value='0'>
|
|
<input title='rtl_printf enable. If Off - High speed upload (>1Mbytes/s).' type='checkbox' name='cfg_debug' value='1'>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">Web pcb close enable:</td>
|
|
<td>
|
|
<input type="hidden" name='cfg_web_twd' value='0'>
|
|
<input title='(Proxy) Close web connection and deletes TIME_WAIT pcb' type='checkbox' name='cfg_web_twd' value='1'>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">Checking pin WiFi cfg reset:</td>
|
|
<td>
|
|
<input type="hidden" name='cfg_pinclr' value='0'>
|
|
<input title='Checking reset configuration level on GPIO3 at startup (25 ms)' type='checkbox' name='cfg_pinclr' value='1'>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">NetBIOS enable:</td>
|
|
<td>
|
|
<input type="hidden" name='cfg_netbios' value='0'>
|
|
<input title='NetBIOS AP name = "a~wifi_ap_ssid~", Station = "s~wifi_ap_ssid~"' type='checkbox' name='cfg_netbios' value='1'>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">SNTP enable:</td>
|
|
<td>
|
|
<input type="hidden" name='cfg_sntp' value='0'>
|
|
<input title='SNTP: pool.ntp.org' type='checkbox' name='cfg_sntp' value='1'>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">Captive Portal AP:</td>
|
|
<td>
|
|
<input type="hidden" name='cfg_cdns' value='0'>
|
|
<input type='checkbox' name='cfg_cdns' value='1'>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<p class="center">
|
|
<input type='hidden' name='uart_save' value='2'>
|
|
<input type='hidden' name='cfg_save' value='1'>
|
|
<input type='submit' value='Set Config' class="button">
|
|
</p>
|
|
</form>
|
|
</div>
|
|
~inc:footer.inc~
|
|
<script type="text/javascript">
|
|
var cfg = {
|
|
cfg_sleep:"~cfg_sleep~",
|
|
cfg_debug:"~cfg_debug~",
|
|
cfg_web_twd:"~cfg_web_twd~",
|
|
cfg_pinclr:"~cfg_pinclr~",
|
|
cfg_netbios:"~cfg_netbios~",
|
|
cfg_sntp:"~cfg_sntp~",
|
|
cfg_cdns:"~cfg_cdns~",
|
|
cfg_mdb_reop:"~cfg_mdb_reop~"
|
|
}
|
|
setFormValues(document.forms[0], cfg);
|
|
</script>
|
|
</body></html> |