1
Fork 0
mirror of https://github.com/Steffo99/estus.git synced 2024-11-22 23:54:20 +00:00
estus/templates/servizio/list.html.j2
Stefano Pigozzi 1e761cdbf4 Ora vanno un po' di cose in più.
Per la precisione:
enti
servizi
impiegati
2017-02-01 10:37:53 +01:00

35 lines
1.3 KiB
Django/Jinja

<html>
<head>
<title>Elenco servizi - 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>
<div class="container">
<h1>
Servizi esistenti
</h1>
<table class="table table-hover">
<thead>
<tr>
<th>Nome ente</th>
<th>Nome servizio</th>
<th>Ispeziona</th>
<th>Modifica</th>
<th>Elimina</th>
</tr>
</thead>
{% for servizio in serv %}
<tr>
<td>{{ servizio.ente.nomeente }}</td>
<td>{{ servizio.nomeservizio }}</td>
<td><a href="/imp_list/{{ servizio.sid }}"><span class="glyphicon glyphicon-list-alt"></span></a></td>
<td><a href="/serv_show/{{ servizio.sid }}"><span class="glyphicon glyphicon-pencil"></span></a></td>
<td><a href="/serv_del/{{ servizio.sid }}"><span class="glyphicon glyphicon-remove"></span></a></td>
</tr>
{% endfor %}
</table>
<a class="btn btn-success" href="/serv_add">Aggiungi</a>
</div>
</body>
</html>