aboutsummaryrefslogtreecommitdiff
path: root/app/templates/admin/manage_users.html
blob: fcfc86cd084be4c8fd6a56ca810bf082fe51a488 (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
{% extends "base.html" %}

{% block app_content %}
<h1>Manage Users</h1>
<br>
<h1>User Overview</h1>
<article class="overview">
	<table class="table table-striped">
		<thead class="thead-dark">
			<th scope="col">ID</th>
			<th scope="col">Username</th>
      <th scope="col">Email</th>
      <th scope="col">Confirmed</th>
			<th scope="col">Last Active</th>
      <th scope="col">Admin</th>
		</thead>
		{% for user in users %}
		<tr>
      <th scope="row">{{ user.id }}</th>
      <td>{{ user.username }}</td>
      <td>{{ user.email }}</td>
      <td>{% if user.is_confirmed %}Yes{% else %}No{% endif %}</td>
      <td>{{ user.last_active }}</td>
      <td>{% if user.is_admin %}Yes{% else %}{% endif %}</td>
    </tr>
		{% endfor %}
		</tr>
	</table>
</article>
{% endblock %}