mirror of
https://github.com/Steffo99/estus.git
synced 2024-11-25 00:54:18 +00:00
130 lines
No EOL
4.4 KiB
HTML
130 lines
No EOL
4.4 KiB
HTML
{% extends "base.htm" %}
|
|
{% block title %}Dettagli dispositivo • estus{% endblock %}
|
|
{% block content %}
|
|
<h1>
|
|
Dettagli del dispositivo
|
|
</h1>
|
|
<ul class="list-group">
|
|
<li class="list-group-item">
|
|
<h4 class="list-group-item-heading">
|
|
Tipo Dispositivo
|
|
</h4>
|
|
<div class="list-group-item-text">
|
|
{{ disp.tipo }}
|
|
</div>
|
|
</li>
|
|
{% if disp.marca %}
|
|
<li class="list-group-item">
|
|
<h4 class="list-group-item-heading">
|
|
Marca
|
|
</h4>
|
|
<div class="list-group-item-text">
|
|
{{ disp.marca }}
|
|
</div>
|
|
</li>
|
|
{% endif %}
|
|
{% if disp.modello %}
|
|
<li class="list-group-item">
|
|
<h4 class="list-group-item-heading">
|
|
Modello
|
|
</h4>
|
|
<div class="list-group-item-text">
|
|
{{ disp.modello }}
|
|
</div>
|
|
</li>
|
|
{% endif %}
|
|
{% if disp.oid %}
|
|
<li class="list-group-item">
|
|
<h4 class="list-group-item-heading">
|
|
Ordine
|
|
</h4>
|
|
<div class="list-group-item-text">
|
|
<a href="/order_details/{{ disp.ordine.oid }}">{{ disp.ordine }}</a>
|
|
</div>
|
|
</li>
|
|
{% endif %}
|
|
{% if disp.so != " " %}
|
|
<li class="list-group-item">
|
|
<h4 class="list-group-item-heading">
|
|
Sistema Operativo
|
|
</h4>
|
|
<div class="list-group-item-text">
|
|
{{ disp.so }}
|
|
</div>
|
|
</li>
|
|
{% endif %}
|
|
{% if accessi %}
|
|
<li class="list-group-item">
|
|
<h4 class="list-group-item-heading">
|
|
Utenti
|
|
</h4>
|
|
<div class="list-group-item-text">
|
|
{% for accesso in accessi %}
|
|
<a href="/imp_details/{{ accesso.iid }}">{{ accesso.impiegato.nomeimpiegato }}</a><br>
|
|
{% endfor %}
|
|
</div>
|
|
</li>
|
|
{% endif %}
|
|
{% if disp.inv_ced %}
|
|
<li class="list-group-item">
|
|
<h4 class="list-group-item-heading">
|
|
Codice Inventario CED
|
|
</h4>
|
|
<div class="list-group-item-text">
|
|
{{ disp.inv_ced }}
|
|
</div>
|
|
</li>
|
|
{% endif %}
|
|
{% if disp.inv_ente %}
|
|
<li class="list-group-item">
|
|
<h4 class="list-group-item-heading">
|
|
Codice Inventario Ente
|
|
</h4>
|
|
<div class="list-group-item-text">
|
|
<code>{{ disp.inv_ente }}</code>
|
|
</div>
|
|
</li>
|
|
{% endif %}
|
|
{% if disp.seriale %}
|
|
<li class="list-group-item">
|
|
<h4 class="list-group-item-heading">
|
|
Codice Seriale
|
|
</h4>
|
|
<div class="list-group-item-text">
|
|
<code>{{ disp.seriale }}</code>
|
|
</div>
|
|
</li>
|
|
{% endif %}
|
|
{% if disp.ip %}
|
|
<li class="list-group-item">
|
|
<h4 class="list-group-item-heading">
|
|
Indirizzo IP
|
|
</h4>
|
|
<div class="list-group-item-text">
|
|
<code>{{ disp.ip }}</code>
|
|
</div>
|
|
</li>
|
|
{% endif %}
|
|
{% if disp.hostname %}
|
|
<li class="list-group-item">
|
|
<h4 class="list-group-item-heading">
|
|
Hostname
|
|
</h4>
|
|
<div class="list-group-item-text">
|
|
<code>{{ disp.hostname }}</code>
|
|
</div>
|
|
</li>
|
|
{% endif %}
|
|
<li class="list-group-item">
|
|
<h4 class="list-group-item-heading">
|
|
Network
|
|
</h4>
|
|
<div class="list-group-item-text">
|
|
<a href="/net_details/{{ disp.rete.nid }}"><code>{{ disp.rete.nome }} - {{ disp.rete.network_ip }}/{{ disp.rete.subnet }}</code></a>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
<a href="/disp_show/{{ disp.did }}" class="btn btn-primary">
|
|
<span class="glyphicon glyphicon-pencil" aria-hidden="true"></span> Modifica
|
|
</a>
|
|
{% endblock %} |