{% if title %}
{{ title }}
{% else %}
{{ instance_name }} Web Interface
{% endif %}
{{ instance_name }}
{% for endpoint, caption in [ ('web.index', 'Home'), ('web.web_findings', 'Findings'), ('web.users', 'Users'), ] %}
{{ caption }}
{% endfor %}
{% if current_user.is_anonymous %}
Login
{% else %}
{{ current_user.name }}
Profile
Log out
{% endif %}
{% with messages = get_flashed_messages(with_categories=True) %} {% if messages %} {% for category, message in messages %}
{{message}}
{% endfor %} {% endif %} {% endwith %} {% block content %}{% endblock %}