2017-09-11 14:55:23 +00:00
|
|
|
{% extends "base.htm" %}
|
2017-09-13 06:41:07 +00:00
|
|
|
{% block title %}Dettagli rete • estus{% endblock %}
|
2017-09-11 14:55:23 +00:00
|
|
|
{% block content %}
|
|
|
|
<h1>
|
2017-09-13 06:41:07 +00:00
|
|
|
Dettagli della rete
|
2017-09-11 14:55:23 +00:00
|
|
|
</h1>
|
|
|
|
<ul class="list-group">
|
|
|
|
<li class="list-group-item">
|
|
|
|
<h4 class="list-group-item-heading">
|
|
|
|
Nome Rete
|
|
|
|
</h4>
|
|
|
|
<div class="list-group-item-text">
|
2017-09-11 15:31:20 +00:00
|
|
|
{{ net.nome }}
|
2017-09-11 14:55:23 +00:00
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li class="list-group-item">
|
|
|
|
<h4 class="list-group-item-heading">
|
2017-09-12 07:39:18 +00:00
|
|
|
Indirizzo di rete
|
2017-09-11 14:55:23 +00:00
|
|
|
</h4>
|
|
|
|
<div class="list-group-item-text">
|
2017-09-12 07:39:18 +00:00
|
|
|
{{ net.network_ip }}
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li class="list-group-item">
|
|
|
|
<h4 class="list-group-item-heading">
|
|
|
|
Subnet mask
|
|
|
|
</h4>
|
|
|
|
<div class="list-group-item-text">
|
|
|
|
{{ subnet }} (/{{ net.subnet }})
|
2017-09-11 14:55:23 +00:00
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li class="list-group-item">
|
|
|
|
<h4 class="list-group-item-heading">
|
|
|
|
Dispositivi
|
|
|
|
</h4>
|
|
|
|
<div class="list-group-item-text">
|
2017-09-11 15:31:20 +00:00
|
|
|
{% for dispositivo in dispositivi %}
|
2017-09-12 13:11:23 +00:00
|
|
|
<a href="/disp_details/{{ dispositivo.did }}">{{ dispositivo.tipo }} {{ dispositivo.marca }} {{ dispositivo.modello }} {% if dispositivo.inv_ced %}({{ dispositivo.inv_ced }}){% endif %}</a><br>
|
2017-09-11 15:31:20 +00:00
|
|
|
{% endfor %}
|
2017-09-11 14:55:23 +00:00
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2017-09-13 08:24:46 +00:00
|
|
|
<a href="/net_show/{{ net.nid }}">
|
|
|
|
<button type="button" class="btn btn-primary">
|
2017-09-13 08:53:29 +00:00
|
|
|
<span class="glyphicon glyphicon-pencil"></span> Modifica
|
|
|
|
</button>
|
|
|
|
</a>
|
|
|
|
<a href="/net_del/{{ net.nid }}">
|
|
|
|
<button type="button" class="btn btn-danger">
|
|
|
|
<span class="glyphicon glyphicon-remove"></span> Elimina
|
2017-09-13 08:24:46 +00:00
|
|
|
</button>
|
|
|
|
</a>
|
2017-09-11 14:55:23 +00:00
|
|
|
{% endblock %}
|