mirror of
https://github.com/nanoy42/coope
synced 2024-12-25 16:33:47 +00:00
35 lines
1 KiB
HTML
35 lines
1 KiB
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' %}"><i class="fa fa-user-plus"></i> 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><a href="{% url 'users:profile' user.pk %}">{{user}}</a></td>
|
|
<td><a class="button small" href="{% url 'users:profile' user.pk %}"><i class="fa fa-user"></i> Profil</a></td>
|
|
<td><a class="button small" href="{% url 'users:removeSuperuser' user.pk %}"><i class="fa fa-minus-square"></i> Retirer des superusers</a></td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</section>
|
|
{% endblock %}
|