mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-19 01:02:30 +02:00
FAT uses ESI tokens to get character location/ship - closes #564 Pull corp memebrship data from ESI Additional permissions for non-api viewing. - migration to convert permissions from old users. Standardize EVE datasource responses. - allow different sources for EVE data types. Allow empty values for character alliance id and name Allow multiple corps and alliances to be considered 'members'
44 lines
2.3 KiB
HTML
44 lines
2.3 KiB
HTML
{% extends "corputils/base.html" %}
|
|
{% load i18n %}
|
|
{% load bootstrap_pagination %}
|
|
{% block member_data %}
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading clearfix">
|
|
<div class="panel-title pull-left">Search Results</div>
|
|
</div>
|
|
<div class="panel-body">
|
|
<div class="text-center">
|
|
{% bootstrap_paginate results range=10 %}
|
|
</div>
|
|
<table class="table table-hover">
|
|
<tr>
|
|
<th class="text-center"></th>
|
|
<th class="text-center">Character</th>
|
|
<th class="text-center">Corporation</th>
|
|
<th class="text-center">API</th>
|
|
<th class="text-center">zKillboard</th>
|
|
<th class="text-center">Main Character</th>
|
|
<th class="text-center">Main Corporation</th>
|
|
<th class="text-center">Main Alliance</th>
|
|
</tr>
|
|
{% for result in results %}
|
|
<tr {% if not result.1.registered %}class="danger"{% endif %}>
|
|
<td class="text-center"><img src="{{ result.1.portrait_url }}" class="img-circle"></td>
|
|
<td class="text-center">{{ result.1.character_name }}</td>
|
|
<td class="text-center">{{ result.0.corp.corporation_name }}</td>
|
|
{% if result.1.api %}
|
|
<td class="text-center"><a href="{{ JACK_KNIFE_URL }}?usid={{ result.1.api.api_id }}&apik={{ result.1.api.api_key }}" target="_blank" class="label label-primary">{{ result.1.api.api_id }}</td>
|
|
{% else %}
|
|
<td></td>
|
|
{% endif %}
|
|
<td class="text-center"><a href="https://zkillboard.com/character/{{ result.1.character_id }}/" class="label label-danger" target="_blank">{% trans "Killboard" %}</a></td>
|
|
<td class="text-center">{{ result.1.main.character_name }}</td>
|
|
<td class="text-center">{{ result.1.main.corporation_name }}</td>
|
|
<td class="text-center">{{ result.1.main.alliance_name }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|