Add calibration backup and restore from file

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-07 08:59:18 +03:30
parent b979332084
commit 0046b49009
2 changed files with 60 additions and 0 deletions

View File

@@ -238,6 +238,9 @@
<div class="toolbar">
<button type="button" class="primary" id="btn-save">Save</button>
<button type="button" id="btn-print">Print</button>
<button type="button" id="btn-backup">Backup</button>
<button type="button" id="btn-restore">Restore</button>
<input type="file" id="restore-file" accept="application/json,.json" hidden>
<button type="button" class="danger" id="btn-reset">Reset defaults</button>
<a href="{% url 'entry' %}" style="align-self:center;color:#93c5fd;font-size:0.85rem;margin-left:0.25rem;">← Back</a>
</div>