From 069d3c1c81d71042706372df153254487a765dfc Mon Sep 17 00:00:00 2001
From: historia <[not public]>
Date: Mon, 29 Jun 2026 22:31:11 -0400
Subject: feat: wip web admin for mapping and crud
---
internal/admin/templates/layout.html | 48 ++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
create mode 100644 internal/admin/templates/layout.html
(limited to 'internal/admin/templates/layout.html')
diff --git a/internal/admin/templates/layout.html b/internal/admin/templates/layout.html
new file mode 100644
index 0000000..99c1f0d
--- /dev/null
+++ b/internal/admin/templates/layout.html
@@ -0,0 +1,48 @@
+{{define "layout"}}
+
+
+
+
+THOI Admin{{if .Page}} — {{.Page}}{{end}}
+
+
+
+
+
+
+{{if eq .Page "map"}}{{template "body-map" .}}
+{{else if eq .Page "objects"}}{{template "body-objects" .}}
+{{else if eq .Page "items"}}{{template "body-items" .}}
+{{else if eq .Page "mobs"}}{{template "body-mobs" .}}
+{{else if eq .Page "drops"}}{{template "body-drops" .}}
+{{else if eq .Page "hazards"}}{{template "body-hazards" .}}
+{{else if eq .Page "techs"}}{{template "body-techs" .}}
+{{else if eq .Page "courses"}}{{template "body-courses" .}}
+{{else if eq .Page "modules"}}{{template "body-modules" .}}
+{{else if eq .Page "players"}}{{template "body-players" .}}
+{{else if eq .Page "dashboard"}}{{template "body-dashboard" .}}
+{{else if eq .Page "files"}}{{template "body-files" .}}
+{{else}}Unknown page: {{.Page}}
{{end}}
+
+
+{{end}}
--
cgit v1.2.3