You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
158 lines
3.6 KiB
158 lines
3.6 KiB
<h1>Device system management</h1> |
|
|
|
<form id="net-form" action="/sys" data-values-src="/sys"> |
|
<p> |
|
<label>Device name: |
|
<input type="text" name="dn" readonly="readonly" data-ignore> |
|
</label> |
|
</p> |
|
|
|
<h3>Network</h3> |
|
<p> |
|
<label>WiFi SSID: |
|
<input type="text" name="ssid" /> |
|
</label> |
|
</p> |
|
<p> |
|
<label>WiFi password: |
|
<input type="password" name="wpass" /> |
|
</label> |
|
</p> |
|
|
|
<p> |
|
<label class="label">WiFi power saving: |
|
<select class="select" name="wpwsave"> |
|
<option value="0">No</option> |
|
<option value="1">Yes</option> |
|
</select> |
|
</label> |
|
</p> |
|
|
|
<p> |
|
<label class="label">Use static IPv4 address: |
|
<select class="select" name="wstatic"> |
|
<option value="0">No</option> |
|
<option value="1">Yes</option> |
|
</select> |
|
</label> |
|
</p> |
|
|
|
<p> |
|
<label>Address (x.x.x.x): |
|
<input type="text" name="ip" data-ip32 /> |
|
</label> |
|
</p> |
|
<p> |
|
<label>Gateway (x.x.x.x): |
|
<input type="text" name="gw" data-ip32 /> |
|
</label> |
|
</p> |
|
<p> |
|
<label>Mask (x.x.x.x): |
|
<input type="text" name="mask" data-ip32 /> |
|
</label> |
|
</p> |
|
<p> |
|
<label>DNS server (x.x.x.x): |
|
<input type="text" name="dns" data-ip32 /> |
|
</label> |
|
</p> |
|
|
|
<button type="button" class="send">SEND</button> |
|
</form> |
|
|
|
<div class="col-md-offset-1"> |
|
<hr /> |
|
</div> |
|
|
|
<form id="time-form" action="/sys" data-values-src="/sys"> |
|
<h3>Time</h3> |
|
|
|
<p> |
|
<label>SNTP server: |
|
<input type="text" name="sntp"/> |
|
</label> |
|
</p> |
|
|
|
<p> |
|
<label>Time zone (GNU TZ variable format) : |
|
<input type="text" name="tz"/> |
|
</label> |
|
</p> |
|
|
|
<button type="button" class="send">SEND</button> |
|
</form> |
|
|
|
<div class="col-md-offset-1"> |
|
<hr /> |
|
</div> |
|
|
|
<form id="rch-form" action="/sys" data-values-src="/sys"> |
|
<h3>Restarter schedule</h3> |
|
|
|
<input type="hidden" id="rsch" name="rsch" data-onset="rschSet();"/> |
|
|
|
<p> |
|
<label>Monday |
|
<input type="checkbox" name="rsd_1" id="rsd_1" onchange="rschUpdate();" data-ignore /> |
|
</label> |
|
<label>Tuesday |
|
<input type="checkbox" name="rsd_2" id="rsd_2" onchange="rschUpdate();" data-ignore /> |
|
</label> |
|
<label>Wednesday |
|
<input type="checkbox" name="rsd_3" id="rsd_3" onchange="rschUpdate();" data-ignore /> |
|
</label> |
|
<label>Thursday |
|
<input type="checkbox" name="rsd_4" id="rsd_4" onchange="rschUpdate();" data-ignore /> |
|
</label> |
|
<label>Friday |
|
<input type="checkbox" name="rsd_5" id="rsd_5" onchange="rschUpdate();" data-ignore /> |
|
</label> |
|
<label>Saturday |
|
<input type="checkbox" name="rsd_6" id="rsd_6" onchange="rschUpdate();" data-ignore /> |
|
</label> |
|
<label>Sunday |
|
<input type="checkbox" name="rsd_0" id="rsd_0" onchange="rschUpdate();" data-ignore /> |
|
</label> |
|
</p> |
|
|
|
<p> |
|
<label>Time: |
|
<input type="time" id="rsch_time" name="rsch_time" onchange="rschUpdate()" data-ignore /> |
|
</label> |
|
</p> |
|
|
|
<p> |
|
<label>Minimal required uptime (min): |
|
<input type="number" id="rsch_rup" name="rsch_rup" onchange="rschUpdate()" data-ignore /> |
|
</label> |
|
</p> |
|
|
|
|
|
<button type="button" class="send">SEND</button> |
|
</form> |
|
|
|
<div class="col-md-offset-1"> |
|
<hr /> |
|
</div> |
|
|
|
|
|
<h3>Restore defaults</h3> |
|
<form id="restore-form" action="/sys"> |
|
<input type="hidden" name="restore_default" value="1" /> |
|
<p> |
|
<button type="button" class="send">RESTORE DEFAULT SETTINGS</button> |
|
</p> |
|
</form> |
|
|
|
<div class="col-md-offset-1"> |
|
<hr /> |
|
</div> |
|
|
|
<h3>Reboot</h3> |
|
<form id="reboot-form" action="/sys/reboot"> |
|
<input type="hidden" name="reboot" value="1" /> |
|
<p> |
|
<button type="button" class="send">REBOOT</button> |
|
</p> |
|
</form>
|
|
|