{% extends "base.html" %}

{% block content %}
    <div class="row border-bottom mb-3">
        <div class="col"><p class="lead">Accès aux familles par {{ utilisateur }}</p></div>
    </div>
    <table id="user_table" class="table table-sm table-hover sortable">
        <thead class="table-light">
            <tr>
                <th>Date/heure</th>
                <th>Famille</th>
                <th>Accès ordinaire</th>
            </tr>
        </thead>
        <tbody>
            {% for line in object_list %}
            <tr>
                <td class="m-0 p-1">{{ line.quand|date:'d.m.Y H:i' }}</td>
                <td class="m-0 p-1">{{ line.famille }}</td>
                <td class="m-0 p-1">{{ line.ordinaire|boolean_icon }}</td>
            {% endfor %}
        </tbody>
    </table>
{% endblock %}
