2017-09-11 10:47:52 +00:00
|
|
|
{% extends "base.htm" %}
|
|
|
|
{% block content %}
|
|
|
|
<h1>
|
|
|
|
Dispositivi esistenti
|
|
|
|
</h1>
|
|
|
|
<table class="table table-hover">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Tipo dispositivo</th>
|
|
|
|
<th>Utenti</th>
|
|
|
|
<th>Inventario CED</th>
|
|
|
|
<th>Inventario ente</th>
|
|
|
|
<th>Marca</th>
|
|
|
|
<th>Modello</th>
|
|
|
|
<th>Fornitore</th>
|
|
|
|
<th>Ispeziona</th>
|
|
|
|
<th>Elimina</th>
|
|
|
|
</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>
|
|
|
|
<td>{{ d[0].dispositivo.inv_ced }}</td>
|
|
|
|
<td>{{ d[0].dispositivo.inv_ente }}</td>
|
|
|
|
<td>{{ d[0].dispositivo.marca }}</td>
|
|
|
|
<td>{{ d[0].dispositivo.modello }}</td>
|
|
|
|
<td>{{ d[0].dispositivo.fornitore }}</td>
|
2017-09-11 14:55:23 +00:00
|
|
|
<td>{{ d[0].dispositivo.rete.nome }}</td>
|
2017-09-11 13:00:04 +00:00
|
|
|
<td><a href="/disp_details/{{ d[0].did }}"><span class="glyphicon glyphicon-list-alt"></span></a></td>
|
|
|
|
<td><a href="/disp_del/{{ d[0].did }}"><span class="glyphicon glyphicon-remove"></span></a></td>
|
2017-09-11 10:47:52 +00:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
<a class="btn btn-success" href="/disp_add">Aggiungi</a>
|
|
|
|
{% endblock %}
|