{% if env["auth_active"] %}
{% if env["username"] %}
{{ _("Logged in as %(username)s", username=env["username"]) }} – {{ _("Log Out") }}
{% else %}
{% endif %}
{% else %}
{{ _("Web Interface Authentication Disabled") }} – {{ _("See Wiki for more information", url="https://github.com/akuker/RASCSI/wiki/Web-Interface#enable-authentication") }}
{% endif %}
{{ _("RaSCSI Reloaded Control Page") }} |
hostname: {{ env["host"] }} ip: {{ env["ip_addr"] }} |
{% for category, message in get_flashed_messages(with_categories=true) %}
{% if category == "stdout" or category == "stderr" %}
{{ message }}{% else %}
{{ message }}
{% endif %}
{% endfor %}
{% block content %}{% endblock content %}