Add units for, remove unnecessary html

This commit is contained in:
Maximilian Krög
2021-03-04 20:29:38 +01:00
parent 1c4f525ca9
commit e6b1d38cc3
4 changed files with 21 additions and 52 deletions

View File

@@ -8,22 +8,18 @@ tags: "cluster, vector"
---
<div id="map" class="map"></div>
<form>
<div>
<label for="distance" cellspan>Cluster distance: </label>
<span id="distance-info" class="info"></span>
<span>px</span>
<input id="distance" type="range" min="0" max="200" step="1" value="40"/>
<div class="form-group">
<label for="distance" class="col-form-label">Cluster distance</label>
<input id="distance" class="form-control-range" type="range" min="0" max="200" step="1" value="40"/>
<small class="form-text text-muted">
The distance within which features will be clustered together.
</small>
</div>
<div>
<label for="min-distance">Min distance:</label>
<span id="min-distance-info" class="info"></span>
<span>px</span>
<input id="min-distance" type="range" min="0" max="200" step="1" value="20"/>
</div>
<div>
<span>Clusters:</span>
<span id ="num-clusters" class="info"></span>
<span></span>
<span></span>
<div class="form-group">
<label for="min-distance" class="col-form-label">Minimum distance</label>
<input id="min-distance" class="form-control-range" type="range" min="0" max="200" step="1" value="20"/>
<small class="form-text text-muted">
The minimum distance between clusters. Can't be larger than the configured distance.
</small>
</div>
</form>