mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-08 01:07:06 +01:00
webui: disallow empty type[number]
...unless necessary, like with magnitude zero threshold
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
|
||||
<div class="pure-control-group">
|
||||
<label>HTTP port</label>
|
||||
<input name="webPort" type="text" data-action="reboot">
|
||||
<input name="webPort" type="number" data-action="reboot" min="1" max="65535" required >
|
||||
<span class="pure-form-message">
|
||||
This is the port for the web interface and API requests.
|
||||
If different than 80 (standard HTTP port) you will have to add it explicitly to your requests: http://myip:myport/
|
||||
|
||||
Reference in New Issue
Block a user