Files
@ ea8aa73f8ebb
Branch filter:
Location: conntrackt/conntrackt/templates/conntrackt/location_widget.html - annotation
ea8aa73f8ebb
1.1 KiB
text/html
CONNT-12: Implemented the mixin for returning success URL using the passed GET parameter.
90fac7c6abb9 02c5e6c3ba98 b9fabc69b505 b9fabc69b505 b9fabc69b505 b9fabc69b505 5deeefd8d0fc b9fabc69b505 02c5e6c3ba98 b9fabc69b505 b9fabc69b505 b9fabc69b505 5deeefd8d0fc b9fabc69b505 b9fabc69b505 02c5e6c3ba98 3d2465eff823 b9fabc69b505 b9fabc69b505 b9fabc69b505 b9fabc69b505 5deeefd8d0fc b9fabc69b505 3d2465eff823 02c5e6c3ba98 02c5e6c3ba98 | {% load conntrackt_tags %}
<table class="table table-striped">
<tr>
<td style="width:99%"><strong>{{location.name}}</strong></td>
<td>{% html_link '<i class="icon-book"></i>' 'project_location_iptables' project.id location.id class="btn btn-link" %}</td>
<td></td>
<td></td>
</tr>
{% for entity in entities %}
<tr>
<td>{% html_link entity.name 'entity' entity.id class="btn btn-link" %}</td>
<td>{% html_link '<i class="icon-list"></i>' 'entity_iptables' entity.id class="btn btn-link" %}</td>
<td>{% html_link '<i class="icon-edit"></i>' 'entity_update' entity.id class="btn btn-link" %}</td>
<td>{% html_link '<i class="icon-remove"></i>' 'entity_delete' entity.id class="btn btn-link" %}</td>
</tr>
{% endfor %}
{% with project_id=project.id|slugify location_id=location.id|slugify %}
<tr>
<td>{% html_link "Add entity" "entity_create" class="btn btn-primary btn-mini" get="project="|add:project_id|add:"&location="|add:location_id %}</td>
<td></td>
<td></td>
<td></td>
</tr>
{% endwith %}
</table>
|