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

33 lines
1.4 KiB
HTML
Raw Permalink Normal View History

{% extends "base.htm" %}
2017-09-13 06:41:07 +00:00
{% block title %}Elenco servizi • estus{% endblock %}
{% block content %}
2017-09-20 10:01:07 +00:00
<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>
2017-09-20 10:31:54 +00:00
<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>
2017-09-22 09:44:36 +00:00
<td>
<a href="{{ url_for("page_imp_list_plus", sid=servizio.sid) }}" title="Trova impiegati di questo servizio"><span class="glyphicon glyphicon-list-alt"></span></a>
<a href="{{ url_for("page_serv_show", sid=servizio.sid) }}" title="Modifica"><span class="glyphicon glyphicon-pencil"></span></a>
<a href="javascript:void(0)" onclick="delet(&quot;{{ url_for("page_serv_del", sid=12341234) }}&quot;, {{ servizio.sid }}, &quot;{{ servizio }}&quot;);" title="Elimina"><span class="glyphicon glyphicon-remove"></span></a>
</td>
</tr>
{% endfor %}
</table>
{% endblock %}