mirror of
https://github.com/Steffo99/estus.git
synced 2024-11-28 18:24:20 +00:00
65 lines
No EOL
2.3 KiB
HTML
65 lines
No EOL
2.3 KiB
HTML
{% extends "base.htm" %}
|
|
{% block title %}Dettagli impiegato • estus{% endblock %}
|
|
{% block content %}
|
|
<div class="page-header">
|
|
<h1>
|
|
{{ impiegato }}
|
|
<a href="{{ url_for("page_imp_show", iid=impiegato.iid) }}" class="btn btn-primary">
|
|
<span class="glyphicon glyphicon-pencil"></span> Modifica
|
|
</a>
|
|
<a href="{{ url_for("page_imp_del", iid=impiegato.iid) }}" class="btn btn-danger">
|
|
<span class="glyphicon glyphicon-remove"></span> Elimina
|
|
</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 %}
|
|
<a href="/disp_details/{{ accesso.dispositivo.did }}">{{ accesso.dispositivo }}</a><br>
|
|
{% endfor %}
|
|
</div>
|
|
</li>
|
|
{% endif %}
|
|
</ul>
|
|
{% endblock %} |