{% if env["auth_active"] %} {% if env["logged_in"] %}
{{ _("Logged in as
%(username)s
", username=env["username"]) }}
-
{{ _("Log Out") }}
-
{{ _("Settings") }}
{% else %}
{{ _("Log in to use Web Interface") }}
{{ _("Username:") }}
{{ _("Password:") }}
{% endif %} {% else %}
{{ _("Web Interface Authentication Disabled") }}
-
{{ _("See
Wiki
for more information", url="https://github.com/PiSCSI/piscsi/wiki/Web-Interface#enable-authentication") }}
{% endif %}
{{ _("PiSCSI") }}
{{ _("Control Page") }}
{{ _("System Name:") }}
{{ env['system_name'] }}
{% if (env["throttle_status"]|length > 0) %} {% for category, response in env["throttle_status"] %}
{{ response['msg'] }}
{% endfor %} {% endif %}
{% if get_flashed_messages(): %} {% for category, message in get_flashed_messages(with_categories=true) %}
{% if category == "stdout" or category == "stderr" %}
{{ message }}
{% else %}
{{ message }}
{% endif %}
{% endfor %} {% endif %}
{{ content_class }} {% block content %}{% endblock content %}