aboutsummaryrefslogtreecommitdiff
path: root/internal/admin/templates/layout.html
diff options
context:
space:
mode:
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>