2017-09-12 08:48:21 +00:00
|
|
|
{% extends "base.htm" %}
|
2017-09-13 06:41:07 +00:00
|
|
|
{% block title %}Elenco utenti inventario • estus{% endblock %}
|
2017-09-12 08:48:21 +00:00
|
|
|
{% 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>
|
2017-09-12 08:48:21 +00:00
|
|
|
<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>
|
2017-09-12 08:48:21 +00:00
|
|
|
<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("{{ url_for("page_user_del", uid=12341234) }}", {{ utente.uid }}, "{{ utente }}");"><span class="glyphicon glyphicon-remove"></span>
|
|
|
|
</a>
|
|
|
|
{% endif %}
|
|
|
|
</td>
|
2017-09-14 09:23:05 +00:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
2017-09-12 08:48:21 +00:00
|
|
|
</table>
|
|
|
|
{% endblock %}
|