feat: odometer_baseline field on server portal device settings page

This commit is contained in:
Mathieu Moran
2026-08-11 19:52:51 -04:00
parent 32de77131c
commit 44cd8bd192
2 changed files with 8 additions and 0 deletions
+5
View File
@@ -102,6 +102,11 @@
<input class="form-control" id="avatar_path" name="avatar_path" maxlength="255" placeholder="img/yaris.png" disabled>
<div class="form-text">Relative to the shared <code>static/</code> folder.</div>
</div>
<div class="col-12 col-md-6">
<label class="form-label" for="odometer_baseline">Odometer baseline (km)</label>
<input class="form-control" id="odometer_baseline" name="odometer_baseline" type="number" inputmode="decimal" min="0" max="999999" step="0.1" disabled>
<div class="form-text">Enter the car's current odometer reading. The app adds trip distances to this baseline. Synced to the Pi on next config sync.</div>
</div>
</div>
</form>
</div>