Add map with gates

This commit is contained in:
Ettore
2026-05-10 17:56:49 +02:00
parent 9f703c1bfa
commit 7e84587788
21 changed files with 865 additions and 16 deletions

View File

@@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="theme-color" content="#0f0f1a" />
<title>Lagomare Gates - Admin</title>
<link rel="icon" type="image/svg+xml" href="/static/logo.svg" />
<link rel="icon" type="image/svg+xml" href="/static/images/logo.svg" />
<link rel="stylesheet" href="/static/style.css" />
<style>
@@ -460,6 +460,16 @@
<option value="disabled">Disabled</option>
</select>
</div>
<div style="display:grid;grid-template-columns:1fr 1fr;gap:.75rem">
<div class="field">
<label for="gate-lat">Latitude <span style="color:var(--text-muted);font-weight:400">(optional)</span></label>
<input id="gate-lat" type="number" step="any" placeholder="e.g. 45.4654219" />
</div>
<div class="field">
<label for="gate-lon">Longitude <span style="color:var(--text-muted);font-weight:400">(optional)</span></label>
<input id="gate-lon" type="number" step="any" placeholder="e.g. 9.1859347" />
</div>
</div>
<p id="gate-error" class="error-msg hidden"></p>
<div class="modal-actions">
<button type="button" id="gate-cancel" class="btn btn-ghost">Cancel</button>