mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-02-11 09:36:24 +01:00
Adding "Paplink" feature (#401)
* 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.
This commit is contained in:
committed by
Mr McClain
parent
1abeba5658
commit
b190b8e191
@@ -57,6 +57,23 @@
|
||||
</ul>
|
||||
</li>
|
||||
{% endif %}
|
||||
<li style="float: right">
|
||||
<p class="navbar-form">
|
||||
Statistics for:
|
||||
<a href="{% url 'auth_corputils_month' corp.corporation_id previous_month|date:"Y" previous_month|date:"m" %}">
|
||||
<i class="fa fa-arrow-circle-left fa-fw grayiconecolor"></i>
|
||||
</a>
|
||||
{{ this_month|date:"M" }}, {{ this_month|date:"Y" }}
|
||||
{% if next_month %}
|
||||
<a href="{% url 'auth_corputils_month' corp.corporation_id next_month|date:"Y" next_month|date:"m" %}" >
|
||||
<i class="fa fa-arrow-circle-right fa-fw grayiconecolor"></i>
|
||||
</a>
|
||||
<a href="{% url 'auth_corputils' %}" >
|
||||
<i class="fa fa-angle-double-right fa-fw grayiconecolor"></i>
|
||||
</a>
|
||||
{% endif %}
|
||||
</p>
|
||||
</li>
|
||||
<li style="float: right">
|
||||
<p class="navbar-btn">
|
||||
<a href="https://zkillboard.com/corporation/{{ corp.corporation_id }}/" class="btn btn-default" target="_blank">{{ corp.corporation_name }} Killboard</a>
|
||||
@@ -89,6 +106,7 @@
|
||||
<th class="col-md-2">Main character</th>
|
||||
<th class="col-md-2">Main corporation</th>
|
||||
<th class="col-md-2">Character list</th>
|
||||
<th class="col-md-1">Fats</th>
|
||||
<th class="col-md-3">Killboard</th>
|
||||
<th class="col-md-2">API JackKnife</th>
|
||||
</tr>
|
||||
@@ -116,6 +134,9 @@
|
||||
<p>{{ char.character_name }}</p>
|
||||
{% endfor %}
|
||||
</td>
|
||||
<td>
|
||||
{{ player.n_fats }}
|
||||
</td>
|
||||
<td>
|
||||
{% for char in player.altlist %}
|
||||
<p><a href="https://zkillboard.com/character/{{ char.character_id }}/" class="label label-danger" target="_blank">Killboard</a></p>
|
||||
|
||||
Reference in New Issue
Block a user