{% if g.user or request.endpoint in ("auth.login", "auth.setup") %}
{% endif %}
{% block title %}LibreSignage{% endblock %}
{% block head %}{% endblock %}
{% set is_admin_shell = g.user and request.endpoint != 'main.index' %}
{% set is_auth_shell = request.endpoint in ('auth.login', 'auth.setup') %}
{% block body %}
{% if is_admin_shell %}
{% set current_endpoint = request.endpoint or '' %}
{% set library_active = request.blueprint == 'content' and not current_endpoint.startswith('content.schedule') %}
{% set operations_active = current_endpoint.startswith('content.schedule') or current_endpoint == 'dashboard.proof_of_play' %}
{% set admin_active = current_endpoint in ('auth.users', 'auth.audit_log', 'auth.backups', 'dashboard.webhooks') %}
Skip to main content
LLibreSignage{{ g.user.username[:1]|upper }}
{% for category, message in get_flashed_messages(with_categories=true) %}