Support Y.X style radio heights (#1673)

This commit is contained in:
Tim Wilkinson 2024-11-03 21:24:16 -08:00 committed by GitHub
parent 5e680b1a2c
commit ff31b89e1d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -449,7 +449,7 @@ if (request.env.REQUEST_METHOD === "DELETE") {
<div class="m">Antenna height above ground in meters</div>
</div>
<div style="flex:0">
<input hx-put="{{request.env.REQUEST_URI}}" name="radio_height" type="text" size="10" pattern="\d+" hx-validate="true" value="{{uciMesh.get("aredn", "@location[0]", "height")}}">
<input hx-put="{{request.env.REQUEST_URI}}" name="radio_height" type="text" size="10" pattern="\d+(\.\d+)?" hx-validate="true" value="{{uciMesh.get("aredn", "@location[0]", "height")}}">
</div>
</div>
{{_H("The height of the antenna above ground level in meters. This is usually the height up a tower or a building.")}}