mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-01-13 15:37:03 +00:00
38 lines
1.7 KiB
HTML
38 lines
1.7 KiB
HTML
<div class="alert alert-warning">!!NOTE!!<br/>Telnet debugging is not considered safe and should be switched off when not in use</div>
|
|
<form method="post" action="/save">
|
|
<input type="hidden" name="debugConfig" value="true"/>
|
|
<div class="my-3 p-3 bg-white rounded shadow">
|
|
<h6>Debugging</h6>
|
|
<div class="row">
|
|
<div class="col-xl-2 col-md-3">
|
|
<label><input type="checkbox" name="debugTelnet" value="true" ${config.debugTelnet}/> Telnet debugger</label>
|
|
</div>
|
|
<div class="col-xl-2 col-md-3">
|
|
<label><input type="checkbox" name="debugSerial" value="true" ${config.debugSerial}/> Serial debugger</label>
|
|
</div>
|
|
<div class="col-xl-3 col-md-4">
|
|
<div class="row form-group">
|
|
<label class="col-6">Debug level</label>
|
|
<div class="col-6">
|
|
<select class="form-control form-control-sm" name="debugLevel">
|
|
<option value="2" ${config.debugLevel2}>Debug</option>
|
|
<option value="3" ${config.debugLevel3}>Info</option>
|
|
<option value="4" ${config.debugLevel4}>Warning</option>
|
|
<option value="5" ${config.debugLevel5}>Error</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<hr/>
|
|
<div class="row form-group">
|
|
<div class="col-6">
|
|
<a href="/" class="btn btn-outline-secondary">Back</a>
|
|
</div>
|
|
<div class="col-6 text-right">
|
|
<button class="btn btn-primary">Save</button>
|
|
</div>
|
|
</div>
|
|
</form>
|