mirror of
https://github.com/Steffo99/estus.git
synced 2024-11-26 09:34:18 +00:00
40 lines
1.4 KiB
Django/Jinja
40 lines
1.4 KiB
Django/Jinja
<html>
|
|
<head>
|
|
<title>Elenco impiegati - 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>
|
|
{% include 'nav.html.j2' %}
|
|
<div class="container">
|
|
<h1>
|
|
Impiegati esistenti
|
|
</h1>
|
|
<table class="table table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th>Nome ente</th>
|
|
<th>Nome servizio</th>
|
|
<th>Nome impiegato</th>
|
|
<th>Nome utente</th>
|
|
<th>Password</th>
|
|
<th>Modifica</th>
|
|
<th>Elimina</th>
|
|
</tr>
|
|
</thead>
|
|
{% for imp in impiegati %}
|
|
<tr>
|
|
<td>{{ imp.servizio.ente.nomeente }}</td>
|
|
<td>{{ imp.servizio.nomeservizio }}
|
|
<td>{{ imp.nomeimpiegato }}</td>
|
|
<td><span class="monospace">{{ imp.username }}</span></td>
|
|
<td><span class="monospace">{{ imp.passwd }}</span></td>
|
|
<td><a href="/imp_show/{{ imp.iid }}"><span class="glyphicon glyphicon-pencil"></span></a></td>
|
|
<td><a href="/imp_del/{{ imp.iid }}"><span class="glyphicon glyphicon-remove"></span></a></td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
<a class="btn btn-success" href="/imp_add">Aggiungi</a>
|
|
</div>
|
|
</body>
|
|
</html>
|