2017-09-12 08:48:21 +00:00
|
|
|
{% extends "base.htm" %}
|
|
|
|
{% block content %}
|
|
|
|
<h1>
|
|
|
|
Utenti dell'inventario esistenti
|
|
|
|
</h1>
|
2017-09-13 06:25:31 +00:00
|
|
|
<a class="btn btn-success" href="/user_add"><span class="glyphicon glyphicon-plus"></span> Aggiungi</a>
|
2017-09-12 08:48:21 +00:00
|
|
|
<table class="table table-hover">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Nome utente</th>
|
|
|
|
<th>Elimina</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tr>
|
|
|
|
{% for utente in utenti %}
|
|
|
|
<td>{{ utente.username }}</td>
|
|
|
|
<td>{% if utenti|length >= 2 %}<a href="/user_del/{{ utente.uid }}"><span class="glyphicon glyphicon-remove"></span></a>{% endif %}</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
{% endblock %}
|