mirror of
https://github.com/ajurna/cbwebreader.git
synced 2025-12-06 14:17:19 +00:00
added users page that lists all registered users.
this required more js to make the table pretty.
This commit is contained in:
31
comic/templates/comic/users_page.html
Normal file
31
comic/templates/comic/users_page.html
Normal file
@@ -0,0 +1,31 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}CBreader - Users{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<table class="table table-striped table-bordered table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>#</th>
|
||||
<th>Username</th>
|
||||
<th>Email</th>
|
||||
<th>Superuser</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody data-link="row" class="rowlink">
|
||||
{% for user in users %}
|
||||
<tr>
|
||||
<td><a href="{{user.id}}/">{{user.id}}</a></td>
|
||||
<td>{{user.username}}</td>
|
||||
<td>{{user.email}}</td>
|
||||
<td>{{user.is_superuser}}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
|
||||
{% endblock %}
|
||||
{% block script %}
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user