wg-verwaltung/web-dashboard
bernd dd24d7217a Preview uploaded documents in an in-page modal instead of a new tab
Chrome blocks top-level navigation to data: URLs (anti-phishing), so
the earlier target="_blank" preview links silently opened a blank tab
for every uploaded document — real bug, caught by live testing.
Replaces that with a same-tab modal: clicking a document name opens
it in an overlay (<iframe> for PDFs, <img> for images — data: URLs
work fine for embedding, just not top-level navigation), with its own
download button and a close control. The small ⬇ icon next to each
chip still downloads directly, unaffected since the `download`
attribute uses a different code path than navigation.
2026-08-13 12:18:17 +00:00
..
Dockerfile add web-dashboard/Dockerfile 2026-08-12 16:46:21 +00:00
index.html Preview uploaded documents in an in-page modal instead of a new tab 2026-08-13 12:18:17 +00:00