Add Delete Account button with confirmation modal
Red "Delete Account" button at top of Account Settings. Clicking opens a second modal with an irreversibility warning and the account name, requiring a second explicit confirmation before deletion. Deletes the account row plus all associated checks and deposits. Redirects to the setup wizard if no accounts remain.
This commit is contained in:
@@ -174,6 +174,9 @@ button:disabled { opacity: 0.45; cursor: not-allowed; }
|
||||
|
||||
.btn-ghost { background: transparent; color: var(--text-muted); }
|
||||
.btn-ghost:hover { color: var(--text); background: var(--bg); }
|
||||
.btn-danger { background: #dc2626; color: #fff; font-weight: 500; }
|
||||
.btn-danger:not(:disabled):hover { background: #b91c1c; }
|
||||
.delete-account-row { margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
|
||||
|
||||
.btn-icon {
|
||||
background: transparent;
|
||||
|
||||
Reference in New Issue
Block a user