1
Fork 0
mirror of https://github.com/Steffo99/estus.git synced 2024-11-22 23:54:20 +00:00
estus/templates/dispositivo/list.htm

40 lines
1.8 KiB
HTML
Raw Normal View History

{% extends "base.htm" %}
2017-09-13 06:41:07 +00:00
{% block title %}Elenco dispositivi • estus{% endblock %}
{% block content %}
2017-09-20 10:01:07 +00:00
<div class="page-header">
<h1>
Dispositivi
2017-09-21 07:29:49 +00:00
<a class="btn btn-success" href="{{ url_for("page_disp_add") }}"><span class="glyphicon glyphicon-plus"></span> Aggiungi</a>
2017-09-20 10:01:07 +00:00
</h1>
</div>
<table class="table table-hover">
<thead>
<tr>
<th>Tipo dispositivo</th>
<th>Utenti</th>
<th>Inventario CED</th>
2017-09-21 10:54:59 +00:00
<th>S.O.</th>
<th>IP</th>
2017-09-11 15:05:45 +00:00
<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>
2017-09-18 12:54:52 +00:00
<td>{% if d[0].dispositivo.inv_ced %}{{ d[0].dispositivo.inv_ced }}{% endif %}</td>
2017-09-21 10:54:59 +00:00
<td>{{ d[0].dispositivo.so }}</td>
<td>{{ d[0].dispositivo.ip }}</td>
2017-09-20 10:10:52 +00:00
<td>{% if d[0].dispositivo.seriale %}{{ d[0].dispositivo.seriale }}{% endif %}</td>
2017-09-18 13:04:22 +00:00
<td>
2017-09-21 07:29:49 +00:00
<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>
2017-09-18 13:04:22 +00:00
</td>
</tr>
{% endfor %}
</table>
{% endblock %}