File diff b092ea4cdde0 → d3db3c085912
conntrackt/templates/conntrackt/project_detail.html
Show inline comments
 
@@ -7,7 +7,7 @@
 
<div class="row">
 
  <h1 class="span12">{{project.name}}</h1>
 
</div>
 
<hr>
 
<hr />
 

	
 
{% if project.description %}
 
<div class="row">
 
@@ -15,7 +15,7 @@
 
    {{project.description}}
 
  </div>
 
</div>
 
<hr>
 
<hr />
 
{% endif %}
 

	
 
<div class="row">
 
@@ -23,13 +23,13 @@
 
    {% html_link "Edit" "project_update" project.id class="btn btn-primary" %}
 
    {% html_link "Remove" "project_delete" project.id class="btn btn-primary" %}
 
    {% with project_id=project.id|slugify %}
 
    {% html_link "Add entity" "entity_create" class="btn btn-primary" get="project="|add:project_id|add:"&next="|add:request.path %}
 
    {% html_link "Add communication" "communication_create" class="btn btn-primary" get="project="|add:project_id|add:"&next="|add:request.path %}
 
    {% html_link "Add entity" "entity_create" class="btn btn-primary" get="project="|add:project_id|add:"&amp;next="|add:request.path %}
 
    {% html_link "Add communication" "communication_create" class="btn btn-primary" get="project="|add:project_id|add:"&amp;next="|add:request.path %}
 
    {% endwith %}
 
    {% html_link "Get Iptables" 'project_iptables' project.id class="btn btn-primary" %}
 
  </div>
 
</div>
 
<hr>
 
<hr />
 
{% if location_entities %}
 
<div class="row">
 
  {% for location, entities in location_entities %}
 
@@ -65,7 +65,7 @@
 
<div class="row">
 
  <div class="span12">
 
    <h2>Communications diagram</h2>
 
    <img src="{% url "project_diagram" project.id %}" width="100%">
 
    <img id="project_diagram" src="{% url "project_diagram" project.id %}" alt="communications diagram" />
 
  </div>
 
</div>
 
{% endif %}