Step 6 migration: add JSON backup and restore flows
This commit is contained in:
@@ -53,6 +53,12 @@
|
||||
<button id="migrateBtn" type="button" class="btn-secondary hidden">
|
||||
Migrer localStorage vers DB
|
||||
</button>
|
||||
<div id="backupControls" class="backup-controls hidden">
|
||||
<button id="backupBtn" type="button" class="btn-secondary">Sauvegarder JSON</button>
|
||||
<button id="restoreMergeBtn" type="button" class="btn-secondary">Restaurer (fusion)</button>
|
||||
<button id="restoreReplaceBtn" type="button" class="btn-secondary">Restaurer (remplacement)</button>
|
||||
<input id="restoreFileInput" type="file" accept="application/json" class="hidden" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<form id="gameForm" class="grid-form game-form">
|
||||
|
||||
Reference in New Issue
Block a user