mirror of
https://github.com/Steffo99/estus.git
synced 2024-11-25 17:14:19 +00:00
44 lines
1.6 KiB
Django/Jinja
44 lines
1.6 KiB
Django/Jinja
<html>
|
|
<head>
|
|
<title>Elenco dispositivi - Inventario</title>
|
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
|
|
<link rel="stylesheet" href="{{css}}">
|
|
</head>
|
|
<body>
|
|
{% include 'nav.html.j2' %}
|
|
<div class="container">
|
|
<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>
|
|
<td><a href="/disp_details/{{ d.did }}"><span class="glyphicon glyphicon-list-alt"></span></a></td>
|
|
<td><a href="/disp_del/{{ d.did }}"><span class="glyphicon glyphicon-remove"></span></a></td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
<a class="btn btn-success" href="/disp_add">Aggiungi</a>
|
|
</div>
|
|
</body>
|
|
</html>
|