mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-19 09:12:30 +02:00
* Initial testing of paplink functionality. More fancy interfaces coming. * Removed a invalid view reference. * Added a link on the front page. * Fixed some bad references and incorrect in game browser header usages. * Started work on statistics-pages. * Added an initial modify-paplink page where the pap itself can be deleted and characters removed. * Added a very simple statistics page. Also some name change for ~reasons~. * Small but crucial fix of syntax. * Added personal statistics page. * Corputils page now include fatlinkstats. * Added link to the personal statistics page. Moved other buttons for clarity. * Removed some unused code and imports * Added more statistics, and all corps in alliance are now visible even if no paps are registered. * Now requesting trust for the right domain. And some redundant imports and commented lines are removed.
55 lines
2.1 KiB
HTML
55 lines
2.1 KiB
HTML
{% extends "public/base.html" %}
|
|
{% load bootstrap %}
|
|
{% load staticfiles %}
|
|
|
|
{% block title %}Alliance Auth{% endblock %}
|
|
{% block page_title %}Fatlink view{% endblock page_title %}
|
|
|
|
{% block content %}
|
|
<div class="col-lg-12">
|
|
<h1 class="page-header text-center">Edit fatlink "{{ fatlink.name }}"
|
|
<div class="text-right">
|
|
<form>
|
|
<button type="submit" onclick="return confirm('Are you sure?')" class="btn btn-danger" name="deletefat" value="True">
|
|
Delete fat
|
|
</button>
|
|
</form>
|
|
</div>
|
|
</h1>
|
|
<h4><b>Registered characters</b></h4>
|
|
<table class="table table-responsive table-bordered">
|
|
<tr>
|
|
<th class="text-center">User</th>
|
|
<th class="text-center">Character</th>
|
|
<th class="text-center">System</th>
|
|
<th class="text-center">Ship</th>
|
|
<th class="text-center">Eve Time</th>
|
|
<th></th>
|
|
</tr>
|
|
{% for fat in registered_fats %}
|
|
<tr>
|
|
<td class="text-center">{{ fat.user }}</td>
|
|
<td class="text-center">{{ fat.character.character_name }}</td>
|
|
{% if fat.station != "None" %}
|
|
<td class="text-center">Docked in {{ fat.system }}</td>
|
|
{% else %}
|
|
<td class="text-center">{{ fat.system }}</td>
|
|
{% endif %}
|
|
<td class="text-center">{{ fat.shiptype }}</td>
|
|
<td class="text-center">{{ fat.fatlink.fatdatetime }}</td>
|
|
<td class="text-center">
|
|
<form>
|
|
<button type="submit" class="btn btn-warning" name="removechar" value="{{ fat.character.character_id }}"><span
|
|
class="glyphicon glyphicon-remove"></span></button>
|
|
</form>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
</div>
|
|
|
|
|
|
<script src="/static/js/dateformat.js"></script>
|
|
|
|
{% endblock content %}
|