30 lines
525 B
Django/Jinja
30 lines
525 B
Django/Jinja
{% extends 'admin/base.html.j2' %}
|
|
|
|
{% block title %}{{ gettext('users') }}{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<table class="table">
|
|
<thead>
|
|
<tr>
|
|
<th>username</th>
|
|
<th>created_at</th>
|
|
<th>modified_at</th>
|
|
<th>last_login</th>
|
|
<th>action</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for user in users %}
|
|
<tr>
|
|
<td>{{ user.username }}</td>
|
|
<td>{{ user.created_at }}</td>
|
|
<td>{{ user.modified_at }}</td>
|
|
<td>{{ user.last_login }}</td>
|
|
<td> </td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% endblock%}
|