databse wipe
This commit is contained in:
@@ -148,6 +148,17 @@
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<section class="form-section danger-zone">
|
||||
<h2>Danger zone</h2>
|
||||
{% if request.query_params.get("reset") %}
|
||||
<div class="alert alert-success">Sync data cleared — all processed zip and book records have been deleted.</div>
|
||||
{% endif %}
|
||||
<p class="muted small">Deletes all records of processed zips, uploaded books, and sync run history. Your settings are kept. Use this to start fresh after test runs.</p>
|
||||
<form method="post" action="/settings/reset-sync-data" onsubmit="return confirm('Delete all sync data? This cannot be undone.')">
|
||||
<button type="submit" class="btn btn-danger">Delete all sync data</button>
|
||||
</form>
|
||||
</section>
|
||||
|
||||
<script>
|
||||
function toggleAuth(method) {
|
||||
document.getElementById("row-key").style.display = method === "key" ? "" : "none";
|
||||
|
||||
Reference in New Issue
Block a user