mirror of
https://github.com/Steffo99/estus.git
synced 2024-11-27 01:44:19 +00:00
39 lines
1.8 KiB
HTML
39 lines
1.8 KiB
HTML
{% extends "base.htm" %}
|
|
{% block title %}Elenco dispositivi • estus{% endblock %}
|
|
{% block content %}
|
|
<div class="page-header">
|
|
<h1>
|
|
Dispositivi
|
|
<a class="btn btn-success" href="{{ url_for("page_disp_add") }}"><span class="glyphicon glyphicon-plus"></span> Aggiungi</a>
|
|
</h1>
|
|
</div>
|
|
<table class="table table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th>Tipo dispositivo</th>
|
|
<th>Utenti</th>
|
|
<th>Inventario CED</th>
|
|
<th>Marca</th>
|
|
<th>Modello</th>
|
|
<th>Seriale</th>
|
|
<th>Azioni</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>{% if d[0].dispositivo.inv_ced %}{{ d[0].dispositivo.inv_ced }}{% endif %}</td>
|
|
<td>{{ d[0].dispositivo.marca }}</td>
|
|
<td>{{ d[0].dispositivo.modello }}</td>
|
|
<td>{% if d[0].dispositivo.seriale %}{{ d[0].dispositivo.seriale }}{% endif %}</td>
|
|
<td>
|
|
<a href="{{ url_for("page_disp_details", did=d[0].did) }}" title="Dettagli"><span class="glyphicon glyphicon-zoom-in"></span></a>
|
|
<a href="{{ url_for("page_disp_show", did=d[0].did) }}" title="Modifica"><span class="glyphicon glyphicon-pencil"></span></a>
|
|
<a href="{{ url_for("page_disp_clone", did=d[0].did) }}" title="Clona"><span class="glyphicon glyphicon-duplicate"></span></a>
|
|
<a href="{{ url_for("page_disp_del", did=d[0].did) }}" title="Elimina"><span class="glyphicon glyphicon-remove"></span></a>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
{% endblock %}
|