1
Fork 0
mirror of https://github.com/Steffo99/estus.git synced 2024-11-25 00:54:18 +00:00
estus/templates/servizio/list.htm

28 lines
1.2 KiB
HTML

{% extends "base.htm" %}
{% block title %}Elenco servizi • estus{% endblock %}
{% block content %}
<div class="page-header">
<h1>
Servizi
<a class="btn btn-success" href="/serv_add"><span class="glyphicon glyphicon-plus"></span> Aggiungi</a>
</h1>
</div>
<table class="table table-hover">
<thead>
<tr>
<th>Nome ente</th>
<th>Nome servizio</th>
<th>Sede</th>
<th>Azioni</th>
</tr>
</thead>
{% for servizio in serv %}
<tr>
<td>{{ servizio.ente.nomeente }}</td>
<td>{{ servizio.nomeservizio }}</td>
<td>{{ servizio.locazione }}</td>
<td><a href="{{ url_for("page_imp_list_plus", sid=servizio.sid) }}"><span class="glyphicon glyphicon-list-alt"></span></a> <a href="{{ url_for("page_serv_show", sid=servizio.sid) }}"><span class="glyphicon glyphicon-pencil"></span></a> <a href="{{ url_for("page_serv_del", sid=servizio.sid) }}"><span class="glyphicon glyphicon-remove"></span></a></td>
</tr>
{% endfor %}
</table>
{% endblock %}