1
Fork 0
mirror of https://github.com/Steffo99/estus.git synced 2024-11-28 18:24:20 +00:00
estus/templates/ente/list.htm

30 lines
1.1 KiB
HTML

{% extends "base.htm" %}
{% block title %}Elenco enti • estus{% endblock %}
{% block content %}
<div class="page-header">
<h1>
Enti
<a class="btn btn-success" href="/ente_add">
<span class="glyphicon glyphicon-plus"></span> Aggiungi
</a>
</h1>
</div>
<table class="table table-hover">
<thead>
<tr>
<th>Nome ente</th>
<th>Nome breve</th>
<th>Azioni</th>
</tr>
</thead>
<tbody>
{% for ente in enti %}
<tr>
<td>{{ ente.nomeente }}</td>
<td>{{ ente.nomebreveente }}</td>
<td><a href="{{ url_for("page_serv_list_plus", eid=ente.eid) }}"><span class="glyphicon glyphicon-list-alt"></span></a> <a href="{{ url_for("page_ente_show", eid=ente.eid) }}"><span class="glyphicon glyphicon-pencil"></span></a> <a href="{{ url_for("page_ente_del", eid=ente.eid) }}"><span class="glyphicon glyphicon-remove"></span></a></td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}