{% extends "conntrackt/base.html" %}
{# For html_link. #}
{% load conntrackt_tags %}
{% block content %}
{% if entity %}
{{entity.name}}
{% if 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}} |
Interfaces |
{% for interface in interfaces %}
{{interface.name}} ({{interface.address}}/{{interface.netmask}}) |
{% endfor %}
Incoming communications |
{% for comm in incoming_communications %}
{{comm.source}} - {{comm.protocol}}: {{comm.port}} |
{% endfor %}
Outgoing communications |
{% for comm in outgoing_communications %}
{{comm.destination}} - {{comm.protocol}}: {{comm.port}} |
{% endfor %}
Iptables rules
{{ entity_iptables }}
{% endif %}
{% endblock %}