1
Fork 0
mirror of https://github.com/Steffo99/estus.git synced 2024-11-25 17:14:19 +00:00
estus/templates/user/list.htm

32 lines
1.2 KiB
HTML
Raw Normal View History

{% extends "base.htm" %}
2017-09-13 06:41:07 +00:00
{% block title %}Elenco utenti inventario • estus{% endblock %}
{% block content %}
2017-09-20 10:01:07 +00:00
<div class="page-header">
<h1>
Utenti dell'inventario
2017-09-21 07:29:49 +00:00
<a class="btn btn-success" href="{{ url_for("page_user_add") }}"><span class="glyphicon glyphicon-plus"></span> Aggiungi</a>
2017-09-20 10:01:07 +00:00
</h1>
</div>
2017-09-13 06:41:07 +00:00
<div class="alert alert-info">
<b>Siete al sicuro!</b> Tutte le password degli utenti di questo inventario vengono hashate e saltate con bcrypt!
</div>
<table class="table table-hover">
<thead>
<tr>
<th>Nome utente</th>
<th>Elimina</th>
</tr>
2017-09-14 09:23:05 +00:00
{% for utente in utenti %}
<tr>
<td>{{ utente.username }}</td>
2017-09-22 09:44:36 +00:00
<td>
{% if utenti|length >= 2 and utente.username != user %}
<a href="javascript:void(0)" onclick="delet(&quot;{{ url_for("page_user_del", uid=12341234) }}&quot;, {{ utente.uid }}, &quot;{{ utente }}&quot;);"><span class="glyphicon glyphicon-remove"></span>
</a>
{% endif %}
</td>
2017-09-14 09:23:05 +00:00
</tr>
{% endfor %}
</table>
{% endblock %}