From 17be2fcb106ddc9c36628e9f5dece28369affc30 Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Fri, 13 Feb 2026 08:45:49 +0100 Subject: Extract gallery app from perso/vps into standalone project Extracted all gallery-related files from ~/perso/vps: - gallery.go, gallery_test.go (Go source + tests) - templates/ (index, login, gallery HTML) - static/style.css - go.mod/go.sum (renamed module to github.com/kagamino/kagapics) - Caddyfile.example (gallery-only Caddy config) - DESIGN.md (from galery.md) --- templates/gallery.html | 98 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 templates/gallery.html (limited to 'templates/gallery.html') diff --git a/templates/gallery.html b/templates/gallery.html new file mode 100644 index 0000000..4991a11 --- /dev/null +++ b/templates/gallery.html @@ -0,0 +1,98 @@ + + + + + +{{.Name}} + + + +
+

📷 {{.Name}}

+ + + + +
+

Drag & drop photos here, or

+ +
+
+ + +
+{{range .Photos}} +
+{{.}} +
+{{end}} +
+{{if not .Photos}}

No photos yet. Upload some!

{{end}} +
+ + + + + + + -- cgit v1.3