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

{% if type %}{{ type|title }} {% endif %}Submissions

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

{% set mode = Configs.user_mode %} {% if mode == UserModeTypes.TEAMS %} {% endif %} {% for sub in submissions.items %} {% if mode == UserModeTypes.TEAMS %} {% endif %} {% endfor %}
 
IDUser{{ get_mode_as_word(capitalize=True) }} Challenge Type Provided Date
 
{{ sub.id }} {{ sub.user.name }} {{ sub.account.name }} {{ sub.challenge.name }} {{ sub.type }}
{{ sub.provided }}
{% if submissions.pages > 1 %}
Page
{% if submissions.page != 1 %} <<< {% endif %} {% if submissions.next_num %} >>> {% endif %}
{% endif %}
{% endblock %} {% block scripts %} {% endblock %} {% block entrypoint %} {% endblock %}