Don't allow selection of port when running setup with docker

This commit is contained in:
Marc Ole Bulling
2022-07-20 18:17:24 +02:00
parent 21063956b1
commit 063c8c6798

View File

@@ -108,7 +108,7 @@
<div class="form-group">
<div class="col-sm-8">
<label for="port">Port:</label>
<input type="number" class="form-control" id="port" name="port" value="53842" min="1" max="65535" placeholder="Port number" data-min="1" data-validate="validateMinLength" required onChange="urlParamChanged()">
<input type="number" class="form-control" id="port" name="port" value="53842" min="1" max="65535" placeholder="Port number" data-min="1" data-validate="validateMinLength" required onChange="urlParamChanged()" {{ if .IsDocker }}disabled{{ end }}>
</div><br><br><br>