{% extends "admin/base.html" %} {% block stylesheets %} {% endblock %} {% block content %}

Users

{% if q and field %}
Recherche d'utilisateurs avec {{ field }} et {{ q }}
Page {{ users.page }} de {{ users.total }} résultats
{% endif %} {% with form = Forms.users.UserSearchForm(field=field, q=q) %}
{{ form.field(class="form-control custom-select w-100") }}
{{ form.q(class="form-control w-100", placeholder="Search for matching users") }}
{% endwith %}

{% for user in users.items %} {% endfor %}
 
ID Utilisateur Email Pays Admin Vérifié Caché Banni
 
{{ user.id }} {{ user.name | truncate(32) }} {% if user.website %} {% endif %} {% if user.affiliation %} {{ user.affiliation | truncate(20) }} {% endif %} {% if user.country %} {{ lookup_country_code(user.country) }} {% endif %} {% if user.type == 'admin' %} Admin {% endif %} {% if user.verified %} Vérifié {% endif %} {% if user.hidden %} Caché {% endif %} {% if user.banned %} Banni {% endif %}
{% if users.pages > 1 %}
Page
{% if users.page != 1 %} <<< {% endif %} {% if users.next_num %} >>> {% endif %}
{% endif %}
{% endblock %} {% block scripts %} {% endblock %} {% block entrypoint %} {{ Assets.js("assets/js/pages/users.js", theme="admin") }} {% endblock %}