fix: odometer sync is Pi→Server only — portal displays read-only value from DB
This commit is contained in:
@@ -104,8 +104,8 @@
|
||||
</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>
|
||||
<input class="form-control text-muted" id="odometer_baseline" name="odometer_baseline" type="number" inputmode="decimal" min="0" max="999999" step="0.1" readonly>
|
||||
<div class="form-text">Synced from the Pi — cannot be edited here. The Pi adds trip distances to this baseline.</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user