1
Fork 0
mirror of https://github.com/Steffo99/estus.git synced 2024-11-22 23:54:20 +00:00
estus/templates/net/details.htm

51 lines
No EOL
1.8 KiB
HTML

{% extends "base.htm" %}
{% block title %}Dettagli rete • estus{% endblock %}
{% block content %}
<div class="page-header">
<h1>
{{ net }}
<a href="{{ url_for("page_net_show", nid=net.nid) }}" class="btn btn-primary">
<span class="glyphicon glyphicon-pencil"></span> Modifica
</a>
<a href="{{ url_for("page_net_del", nid=net.nid) }}" 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 Rete
</h4>
<div class="list-group-item-text">
{{ net.nome }}
</div>
</li>
<li class="list-group-item">
<h4 class="list-group-item-heading">
Indirizzo di rete
</h4>
<div class="list-group-item-text">
{{ 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 }})
</div>
</li>
<li class="list-group-item">
<h4 class="list-group-item-heading">
Dispositivi
</h4>
<div class="list-group-item-text">
{% for dispositivo in dispositivi %}
<a href="{{ url_for("page_disp_show", did=dispositivo.did) }}">{{ dispositivo }} {% if dispositivo.ip %}- {{ dispositivo.ip }}{% endif %}</a><br>
{% endfor %}
</div>
</li>
</ul>
{% endblock %}