{# Full-screen phone scanner page — standalone (no base.html). #} Phone Scanner — {{ library_name() }} {# data-csrf-token — read by the nonced script; avoids inline JS data-current-mode — initial mode from the server #}
Starting camera…
Mode: {{ mode }}
    {% for m in allowed_modes %} {% endfor %}
    {# Shown only when camera / backend is unavailable (overlays the video area) #}
    {% include "_partials/scanner_scripts.html" %}