1
Fork 0
mirror of https://github.com/Steffo99/estus.git synced 2024-11-22 15:44:19 +00:00
estus/templates/impiegato/details.htm

65 lines
2.3 KiB
HTML
Raw Normal View History

{% extends "base.htm" %}
{% block title %}Dettagli impiegato • estus{% endblock %}
{% block content %}
2017-09-20 10:01:07 +00:00
<div class="page-header">
<h1>
{{ impiegato }}
2017-09-21 07:29:49 +00:00
<a href="{{ url_for("page_imp_show", iid=impiegato.iid) }}" class="btn btn-primary">
2017-09-20 10:04:39 +00:00
<span class="glyphicon glyphicon-pencil"></span> Modifica
</a>
2017-09-21 07:29:49 +00:00
<a href="{{ url_for("page_imp_del", iid=impiegato.iid) }}" class="btn btn-danger">
2017-09-20 10:04:39 +00:00
<span class="glyphicon glyphicon-remove"></span> Elimina
2017-09-20 10:01:07 +00:00
</a>
</h1>
</div>
<ul class="list-group">
<li class="list-group-item">
<h4 class="list-group-item-heading">
Nome impiegato
</h4>
<div class="list-group-item-text">
{{ impiegato.nomeimpiegato }}
</div>
</li>
<li class="list-group-item">
<h4 class="list-group-item-heading">
Servizio di appartenenza
</h4>
<div class="list-group-item-text">
{{ impiegato.servizio.ente.nomeente }} - {{ impiegato.servizio.nomeservizio }}
</div>
</li>
{% if impiegato.username %}
<li class="list-group-item">
<h4 class="list-group-item-heading">
Username
</h4>
<div class="list-group-item-text">
<code>{{ impiegato.username }}</code>
</div>
</li>
{% endif %}
{% if impiegato.passwd %}
<li class="list-group-item">
<h4 class="list-group-item-heading">
Password
</h4>
<div class="list-group-item-text">
<code>{{ impiegato.passwd }}</code>
</div>
</li>
{% endif %}
{% if accessi %}
<li class="list-group-item">
<h4 class="list-group-item-heading">
Dispositivi associati
</h4>
<div class="list-group-item-text">
{% for accesso in accessi %}
2017-09-18 15:57:40 +00:00
<a href="/disp_details/{{ accesso.dispositivo.did }}">{{ accesso.dispositivo }}</a><br>
{% endfor %}
</div>
</li>
{% endif %}
</ul>
{% endblock %}