mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2025-01-23 16:44:29 +00:00
33 lines
1.2 KiB
HTML
33 lines
1.2 KiB
HTML
<table class="table table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th>Prénom</th>
|
|
<th>Nom</th>
|
|
<th>Pseudo</th>
|
|
<th>Inscrit le</th>
|
|
<th>Connexion</th>
|
|
<th>Profil</th>
|
|
</tr>
|
|
</thead>
|
|
{% for donnee in users_list %}
|
|
<tr>
|
|
<td>{{ donnee.0.name }}</td>
|
|
<td>{{ donnee.0.surname }}</td>
|
|
<td>{{ donnee.0.pseudo }}</td>
|
|
<td>{{ donnee.0.registered }}</td>
|
|
<td>{% if donnee.1 == True %}
|
|
<font color="green">Active</font>
|
|
{% else %}
|
|
<font color="red">Désactivée</font>
|
|
{% endif %}
|
|
</td>
|
|
<td><form method="POST" action="{% url "users:profil"%}">
|
|
{% csrf_token %}
|
|
<input type="hidden" name="user" id="user" value="{{ donnee.0.pseudo }}"></input>
|
|
<button class="btn btn-primary btn-sm" type="submit"><i class="glyphicon glyphicon-tree-deciduous"></i></button>
|
|
</form>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
|