mirror of
https://github.com/nanoy42/coope
synced 2024-12-25 16:33:47 +00:00
35 lines
909 B
HTML
35 lines
909 B
HTML
{% extends "base.html" %}
|
|
{% block entete %}Gestion des superusers{% endblock %}
|
|
{% block navbar %}
|
|
<ul>
|
|
<li><a href="#first">Liste des superusers</a></li>
|
|
</ul>
|
|
{% endblock %}
|
|
{% block content %}
|
|
<section id="first" class="main">
|
|
<header class="major">
|
|
<h2>Liste des superusers</h2>
|
|
</header>
|
|
<a class="button" href="{% url 'users:addSuperuser' %}">Ajouter un superuser</a><br><br>
|
|
<div class="table-wrapper">
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Utilisateur</th>
|
|
<th>Profil</th>
|
|
<th>Administrer</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for user in superusers %}
|
|
<tr>
|
|
<td>{{ user }}</td>
|
|
<td><a class="button small" href="{% url 'users:profile' user.pk %}">Profil</a></td>
|
|
<td><a class="button small" href="{% url 'users:removeSuperuser' user.pk %}">Retirer des superusers</a></td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</section>
|
|
{% endblock %}
|