{% extends "conntrackt/base.html" %} {# For html_link. #} {% load conntrackt_tags %} {% block content %} {% if entity %}

{{entity.name}}

{% if entity.description %}
{{entity.description}}

{% endif %}
{% html_link "Edit" "entity_update" entity.id class="btn btn-primary" %} {% html_link "Remove" "entity_delete" entity.id class="btn btn-primary" %} {% html_link "Get Iptables" 'entity_iptables' entity.id class="btn btn-primary" %}

General information
Project{% html_link project.name 'project' project.id %}
Location{{location}}
{% for interface in interfaces %} {% endfor %}
Interfaces
{{interface.name}} ({{interface.address}}/{{interface.netmask}})
{% for comm in incoming_communications %} {% endfor %}
Incoming communications
{{comm.source}} - {{comm.protocol}}: {{comm.port}}
{% for comm in outgoing_communications %} {% endfor %}
Outgoing communications
{{comm.destination}} - {{comm.protocol}}: {{comm.port}}

Iptables rules

{{ entity_iptables }}
{% endif %} {% endblock %}