diff options
| author | historia <[not public]> | 2026-06-30 03:57:52 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-06-30 03:57:52 -0400 |
| commit | 712072209ab5e3b3a14ebc0c770b020afe544560 (patch) | |
| tree | f5247fa8e03ed327ecb6cbff622bf6bdccb2066c /internal/admin/templates/map.html | |
| parent | 7a4b91304061777e7b3365b505d1e74878043d35 (diff) | |
| download | thehouseoficarus-712072209ab5e3b3a14ebc0c770b020afe544560.tar.gz | |
feat: all admin mapping features working
Diffstat (limited to 'internal/admin/templates/map.html')
| -rw-r--r-- | internal/admin/templates/map.html | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/internal/admin/templates/map.html b/internal/admin/templates/map.html index 869ee67..6fd6261 100644 --- a/internal/admin/templates/map.html +++ b/internal/admin/templates/map.html @@ -11,10 +11,12 @@ <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> - <button onclick="zoomIn()" title="Zoom in" style="margin-left:8px;width:auto;font-size:14px">➕</button> - <button onclick="zoomOut()" title="Zoom out" style="width:auto;font-size:14px">➖</button> + <button onclick="changeZ(0)" style="width:auto;font-size:11px;padding:0 10px;min-width:44px">Reset</button> + <span style="font-size:11px;color:#aaa;margin-left:8px">Area:</span> + <select id="dirSelect" onchange="changeDir(this.value)" style="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> + <span style="font-size:11px;color:#aaa;margin-left:8px">Zoom:</span> + <button onclick="zoomIn()" title="Zoom in" style="width:auto;font-size:14px;padding:0 6px;min-width:32px">➕</button> + <button onclick="zoomOut()" title="Zoom out" style="width:auto;font-size:14px;padding:0 6px;min-width:32px">➖</button> </div> <svg id="mapSvg" style="width:100%;height:100%"></svg> <div class="room-tooltip" id="tooltip" style="display:none"></div> |
