{% extends 'auth_layout.html' %}
{% block content %}

<div class="row">
    <div class="col">
        <h3><i class="ri-file-list-3-line"></i> Password Reset Log</h3>
    </div>
</div>
<div class="row">
    <div class="col">
        <table class="table table-striped">
            <thead>
                <tr>
                    <th scope="col">ILS User</th>
                    <th scope="col">Reset Date/Time</th>
                    <th></th>
                </tr>
            </thead>
            <tbody>
                {% for log in context.logs %}
                <tr>
                    <td>{{ log.username }}</td>
                    <td>{{ log.date }}</td>
                    <td>{{ log.date|time_since }}</td>
                </tr>
                {% endfor %}
            </tbody>
        </table>
    </div>
</div>

{% endblock %}