{% extends "base.html" %} {% block content %}

Clients

{% for client, values in CLIENTS.items() %}
{{ values["name"] }}

Allowed {{ values["servers"]|length }} server{% if values["servers"]|length >1 %}s{%endif%}

{% endfor %}
+
{% if add_client %}

Add new client

{% for server in SERVERS %} {% endfor %}
{% endif %} {% if selected_client and not add_client %} {% set client = CLIENTS[selected_client] %}

{{client['name']}}

{{ client['comment'] }}

id {{ selected_client }}

{% for server in SERVERS %} {% endfor %}
{% endif %} {% endblock %}