Add a new button
This commit is contained in:
parent
754814f04a
commit
23cc21a986
@ -1,7 +1,11 @@
|
||||
{% extends "base_settings_page.html" %}
|
||||
{% block content %}
|
||||
|
||||
<table class="table table-hover" style="max-width: 600px;" aria-describedby="Clients list">
|
||||
<a href="/admin/create_user" class="btn btn-primary">Create a new user</a>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<table class="table table-hover" style="max-width: 1000px;" aria-describedby="Clients list">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">Username</th>
|
||||
@ -10,6 +14,7 @@
|
||||
<th scope="col">Email</th>
|
||||
<th scope="col">Account type</th>
|
||||
<th scope="col">Enabled</th>
|
||||
<th scope="col">Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -21,6 +26,7 @@
|
||||
<td>{{ u.email }}</td>
|
||||
<td>{% if u.admin %}Admin{% else %}Regular account{% endif %}</td>
|
||||
<td>{% if u.enabled %}Enabled{% else %}Disabled{% endif %}</td>
|
||||
<td>Edit Delete</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
|
Loading…
Reference in New Issue
Block a user