aboutsummaryrefslogtreecommitdiff
path: root/internal/admin/templates/map.html
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-29 22:31:11 -0400
committerhistoria <[not public]>2026-06-29 22:31:11 -0400
commit069d3c1c81d71042706372df153254487a765dfc (patch)
treed83a4a3954d2b8304f49d83e365f4c2b075b91eb /internal/admin/templates/map.html
parent6c5271fb085b4571a10f106391974c249cd84317 (diff)
downloadthehouseoficarus-069d3c1c81d71042706372df153254487a765dfc.tar.gz
feat: wip web admin for mapping and crud
Diffstat (limited to 'internal/admin/templates/map.html')
-rw-r--r--internal/admin/templates/map.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/internal/admin/templates/map.html b/internal/admin/templates/map.html
new file mode 100644
index 0000000..7f8d5a1
--- /dev/null
+++ b/internal/admin/templates/map.html
@@ -0,0 +1,21 @@
+{{define "body-map"}}
+<div class="layout">
+ <div class="main" id="mapContainer">
+ <div class="z-controls">
+ <button onclick="changeZ(-1)">-</button>
+ <span class="z-label" id="zLabel">Z=0</span>
+ <button onclick="changeZ(1)">+</button>
+ <button onclick="changeZ(0)" style="width:auto;font-size:11px">Reset</button>
+ <select id="dirSelect" onchange="changeDir(this.value)" style="margin-left:8px;padding:3px 6px;font-size:11px;background:var(--input-bg);color:var(--text);border:1px solid var(--input-border);border-radius:3px;font-family:monospace"></select>
+ </div>
+ <svg id="mapSvg" style="width:100%;height:100%"></svg>
+ <div class="room-tooltip" id="tooltip" style="display:none"></div>
+ </div>
+ <div class="panel" id="sidePanel">
+ <div id="panelContent">
+ <p style="color:#888;text-align:center;margin-top:40px">Click a room to view details</p>
+ </div>
+ </div>
+</div>
+<script src="/static/map.js"></script>
+{{end}}