allianceauth/stock/templates/registered/signaturemanagement.html
2016-01-17 01:35:31 -06:00

68 lines
2.4 KiB
HTML

{% extends "public/base.html" %}
{% load staticfiles %}
{% block title %}Alliance Auth{% endblock %}
{% block page_title %}Signature Management{% endblock page_title %}
{% block extra_css %}{% endblock extra_css %}
{% block content %}
<div class="col-lg-12">
<h1 class="page-header text-center">Signatures
<div class="text-right">
<a href="{% url 'auth_add_signature_view' %}">
{% if perms.auth.signature_management %}
<button type="button" class="btn btn-success">Create Signature</button>
{% endif %}
</a>
</div>
</h1>
<table class="table table-responsive table-bordered">
<tr>
<th class="text-center">ID</th>
<th class="text-center">System</th>
<th class="text-center">Destination</th>
<th class="text-center">Signature Type</th>
<th class="text-center">Status</th>
<th class="text-center">Notes</th>
{% if perms.auth.signature_management %}
<th class="text-center">Action</th>
{% endif %}
</tr>
{% for sigt in sigtracker %}
<tr>
<td style="width:150px" class="text-center">{{ sigt.ident }}</td>
<td class="text-center">
<a href="http://evemaps.dotlan.net/system/{{ sigt.system }}">{{ sigt.system }}</a>
</td>
<td style="width:150px" class="text-center">{{ sigt.destination }}</td>
<td style="width:150px" class="text-center">{{ sigt.sigtype }}</td>
<td style="width:150px" class="text-center">{{ sigt.status }}</td>
<td style="width:150px" class="text-center">{{ sigt.notes }}</td>
{% if perms.auth.signature_management %}
<td class="text-center">
<a href="/remove_signature/{{ sigt.id }}">
<button type="button" class="btn btn-danger"><span
class="glyphicon glyphicon-remove"></span></button>
</a>
</td>
</tr>
{% endif %}
{% endfor %}
</tr>
</table>
</div>
{% endblock content %}