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

Users

{% if q and field %}
Searching for users with {{ field }} matching {{ q }}
Page {{ users.page }} of {{ users.total }} results
{% 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 User Email Country Admin Verified Hidden Banned
 
{{ user.id }} {{ user.name | truncate(32) }} {% if user.bracket_id %} {{ user.bracket.name }} {% endif %} {% if user.oauth_id %} Official {% endif %} {% 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 %} verified {% endif %} {% if user.hidden %} hidden {% endif %} {% if user.banned %} banned {% 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 %}