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

Teams

{% if q and field %}
Searching for teams with {{ field }} matching {{ q }}
Page {{ teams.page }} of {{ teams.total }} results
{% endif %} {% with form = Forms.teams.TeamSearchForm(field=field, q=q) %}
{{ form.field(class="form-control custom-select w-100") }}
{{ form.q(class="form-control w-100", placeholder="Search for matching teams") }}
{% endwith %}

{% for team in teams.items %} {% endfor %}
 
ID Team Country Hidden Banned
 
{{ team.id }} {{ team.name | truncate(32) }} {% if team.bracket_id %} {{ team.bracket.name }} {% endif %} {% if team.oauth_id %} Official {% endif %} {% if team.website %} {% endif %} {% if team.affiliation %} {{ team.affiliation | truncate(20) }} {% endif %} {% if team.country %} {{ lookup_country_code(team.country) }} {% endif %} {% if team.hidden %} hidden {% endif %} {% if team.banned %} banned {% endif %}
{% if teams.pages > 1 %}
Page
{% if teams.page != 1 %} <<< {% endif %} {% if teams.next_num %} >>> {% endif %}
{% endif %}
{% endblock %} {% block scripts %} {% endblock %} {% block entrypoint %} {{ Assets.js("assets/js/pages/teams.js", theme="admin") }} {% endblock %}