mirror of
https://github.com/nikdoof/test-auth.git
synced 2026-01-30 07:58:14 +00:00
Hilight the applying character in the application character list
This commit is contained in:
@@ -134,14 +134,14 @@
|
|||||||
|
|
||||||
<h3>EVE Characters</h3>
|
<h3>EVE Characters</h3>
|
||||||
|
|
||||||
<table class="zebra-striped" id="characters">
|
<table id="characters">
|
||||||
<thead>
|
<thead>
|
||||||
<tr><th>Character</th><th>Corp / Alliance</th><th>ISK</th><th>SP</th><th>Training</th><th>Links</th></tr>
|
<tr><th>Character</th><th>Corp / Alliance</th><th>ISK</th><th>SP</th><th>Training</th><th>Links</th></tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for acc in app.user.eveaccount_set.all %}
|
{% for acc in app.user.eveaccount_set.all %}
|
||||||
{% for char in acc.characters.all %}
|
{% for char in acc.characters.all %}
|
||||||
<tr><td><a href="{% url eve_api.views.eveapi_character char.id %}">{{ char.name }}</a></td>
|
<tr{% if char.id == app.character.id %} style="background-color: #FFE8D0"{% endif%}><td><a href="{% url eve_api.views.eveapi_character char.id %}">{{ char.name }}</a></td>
|
||||||
<td><a href="http://evemaps.dotlan.net/corp/{{ char.corporation }}">{{ char.corporation }}</a>{% if char.corporation.alliance %} /
|
<td><a href="http://evemaps.dotlan.net/corp/{{ char.corporation }}">{{ char.corporation }}</a>{% if char.corporation.alliance %} /
|
||||||
<a href="http://evemaps.dotlan.net/alliance/{{ char.corporation.alliance }}">{{ char.corporation.alliance }}</a>{% endif %}
|
<a href="http://evemaps.dotlan.net/alliance/{{ char.corporation.alliance }}">{{ char.corporation.alliance }}</a>{% endif %}
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user