console/app/templates/administrator/users/index.html
2015-12-01 02:46:00 +03:00

34 lines
926 B
HTML

{% extends 'administrator/_layout.auth.html' %}
{% block title %}Users{% endblock %}
{% block subtitle %}Users list{% endblock %}
{% block content %}
Total: {{ users.total }}
<table class="table table-bordered">
<thead>
<tr>
<th>id</th>
<th>email</th>
<th>status</th>
<th>action</th>
</tr>
</thead>
<tbody>
{% if users.total == 0 %}
{% else %}
{% for user in users['items'] %}
<tr>
<td>{{ user.id }}</td>
<td>{{ user.email }}</td>
<td>{{ user.status }}</td>
<td>
<a href="#myModal" id="myModal">Edit</a>
</td>
</tr>
{% endfor %}
{% endif %}
</tbody>
</table>
{% endblock %}