2017-09-11 10:47:52 +00:00
|
|
|
{% extends "base.htm" %}
|
2017-09-13 06:41:07 +00:00
|
|
|
{% block title %}Elenco dispositivi • estus{% endblock %}
|
2017-09-11 10:47:52 +00:00
|
|
|
{% block content %}
|
|
|
|
<h1>
|
|
|
|
Dispositivi esistenti
|
|
|
|
</h1>
|
2017-09-13 06:25:31 +00:00
|
|
|
<a class="btn btn-success" href="/disp_add"><span class="glyphicon glyphicon-plus"></span> Aggiungi</a>
|
2017-09-11 10:47:52 +00:00
|
|
|
<table class="table table-hover">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Tipo dispositivo</th>
|
|
|
|
<th>Utenti</th>
|
|
|
|
<th>Inventario CED</th>
|
|
|
|
<th>Marca</th>
|
|
|
|
<th>Modello</th>
|
2017-09-11 15:05:45 +00:00
|
|
|
<th>Seriale</th>
|
2017-09-12 13:11:23 +00:00
|
|
|
<th>Azioni</th>
|
2017-09-11 10:47:52 +00:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
{% for d in accessi %}
|
|
|
|
<tr>
|
|
|
|
<td>{{ d[0].dispositivo.tipo }}</td>
|
|
|
|
<td>{% for u in d %}<p>{{ u.impiegato.nomeimpiegato }}</p>{% endfor %}</td>
|
2017-09-18 12:54:52 +00:00
|
|
|
<td>{% if d[0].dispositivo.inv_ced %}{{ d[0].dispositivo.inv_ced }}{% endif %}</td>
|
2017-09-11 10:47:52 +00:00
|
|
|
<td>{{ d[0].dispositivo.marca }}</td>
|
|
|
|
<td>{{ d[0].dispositivo.modello }}</td>
|
2017-09-11 15:05:45 +00:00
|
|
|
<td>{{ d[0].dispositivo.seriale }}</td>
|
2017-09-18 13:04:22 +00:00
|
|
|
<td>
|
|
|
|
<a href="/disp_details/{{ d[0].did }}" title="Dettagli"><span class="glyphicon glyphicon-zoom-in"></span></a>
|
|
|
|
<a href="/disp_show/{{ d[0].did }}" title="Modifica"><span class="glyphicon glyphicon-pencil"></span></a>
|
|
|
|
<a href="/disp_clone/{{ d[0].did }}" title="Clona"><span class="glyphicon glyphicon-duplicate"></span></a>
|
|
|
|
<a href="/disp_del/{{ d[0].did }}" title="Elimina"><span class="glyphicon glyphicon-remove"></span></a>
|
|
|
|
</td>
|
2017-09-11 10:47:52 +00:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
{% endblock %}
|