mirror of
https://github.com/smittix/intercept.git
synced 2026-07-17 13:58:11 -07:00
fix: apply UI tier to standalone dashboard pages (ADS-B, AIS, Satellite)
Each dashboard is a separate HTML page that doesn't inherit the main SPA's localStorage restore. Add a synchronous tier-restore script before CSS loads so html[data-ui-tier] selectors fire on first paint. Also add enhanced/lean tier override blocks to each dashboard CSS to remap the dashboard-local variables (--bg-dark, --bg-panel, --radar-cyan, etc.) that variables.css doesn't cover, and add lean-mode scanline/bg hide rules since components.css is not loaded on these pages. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>AIRCRAFT RADAR // INTERCEPT - See the Invisible</title>
|
||||
<script>(function(){var t=localStorage.getItem('intercept-ui-tier')||'enhanced';document.documentElement.setAttribute('data-ui-tier',t);})();</script>
|
||||
<!-- Dedicated dashboards always use bundled assets so navigation is not
|
||||
blocked by external CDN reachability. -->
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/fonts-local.css') }}">
|
||||
|
||||
Reference in New Issue
Block a user