From 84dd8c7557d8b9d92cd8d339afc28a0fd9a3a896 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Wed, 15 Jul 2026 05:10:40 -0400 Subject: feat(admin): color scheme test page added --- internal/admin/templates/colors.html | 37 ++++++++++++++++++++++++++++++++++++ internal/admin/templates/layout.html | 2 ++ 2 files changed, 39 insertions(+) create mode 100644 internal/admin/templates/colors.html (limited to 'internal/admin/templates') diff --git a/internal/admin/templates/colors.html b/internal/admin/templates/colors.html new file mode 100644 index 0000000..a559dc3 --- /dev/null +++ b/internal/admin/templates/colors.html @@ -0,0 +1,37 @@ +{{define "body-colors"}} +
+
+ +
+
+ + + +
+
+ + +
+
+
+
+ + + Right side updates live as you edit colors. +
+
+

+    
+
+
+ + + +{{end}} + \ No newline at end of file diff --git a/internal/admin/templates/layout.html b/internal/admin/templates/layout.html index 02f8a01..f3bf9fd 100644 --- a/internal/admin/templates/layout.html +++ b/internal/admin/templates/layout.html @@ -20,6 +20,7 @@ Techs Modules Triggers + Color Characters Dashboard Files @@ -40,6 +41,7 @@ {{else if eq .Page "techs"}}{{template "body-techs" .}} {{else if eq .Page "modules"}}{{template "body-modules" .}} {{else if eq .Page "triggers"}}{{template "body-triggers" .}} +{{else if eq .Page "colors"}}{{template "body-colors" .}} {{else if eq .Page "characters"}}{{template "body-characters" .}} {{else if eq .Page "dashboard"}}{{template "body-dashboard" .}} {{else if eq .Page "files"}}{{template "body-files" .}} -- cgit v1.2.3