{% load gameui %}

<div class="auth-attempt-table-container relative">
    {% include "absolute_spinner.html" %}

    {% auth_attempt_table my_account=my_account auth_attempts=page.object_list view_as=view_as %}

    <nav class="pages mt-4">
        <ul>
            {% for loop_page_number in page_numbers %}
                <li>
                    {% if loop_page_number is None %}
                        <a class="page-inactive">…</a>
                    {% else %}
                        {% if loop_page_number == page.number %}
                            {% auth_attempt_table_page_link form=table_form page=loop_page_number content=loop_page_number classes="page-active font-semibold" %}
                        {% else %}
                            {% auth_attempt_table_page_link form=table_form page=loop_page_number content=loop_page_number classes="page-active" %}
                        {% endif %}
                    {% endif %}
                </li>
            {% endfor %}
        </ul>
    </nav>
</div>