aboutsummaryrefslogtreecommitdiff
path: root/internal/admin/templates/layout.html
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-07-10 00:43:29 -0400
committerhistoria <[not public]>2026-07-10 00:43:29 -0400
commit6e7c0b3ec4253bb58a815979b1f4574d08cb1f53 (patch)
treedbff1952bdbf14cd58a6128775e263b53fc64ec1 /internal/admin/templates/layout.html
parent9836513d287396fabcba85956366e6410d7363ef (diff)
downloadthehouseoficarus-6e7c0b3ec4253bb58a815979b1f4574d08cb1f53.tar.gz
feat(admin): add triggers to rooms, add global triggers
Diffstat (limited to 'internal/admin/templates/layout.html')
-rw-r--r--internal/admin/templates/layout.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/admin/templates/layout.html b/internal/admin/templates/layout.html
index 009e1f7..fe4e0f9 100644
--- a/internal/admin/templates/layout.html
+++ b/internal/admin/templates/layout.html
@@ -21,6 +21,7 @@
<a href="/editor/players" class="{{if eq .Page "players"}}active{{end}}">Players</a>
<a href="/editor/dashboard" class="{{if eq .Page "dashboard"}}active{{end}}">Dashboard</a>
<a href="/editor/files" class="{{if eq .Page "files"}}active{{end}}">Files</a>
+ <a href="/editor/triggers" class="{{if eq .Page "triggers"}}active{{end}}">Triggers</a>
<div class="undo-bar">
<span class="undo-label"></span>
<button class="undo-btn" onclick="doUndo()" title="">⟲ Undo</button>
@@ -40,6 +41,7 @@
{{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 if eq .Page "triggers"}}{{template "body-triggers" .}}
{{else if eq .Page "duplicate-rooms"}}{{template "body-duplicate-rooms" .}}
{{else}}<p style="color:#888;text-align:center;margin-top:60px">Unknown page: {{.Page}}</p>{{end}}
</body>