diff options
| author | Ken D'Ambrosio <ken@jots.org> | 2026-05-14 04:14:31 +0000 |
|---|---|---|
| committer | Ken D'Ambrosio <ken@jots.org> | 2026-05-14 04:14:31 +0000 |
| commit | 9cebd2e909793e12f7b9e5125d4fba671b5b660d (patch) | |
| tree | b3c0187e8c5e701074d6c7e05c86773dfc86e592 /public/css | |
| parent | 7950acb21b22e7bc6f10c50e1427850de2834b24 (diff) | |
Add per-photo delete checkbox to admin edit form
Checking Delete and saving permanently removes the file and its
thumbnail; a JS confirm dialog gates the submit. Deleted files are
stripped from params before save_edits so they don't linger in
album.json.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'public/css')
| -rw-r--r-- | public/css/style.css | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/public/css/style.css b/public/css/style.css index e6ebff3..41dfd0a 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -379,6 +379,11 @@ legend { padding: 0 8px; color: var(--text-dim); font-size: .85rem; } .files-table { font-size: .78rem; } } +/* ── Admin delete ──────────────────────────────────────────────────────── */ +.delete-cell { text-align: center; } +.delete-check { accent-color: #c0392b; width: 16px; height: 16px; cursor: pointer; } +tr.delete-marked td { background: rgba(192,57,43,.08); } + /* ── Admin update panel ────────────────────────────────────────────────── */ .admin-update { margin-top: 32px; } .admin-update h2 { font-size: 1rem; color: var(--text-dim); margin-bottom: 6px; } |
