* fix #195: used trim() to remove leading and trailing spaces, added maxlength attr to input field

* started to work on #209: added another timer for NTP update after configurable interval (default 12h)
This commit is contained in:
lumapu 2022-08-30 15:35:36 +02:00
parent 4796555fac
commit 2bfb6467e0
9 changed files with 22 additions and 21 deletions

View file

@ -102,7 +102,7 @@
<fieldset>
<legend class="des">MQTT</legend>
<label for="mqttAddr">Broker / Server IP</label>
<input type="text" class="text" name="mqttAddr" value="{MQTT_ADDR}"/>
<input type="text" class="text" name="mqttAddr" value="{MQTT_ADDR}" maxlength="32" />
<label for="mqttPort">Port</label>
<input type="text" class="text" name="mqttPort" value="{MQTT_PORT}"/>
<label for="mqttUser">Username (optional)</label>