diff --git a/meshview/templates/stats.html b/meshview/templates/stats.html index a56701c..5318a01 100644 --- a/meshview/templates/stats.html +++ b/meshview/templates/stats.html @@ -22,6 +22,17 @@ #chartModal { display:none; position:fixed; inset:0; background:#17263c99; z-index:9999; justify-content:center; align-items:center; padding:16px; } #chartModal > div { position:relative; width:95%; max-width:1200px; height:85%; background:var(--mesh-surface); border-radius:10px; padding:48px 16px 16px; display:flex; flex-direction:column; } #chartModal #closeModal { position:absolute; top:10px; right:12px; font-size:22px; padding:0; width:32px; height:32px; line-height:1; } +#altitude-map-button { margin-left:auto; } +#altitude-map-modal[hidden] { display:none; } +#altitude-map-modal { position:fixed; inset:0; z-index:10000; display:flex; align-items:center; justify-content:center; padding:16px; background:#17263c99; } +.altitude-map-dialog { width:min(1100px,100%); height:85dvh; display:flex; flex-direction:column; background:var(--mesh-surface); border:1px solid var(--mesh-border); border-radius:10px; padding:16px; } +.altitude-map-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; } +.altitude-map-heading h2 { font-size:18px; margin:0; } +#altitude-map-status { color:var(--mesh-muted); font-size:13px; margin:10px 0; } +#altitude-router-map { flex:1; min-height:0; border-radius:6px; } +.altitude-router-icon { background:transparent; border:0; } +.altitude-router-icon svg { width:32px; height:32px; filter:drop-shadow(0 2px 3px #0005); } +.altitude-router-label { background:var(--mesh-surface); color:var(--mesh-text); border-color:var(--mesh-border); box-shadow:none; font-size:11px; } #modalChart { flex:1; min-height:0; width:100%; } @media(max-width:1000px) { .stats-chart-grid { grid-template-columns:minmax(0,1fr); } } @media(max-width:700px) { .summary-container { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; } .summary-card { padding:16px; } .summary-count { font-size:26px; } .card-section { padding:14px; gap:8px; } .chart { height:320px; } } @@ -29,6 +40,8 @@ {% endblock %} {% block head %} + + {% endblock %} @@ -108,8 +121,9 @@ Loading… +
-

Latest reported altitude in meters above sea level. Only ROUTER, ROUTER_CLIENT, and ROUTER_LATE nodes with known altitude are included. Click a bar to view the node.

+

Latest reported altitude in meters above sea level. Only ROUTER, ROUTER_CLIENT, and ROUTER_LATE nodes above 25 ft (7.62 m) above sea level are included. Click a bar to view the node.

@@ -202,6 +216,14 @@ + +