From fee376102192dc6f24297a7b11324636ace3a07d Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Tue, 30 Jun 2026 19:27:37 -0400 Subject: feat: admin gui object CRUD is much nicer --- internal/admin/templates/login.html | 9 ++++++++- internal/admin/templates/map.html | 4 ++++ internal/admin/templates/objects.html | 17 +++-------------- 3 files changed, 15 insertions(+), 15 deletions(-) (limited to 'internal/admin/templates') diff --git a/internal/admin/templates/login.html b/internal/admin/templates/login.html index ffc59c6..52d1f13 100644 --- a/internal/admin/templates/login.html +++ b/internal/admin/templates/login.html @@ -8,7 +8,8 @@
-

THOI Admin Portal

+

The House of Icarus

+

Admin Portal

{{if .Error}}

{{.Error}}

{{end}}
@@ -23,6 +24,12 @@
+

+ Use the same credentials you use in-game. To enable admin access, set + admin: true + in your account YAML at + data/players/accounts/<account>.yaml. +

diff --git a/internal/admin/templates/map.html b/internal/admin/templates/map.html index 6fd6261..3bcbb30 100644 --- a/internal/admin/templates/map.html +++ b/internal/admin/templates/map.html @@ -17,6 +17,10 @@ Zoom: + diff --git a/internal/admin/templates/objects.html b/internal/admin/templates/objects.html index 91aca09..ac9b6be 100644 --- a/internal/admin/templates/objects.html +++ b/internal/admin/templates/objects.html @@ -10,20 +10,9 @@ + + {{end}} -- cgit v1.2.3