summaryrefslogtreecommitdiffstats
path: root/management/templates/users.html
blob: 3cf9103997d3b0d43e765e3f27d1d8ffad069d2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{% extends 'base.html' %}
{% block content %}
    <div class="content__header">
        <span class="eyebrow">{{ users|length }} account{{ 's' if users|length != 1 else '' }}</span>
        <h1>Users</h1>
    </div>
    <div class="table-wrap">
        <table>
            <thead>
                <tr>
                    <th>Username</th>
                    <th>Email</th>
                    <th>Created</th>
                </tr>
            </thead>
            <tbody>
                {% for user in users %}
                    <tr>
                        <td>{{ user.username }}</td>
                        <td>{{ user.email }}</td>
                        <td class="muted">{{ user.created.strftime('%Y-%m-%d %H:%M') }}</td>
                    </tr>
                {% endfor %}
            </tbody>
        </table>
    </div>
{% endblock %}