Tracker: Use Icons for header where appropriate

This commit is contained in:
Fabian Dill
2020-07-19 22:32:56 +02:00
parent 611a38be67
commit cb4d2d1ef0
3 changed files with 42 additions and 6 deletions

View File

@@ -119,9 +119,14 @@
{% if area in big_key_locations %}
{% set colspan = colspan + 1 %}
{% endif %}
<th colspan="{{ colspan }}">{{ area }}</th>
{% if area in icons %}
<th colspan="{{ colspan }}" style="text-align: center">
<img class="alttp-sprite" src="{{ icons[area] }}" alt="{{ area }}"></th>
{% else %}
<th colspan="{{ colspan }}">{{ area }}</th>
{% endif %}
{% endfor %}
<th rowspan="2">Last Activity</th>
<th rowspan="2">Last<br>Activity</th>
</tr>
<tr>
{% for area in ordered_areas %}