left4me/l4d2web/templates
mwiegand df1ccb4cca
feat(l4d2-web): workshop overlay UI (routes + templates)
Adds workshop_routes blueprint with add-items / remove-item / manual-
build endpoints plus admin /admin/workshop/refresh. Add-items handles
single ID, single URL, multi-line batch, or a collection ID; auto-
enqueues a coalesced build_overlay job per call. Reject non-L4D2 items
with 400, duplicate associations with friendly toast, intruders with
403.

Generalizes overlay_routes: type+name only on create (no path field);
external is admin-only and system-wide, workshop is per-user and
auto-pathed. Update is name-only. Delete recursively removes the
on-disk dir only for managed paths (path == str(id)); legacy externals
are left in place. The pre-existing in-use guard is preserved.

Page routes filter the overlay listing by user permissions and load
workshop items + the latest related job for the detail view.

Templates: unified Create modal with type radio (no path field).
Type-aware overlay detail: workshop overlays show a multi-line input
+ items/collection radio + item table partial with thumbnails, manual
Rebuild button, and a small status indicator pulled from the latest
related job. Admin page gets a "Refresh all workshop items" button.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-07 16:50:54 +02:00
..
_job_table.html feat(l4d2-web): add job pages and cancellation 2026-05-06 15:05:13 +02:00
_overlay_item_table.html feat(l4d2-web): workshop overlay UI (routes + templates) 2026-05-07 16:50:54 +02:00
admin.html feat(l4d2-web): workshop overlay UI (routes + templates) 2026-05-07 16:50:54 +02:00
admin_jobs.html feat(l4d2-web): add job pages and cancellation 2026-05-06 15:05:13 +02:00
admin_users.html feat(l4d2-web): add admin landing and system pages 2026-05-06 12:09:36 +02:00
base.html feat(web): forms in modals, edit/delete on detail pages, port auto-assign 2026-05-07 01:30:33 +02:00
blueprint_detail.html feat(web): forms in modals, edit/delete on detail pages, port auto-assign 2026-05-07 01:30:33 +02:00
blueprints.html feat(web): blueprint-prefilled create-server flow + empty-state CTA 2026-05-07 01:47:33 +02:00
dashboard.html feat(l4d2-web): add neutral shell and theme tokens 2026-05-06 12:06:23 +02:00
job_detail.html feat(l4d2-web): add job pages and cancellation 2026-05-06 15:05:13 +02:00
login.html feat(l4d2-web): add login page and safe redirects 2026-05-06 12:52:22 +02:00
overlay_detail.html feat(l4d2-web): workshop overlay UI (routes + templates) 2026-05-07 16:50:54 +02:00
overlays.html feat(l4d2-web): workshop overlay UI (routes + templates) 2026-05-07 16:50:54 +02:00
server_detail.html feat(web): blueprint-prefilled create-server flow + empty-state CTA 2026-05-07 01:47:33 +02:00
server_jobs.html feat(l4d2-web): add job pages and cancellation 2026-05-06 15:05:13 +02:00
servers.html feat(web): blueprint-prefilled create-server flow + empty-state CTA 2026-05-07 01:47:33 +02:00