From 908b1381ba9ee158655542f78c0d0db6c49d6f20 Mon Sep 17 00:00:00 2001 From: dtoro Date: Wed, 22 Apr 2026 23:21:02 +0200 Subject: [PATCH] ui: center unlock page with logo and title Password prompt for protected artifacts now matches the login screen: viewport-centered, logo + "Artifacto" title above the form. Lock icon is now a badge overlaid on the logo so the two visuals combine instead of stacking. Drops the header/footer chrome since visitors here aren't logged in and have no navigation to reach. Co-Authored-By: Claude Opus 4.7 (1M context) --- internal/server/templates/unlock.html | 35 +++++++++++++++++++-------- 1 file changed, 25 insertions(+), 10 deletions(-) diff --git a/internal/server/templates/unlock.html b/internal/server/templates/unlock.html index e19e43b..5f66217 100644 --- a/internal/server/templates/unlock.html +++ b/internal/server/templates/unlock.html @@ -1,21 +1,36 @@ {{ define "unlock" }} {{ template "head" "Protected" }} -
-
-
- +
+
+
+
+ + + + + + +
+

Artifacto

+

This artifact is password-protected.

-

Protected artifact

-

Enter the password to view.

+ {{ if .Error }}
{{ .Error }}
{{ end }} -
- + + +
-{{ template "footer" }} + + {{ end }}