|
@@ -6,32 +6,32 @@
|
|
|
{% block content %}
|
|
|
|
|
|
{% if entity %}
|
|
|
<div class="row">
|
|
|
<h1 class="span12">{{entity.name}}</h1>
|
|
|
</div>
|
|
|
<hr>
|
|
|
<hr />
|
|
|
|
|
|
{% if entity.description %}
|
|
|
<div class="row">
|
|
|
<div class="span12">
|
|
|
{{entity.description}}
|
|
|
</div>
|
|
|
</div>
|
|
|
<hr>
|
|
|
<hr />
|
|
|
{% endif %}
|
|
|
|
|
|
<div class="row">
|
|
|
<div class="span12">
|
|
|
{% 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" %}
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<hr>
|
|
|
<hr />
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
|
<div class="span6">
|
|
|
<h2>General information</h2>
|
|
|
<div class="well">
|
|
@@ -88,13 +88,13 @@
|
|
|
{% else %}
|
|
|
<p>No incoming communications towards this entity.</p>
|
|
|
{% endif %}
|
|
|
<div>
|
|
|
{% with entity_id=entity.id|slugify %}
|
|
|
{% url "entity" entity.id as next %}
|
|
|
{% html_link "Add communication" "communication_create" class="btn btn-primary btn-mini" get="to_entity="|add:entity_id|add:"&next="|add:next %}
|
|
|
{% html_link "Add communication" "communication_create" class="btn btn-primary btn-mini" get="to_entity="|add:entity_id|add:"&next="|add:next %}
|
|
|
{% endwith %}
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<div class="span6">
|
|
@@ -113,13 +113,13 @@
|
|
|
{% else %}
|
|
|
<p>No outgoing communications from this entity.</p>
|
|
|
{% endif %}
|
|
|
<div>
|
|
|
{% with entity_id=entity.id|slugify %}
|
|
|
{% url "entity" entity.id as next %}
|
|
|
{% html_link "Add communication" "communication_create" class="btn btn-primary btn-mini" get="from_entity="|add:entity_id|add:"&next="|add:next %}
|
|
|
{% html_link "Add communication" "communication_create" class="btn btn-primary btn-mini" get="from_entity="|add:entity_id|add:"&next="|add:next %}
|
|
|
{% endwith %}
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<div class="span12">
|