2017-09-11 14:55:23 +00:00
|
|
|
{% extends "base.htm" %}
|
2017-09-13 06:41:07 +00:00
|
|
|
{% block title %}Elenco reti • estus{% endblock %}
|
2017-09-11 14:55:23 +00:00
|
|
|
{% block content %}
|
|
|
|
<h1>
|
|
|
|
Reti esistenti
|
|
|
|
</h1>
|
2017-09-13 06:25:31 +00:00
|
|
|
<a class="btn btn-success" href="/net_add"><span class="glyphicon glyphicon-plus"></span> Aggiungi</a>
|
2017-09-11 14:55:23 +00:00
|
|
|
<table class="table table-hover">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Nome Rete</th>
|
|
|
|
<th>IP</th>
|
|
|
|
<th>Ispeziona</th>
|
|
|
|
<th>Elimina</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tr>
|
|
|
|
{% for rete in reti %}
|
|
|
|
<td>{{ rete.nome }}</td>
|
2017-09-12 07:39:18 +00:00
|
|
|
<td>{{ rete.network_ip }}/{{ rete.subnet }}</td>
|
2017-09-11 15:31:20 +00:00
|
|
|
<td><a href="/net_details/{{ rete.nid }}"><span class="glyphicon glyphicon-list-alt"></span></a></td>
|
2017-09-12 07:39:18 +00:00
|
|
|
<td>{% if not rete.network_ip == "0.0.0.0" %}<a href="/net_del/{{ rete.nid }}"><span class="glyphicon glyphicon-remove"></span></a>{% endif %}</td>
|
2017-09-13 06:41:07 +00:00
|
|
|
{% endfor %}
|
2017-09-11 14:55:23 +00:00
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
{% endblock %}
|