aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/templates/admin/user_manager.html
blob: ea0b7fe88d892fbcf2e842049e30437ea2d5cf62 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{% extends "index_page.html" %}
{% block title %}User Manager{% endblock %}
{% block content %}
<!-- Start of body -->
    {{ header("List of users", "" )}}


    <div class="container">
        <div class="page-header">
            <h1>User Manager</h1>
        </div>

        <table class="table table-hover">
            <thead>
                <tr>
                    <th>Email</th>
                    <th>Organization</th>
                    <th>Active</th>
                    <th>Confirmed</th>
                    <th>Superuser</th>
                </tr>
            </thead>
        {% for user in users %}
            <tr>
                <td title="{{ user.id }}">
                    <a href="{{ url_for('manage_user', user_id=user.id) }}">{{ user.email_address }}</a>
                </td>
                <td>{{ user.organization }}</td>
                <td>{{ 'Yes' if user.active else 'No' }}</td>
                <td title="{{ user.confirmed }}">{{ 'True' if user.confirmed else 'False' }}</td>
                <td title="{{ user.superuser }}">{{ 'True' if user.superuser else 'False' }}</td>
            </tr>
        {% endfor %}
        </table>


    </div>

<!-- End of body -->

{% endblock %}