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 08:53:29 +00:00
< div class = "alert alert-info" >
La rete con IP 0.0.0.0 sarà usata come rete di default durante l'eliminazione di altre reti con dispositivi assegnati. Cancellarla potrebbe avere effetti indesiderati.
< / div >
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 >
2017-09-13 09:36:20 +00:00
< th > Modifica< / th >
2017-09-11 14:55:23 +00:00
< th > Elimina< / th >
< / tr >
< / thead >
2017-09-13 09:36:20 +00:00
{% for rete in reti %}
< tr >
2017-09-11 14:55:23 +00:00
< 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-13 09:36:20 +00:00
< td > < a href = "/net_show/{{ rete.nid }}" > < span class = "glyphicon glyphicon-pencil" > < / span > < / a > < / td >
< td > {% if reti|length > 1 %}< a href = "/net_del/{{ rete.nid }}" > < span class = "glyphicon glyphicon-remove" > < / span > < / a > {% endif %}< / td >
< / tr >
{% endfor %}
2017-09-11 14:55:23 +00:00
< / table >
{% endblock %}