add form element to enable / disable running go-sbot on startup

This commit is contained in:
glyph 2022-01-27 10:57:21 +02:00
parent 4470f949bd
commit c7cc310a32
1 changed files with 7 additions and 4 deletions

View File

@ -41,11 +41,14 @@
</div>
<br>
<div class="center" style="width: 80%;" title="Broadcast the IP and port of this sbot instance so that local peers can discovery it and attempt to connect">
<input type="checkbox" id="lan_broadcast" name="lan_broadcast">
<label for="lan_broadcast">Enable LAN Broadcasting</label><br>
<input type="checkbox" id="lanBroadcast" name="lan_broadcast">
<label for="lanBroadcast">Enable LAN Broadcasting</label><br>
<br>
<input type="checkbox" id="lan_discovery" name="lan_discovery" title="Listen for the presence of local peers and attempt to connect if found">
<label for="lan_discovery">Enable LAN Discovery</label><br>
<input type="checkbox" id="lanDiscovery" name="lan_discovery" title="Listen for the presence of local peers and attempt to connect if found">
<label for="lanDiscovery">Enable LAN Discovery</label><br>
<br>
<input type="checkbox" id="startup" name="startup" title="Define whether the pub runs automatically on system startup">
<label for="startup">Run pub on system startup</label><br>
</div>
<br>
<input class="button button-primary center" type="button" value="Save">