50 lines
2.3 KiB
HTML
50 lines
2.3 KiB
HTML
{% for team, hints in hints.items() %}
|
|
<div class="table-wrapper">
|
|
<table id="hints-table" class="table non-unique-item-table" data-order='[[5, "asc"], [0, "asc"]]'>
|
|
<thead>
|
|
<tr>
|
|
<th>Finder</th>
|
|
<th>Receiver</th>
|
|
<th>Item</th>
|
|
<th>Location</th>
|
|
<th>Game</th>
|
|
<th>Entrance</th>
|
|
<th class="center-column">Found</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{%- for hint in hints -%}
|
|
{%-
|
|
if current_tracker == "Generic" or (
|
|
games[(team, hint.finding_player)] == current_tracker or
|
|
games[(team, hint.receiving_player)] == current_tracker
|
|
)
|
|
-%}
|
|
<tr>
|
|
<td>
|
|
{% if get_slot_info(team, hint.finding_player).type == 2 %}
|
|
<i>{{ player_names_with_alias[(team, hint.finding_player)] }}</i>
|
|
{% else %}
|
|
{{ player_names_with_alias[(team, hint.finding_player)] }}
|
|
{% endif %}
|
|
</td>
|
|
<td>
|
|
{% if get_slot_info(team, hint.receiving_player).type == 2 %}
|
|
<i>{{ player_names_with_alias[(team, hint.receiving_player)] }}</i>
|
|
{% else %}
|
|
{{ player_names_with_alias[(team, hint.receiving_player)] }}
|
|
{% endif %}
|
|
</td>
|
|
<td>{{ item_id_to_name[games[(team, hint.receiving_player)]][hint.item] }}</td>
|
|
<td>{{ location_id_to_name[games[(team, hint.finding_player)]][hint.location] }}</td>
|
|
<td>{{ games[(team, hint.finding_player)] }}</td>
|
|
<td>{% if hint.entrance %}{{ hint.entrance }}{% else %}Vanilla{% endif %}</td>
|
|
<td class="center-column">{% if hint.found %}✔{% endif %}</td>
|
|
</tr>
|
|
{% endif %}
|
|
{%- endfor -%}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
{% endfor %}
|