|
|
@ -12,15 +12,19 @@ |
|
|
|
<div id="syslog-spinner" class="spinner spinner-small"></div> |
|
|
|
<div id="syslog-spinner" class="spinner spinner-small"></div> |
|
|
|
</h1> |
|
|
|
</h1> |
|
|
|
<form action="#" id="Syslog-form" class="pure-form" hidden> |
|
|
|
<form action="#" id="Syslog-form" class="pure-form" hidden> |
|
|
|
<legend>Syslog settings</legend> |
|
|
|
|
|
|
|
<div class="pure-form-stacked"> |
|
|
|
<div class="pure-form-stacked"> |
|
|
|
<label>Syslog Host</label> |
|
|
|
<label>Syslog Host</label> |
|
|
|
<input type="text" name="syslog_host" /> |
|
|
|
<input type="text" name="syslog_host" /> |
|
|
|
<div class="popup">Use server [hostname:port] as UDP Syslog server</div> |
|
|
|
<div class="popup">Esp-link sends event/debug info to this syslog host |
|
|
|
|
|
|
|
(hostname:port). Leave empty to disable syslog.</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="pure-form-stacked"> |
|
|
|
<div class="pure-form-stacked"> |
|
|
|
<label>Min Heap</label> |
|
|
|
<label>Min Heap</label> |
|
|
|
|
|
|
|
<div> |
|
|
|
<input type="text" name="syslog_minheap" /> |
|
|
|
<input type="text" name="syslog_minheap" /> |
|
|
|
|
|
|
|
<div class="popup">Stop sending syslog if free heap drops below this many bytes</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div> |
|
|
|
<label>Filter</label> |
|
|
|
<label>Filter</label> |
|
|
|
<select name="syslog_filter" href="#"> |
|
|
|
<select name="syslog_filter" href="#"> |
|
|
|
<option value="0">EMERG</option> |
|
|
|
<option value="0">EMERG</option> |
|
|
@ -32,15 +36,17 @@ |
|
|
|
<option value="6">INFO</option> |
|
|
|
<option value="6">INFO</option> |
|
|
|
<option value="7">DEBUG</option> |
|
|
|
<option value="7">DEBUG</option> |
|
|
|
</select> |
|
|
|
</select> |
|
|
|
|
|
|
|
<div class="popup">Minimum severity to send</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-horizontal"> |
|
|
|
</div> |
|
|
|
<label>Show ESP µC Ticker in log message</label> |
|
|
|
<div> |
|
|
|
<input type="checkbox" name="syslog_showtick" /> |
|
|
|
<input type="checkbox" name="syslog_showtick" /> |
|
|
|
|
|
|
|
<label>Include esp-link millisecond ticker</label> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-horizontal"> |
|
|
|
<div> |
|
|
|
<label>Show date in log message</label> |
|
|
|
|
|
|
|
<input type="checkbox" name="syslog_showdate" /> |
|
|
|
<input type="checkbox" name="syslog_showdate" /> |
|
|
|
<div class="popup">Synology does a log rotate if timestamp is in the past so disable to prevent this</div> |
|
|
|
<label>Include esp-link datetime</label> |
|
|
|
|
|
|
|
<div class="popup">Some syslog servers rotate log if timestamp is in the past so disable to prevent this</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<button id="Syslog-button" type="submit" class="pure-button button-primary"> |
|
|
|
<button id="Syslog-button" type="submit" class="pure-button button-primary"> |
|
|
|
Update Syslog settings! |
|
|
|
Update Syslog settings! |
|
|
@ -56,12 +62,14 @@ |
|
|
|
<div class="form-horizontal"> |
|
|
|
<div class="form-horizontal"> |
|
|
|
<input type="checkbox" name="mdns_enable"/> |
|
|
|
<input type="checkbox" name="mdns_enable"/> |
|
|
|
<label>Enable mDNS</label> |
|
|
|
<label>Enable mDNS</label> |
|
|
|
|
|
|
|
<div class="popup">Esp-link can advertise its hostname and service name (both |
|
|
|
|
|
|
|
with a .local suffix) via multicast DNS.</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<br> |
|
|
|
<br> |
|
|
|
<legend>mDNS server settings</legend> |
|
|
|
|
|
|
|
<div class="pure-form-stacked"> |
|
|
|
<div class="pure-form-stacked"> |
|
|
|
<label>Server Name</label> |
|
|
|
<label>Service Name</label> |
|
|
|
<input type="text" name="mdns_servername"/> |
|
|
|
<input type="text" name="mdns_servername"/> |
|
|
|
|
|
|
|
<div class="popup">The default service is http. For the arduino IDE use arduino</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<button id="mDNS-button" type="submit" class="pure-button button-primary"> |
|
|
|
<button id="mDNS-button" type="submit" class="pure-button button-primary"> |
|
|
|
Update mDNS settings! |
|
|
|
Update mDNS settings! |
|
|
@ -76,12 +84,18 @@ |
|
|
|
<div id="sntp-spinner" class="spinner spinner-small"></div> |
|
|
|
<div id="sntp-spinner" class="spinner spinner-small"></div> |
|
|
|
</h1> |
|
|
|
</h1> |
|
|
|
<form action="#" id="SNTP-form" class="pure-form" hidden> |
|
|
|
<form action="#" id="SNTP-form" class="pure-form" hidden> |
|
|
|
<legend>SNTP server settings</legend> |
|
|
|
|
|
|
|
<div class="pure-form-stacked"> |
|
|
|
<div class="pure-form-stacked"> |
|
|
|
<label>Timezone Offset</label> |
|
|
|
<div> |
|
|
|
<input type="text" name="timezone_offset" /> |
|
|
|
|
|
|
|
<label>SNTP Server</label> |
|
|
|
<label>SNTP Server</label> |
|
|
|
<input type="text" name="sntp_server" /> |
|
|
|
<input type="text" name="sntp_server" /> |
|
|
|
|
|
|
|
<div class="popup">Simple Network Time Protocol server to query. |
|
|
|
|
|
|
|
Leave empty to disable SNTP</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div> |
|
|
|
|
|
|
|
<label>Timezone Offset</label> |
|
|
|
|
|
|
|
<input type="text" name="timezone_offset" /> |
|
|
|
|
|
|
|
<div class="popup">Offset hours to apply (no daylight savings support)</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<button id="SNTP-button" type="submit" class="pure-button button-primary"> |
|
|
|
<button id="SNTP-button" type="submit" class="pure-button button-primary"> |
|
|
|
Update SNTP settings! |
|
|
|
Update SNTP settings! |
|
|
|