Feature: Backup- und Import-Funktion hinzugefügt
- Backup-Button zum Herunterladen aller Daten als JSON - Import-Funktion zum Wiederherstellen aus JSON-Backup - Neue Backup-Sektion in der UI - Keine Optional-Chaining-Operatoren verwendet Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
11
index.html
11
index.html
@ -144,6 +144,17 @@
|
||||
</div>
|
||||
<div id="historyList" class="history-list"></div>
|
||||
</section>
|
||||
<!-- Backup Section -->
|
||||
<section class="backup-section">
|
||||
<h2>💾 Backup & Wiederherstellung</h2>
|
||||
<div class="backup-controls">
|
||||
<button id="btnBackup" class="btn btn-primary">📥 Backup herunterladen (JSON)</button>
|
||||
<label class="btn btn-secondary" for="fileImport">📤 Backup wiederherstellen
|
||||
<input type="file" id="fileImport" accept=".json" style="display:none">
|
||||
</label>
|
||||
<span id="backupStatus" class="backup-status"></span>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<footer class="footer">
|
||||
|
||||
Reference in New Issue
Block a user