{% load theme_tags %} {% load i18n %} {% load scope_tags %} {% load static %} {% comment %} Override of esi/select_token.html (django-esi), restyled for the Zima theme. Kept theme-aware on purpose: the head pulls {% theme_css %} / {% theme_js %} and {% theme_html_tags %} so the page renders in whichever Zima variant (dark/light) the user selected, exactly like the rest of the dashboard -- rather than hard-coding a single colour mode. Only the character grid is restyled (responsive Bootstrap 5 cards with square portraits). {% endcomment %} {% include 'allianceauth/opengraph.html' %} {% include 'allianceauth/icons.html' %} {% translate "ESI Token Selection" %} - {{ SITE_NAME }} {% include 'bundles/auth-framework-css.html' %} {% theme_css %} {% include 'bundles/fontawesome.html' %} {% include 'bundles/jquery-js.html' %} {% include 'bundles/auth-framework-js.html' %} {% include 'custom_css/bundles/custom-css.html' %}

{% translate "Select Character" %}

{% translate "Scopes Requested" %}
{% for scope in scopes %} {{ scope|scope_friendly_name }} {% endfor %}
{% csrf_token %}
{% translate "New Character" %}
+ {% translate "Add Token" %}
{% for token in tokens|dictsort:"character_name" %}
{% csrf_token %}
{{ token.character_name }}
{% endfor %}
{% theme_js %}