Add card_presence feature, device CRUD, CSV export, Update_Rest_WMT_client playbook, migrate_to_wmt dual-path idmasa

This commit is contained in:
ske087
2026-04-27 14:11:57 +03:00
parent a548fc40de
commit 10dd0a560c
9 changed files with 691 additions and 8 deletions

View File

@@ -62,6 +62,16 @@
<textarea name="notes" class="form-control" rows="2">{{ device.notes or '' if device else '' }}</textarea>
</div>
<div class="mb-4">
<label class="form-label fw-semibold">Card Presence
<small class="text-muted fw-normal">(enable = RFID card reader present; disable = no card reader)</small>
</label>
<select name="card_presence" class="form-select">
<option value="enable" {% if not device or device.card_presence != 'disable' %}selected{% endif %}>enable</option>
<option value="disable" {% if device and device.card_presence == 'disable' %}selected{% endif %}>disable</option>
</select>
</div>
{% if device %}
<div class="alert alert-light border small mb-4">
<strong>Last seen:</strong>