1
Fork 0
mirror of https://github.com/Steffo99/estus.git synced 2024-11-25 09:04:18 +00:00
estus/templates/net/list.htm

26 lines
963 B
HTML

{% extends "base.htm" %}
{% block title %}Elenco reti • estus{% endblock %}
{% block content %}
<h1>
Reti esistenti
</h1>
<a class="btn btn-success" href="/net_add"><span class="glyphicon glyphicon-plus"></span> Aggiungi</a>
<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>
{% endfor %}
</tr>
</table>
{% endblock %}