From bbde491f4b4d42869e985fe3c0e72adcae3223e2 Mon Sep 17 00:00:00 2001 From: dtoro Date: Wed, 22 Apr 2026 22:34:47 +0200 Subject: [PATCH] ui: replace HTML textarea with drag-and-drop file zone Publish form now uses a single dashed drop area for .html uploads (click-to-browse fallback included). Removes the paste-HTML textarea since real artifacts always come from a file. Server-side multipart handling is unchanged; the `file` form field already took precedence. Co-Authored-By: Claude Opus 4.7 (1M context) --- internal/server/templates/dashboard.html | 66 +++++++++++++++++++++--- 1 file changed, 59 insertions(+), 7 deletions(-) diff --git a/internal/server/templates/dashboard.html b/internal/server/templates/dashboard.html index d87dbf8..c86fc78 100644 --- a/internal/server/templates/dashboard.html +++ b/internal/server/templates/dashboard.html @@ -26,9 +26,21 @@

Publish

-
- + +
-
- +
+ + {{ if .FlashSlug }}