{% extends "base.html" %}

{% block title %}CBWebReader - Users{% endblock %}

{% block content %}
<div class="container">
    <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>
    <a class="btn btn-default" href="/comic/settings/users/add/" role="button">Add User</a>
</div>
{% endblock %}
{% block script %}

{% endblock %}