From 5a6986a8c539364b7a166abdfb608b3cc00ecb3b Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Mon, 13 Jul 2026 23:01:45 -0400 Subject: feat(admin): convert players page into characters page with basic stats/yaml --- internal/admin/templates/layout.html | 4 ++-- internal/admin/templates/players.html | 40 ++++++++++------------------------- 2 files changed, 13 insertions(+), 31 deletions(-) (limited to 'internal/admin/templates') diff --git a/internal/admin/templates/layout.html b/internal/admin/templates/layout.html index 2a1ef36..02f8a01 100644 --- a/internal/admin/templates/layout.html +++ b/internal/admin/templates/layout.html @@ -20,7 +20,7 @@ Techs Modules Triggers - Players + Characters Dashboard Files
@@ -40,7 +40,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 "players"}}{{template "body-players" .}} +{{else if eq .Page "characters"}}{{template "body-characters" .}} {{else if eq .Page "dashboard"}}{{template "body-dashboard" .}} {{else if eq .Page "files"}}{{template "body-files" .}} {{else if eq .Page "duplicate-rooms"}}{{template "body-duplicate-rooms" .}} diff --git a/internal/admin/templates/players.html b/internal/admin/templates/players.html index 22ffc47..2cef9d7 100644 --- a/internal/admin/templates/players.html +++ b/internal/admin/templates/players.html @@ -1,33 +1,15 @@ -{{define "body-players"}} -
-

Players

- - - - -
NameLevelRoomAccount
+{{define "body-characters"}} +
+
+ +
+
+
+

Select a character to view

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