f760e81309
- Location page rebuilt as a monitoring console: Leq hero readout (mono, level- colored, auto-flips with theme), instrument strip for Lp/Lmax/L1/L10, refined dark Chart.js (mono ticks, thin lines), panel-styled alert history, polished pause overlay. All live-stream/chart/alert JS hooks preserved. - Access page → centered branded splash. - Light/Dark toggle: CSS-variable theme system (structure + level/metric accent colors flip), header sun/moon button, localStorage + no-flash boot script, smooth body transition. On toggle, a 'portal-theme' event re-skins the Chart.js trace and swaps Leaflet tiles (CARTO dark <-> light) + recolors map dots. All JS hook IDs intact (verified); both themes validated to parse + balance. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
20 lines
1.1 KiB
HTML
20 lines
1.1 KiB
HTML
{% extends "portal/base.html" %}
|
|
{% block title %}Access{% endblock %}
|
|
{% block content %}
|
|
<div class="max-w-md mx-auto mt-20 text-center reveal">
|
|
<div class="panel inline-flex items-center justify-center w-16 h-16 rounded-2xl mb-6">
|
|
<svg class="w-7 h-7 text-[var(--text-dim)]" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"
|
|
d="M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z"></path>
|
|
</svg>
|
|
</div>
|
|
{% if reason == "invalid" %}
|
|
<h1 class="text-2xl font-bold tracking-tight mb-2">This link isn't valid</h1>
|
|
<p class="text-[var(--text-dim)] text-sm leading-relaxed">The access link is expired or has been revoked.<br>Please contact TMI for a new link.</p>
|
|
{% else %}
|
|
<h1 class="text-2xl font-bold tracking-tight mb-2">Access link required</h1>
|
|
<p class="text-[var(--text-dim)] text-sm leading-relaxed">Open the monitoring link TMI sent you to view your locations.</p>
|
|
{% endif %}
|
|
</div>
|
|
{% endblock %}
|