Wire global navbar across pages

This commit is contained in:
Smittix
2026-02-04 00:37:41 +00:00
parent d658d0b81e
commit 83dd58721f
8 changed files with 334 additions and 443 deletions

View File

@@ -19,6 +19,7 @@
<script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js"></script>
{% endif %}
<link rel="stylesheet" href="{{ url_for('static', filename='css/responsive.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/global-nav.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/satellite_dashboard.css') }}">
<script>
window.INTERCEPT_SHARED_OBSERVER_LOCATION = {{ shared_observer_location | tojson }};
@@ -68,7 +69,10 @@
<div class="datetime" id="utcTime">--:--:-- UTC</div>
<a href="/?mode=satellite" class="back-link">Main Dashboard</a>
</div>
</header>
</header>
{% set active_mode = 'satellite' %}
{% include 'partials/nav.html' with context %}
<main class="dashboard">
<!-- Polar Plot -->
@@ -1079,5 +1083,6 @@
}
}
</script>
</body>
<script src="{{ url_for('static', filename='js/core/global-nav.js') }}"></script>
</body>
</html>