1
Fork 0
mirror of https://github.com/Steffo99/estus.git synced 2024-11-29 02:34:20 +00:00
estus/templates/net/list.htm
2017-09-12 09:39:18 +02:00

25 lines
859 B
HTML

{% extends "base.htm" %}
{% block content %}
<h1>
Reti esistenti
</h1>
<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>
<td>{{ rete.network_ip }}/{{ rete.subnet }}</td>
<td><a href="/net_details/{{ rete.nid }}"><span class="glyphicon glyphicon-list-alt"></span></a></td>
<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>
</tr>
{% endfor %}
</table>
<a class="btn btn-success" href="/net_add">Aggiungi</a>
{% endblock %}