2020-06-21 13:32:31 +00:00
|
|
|
{% extends 'layout.html' %}
|
|
|
|
{% block head %}
|
2020-06-21 13:59:32 +00:00
|
|
|
<meta http-equiv="refresh" content="60">
|
2020-06-21 13:42:26 +00:00
|
|
|
<title>Multiworld Tracker for Room {{ room.id }}</title>
|
2020-06-21 13:32:31 +00:00
|
|
|
{% endblock %}
|
|
|
|
{% block body %}
|
|
|
|
{% for team, players in inventory.items() %}
|
|
|
|
<table class="table table-striped table-bordered table-hover table-sm">
|
|
|
|
<thead class="thead-dark">
|
|
|
|
<tr>
|
|
|
|
<th>Player</th>
|
|
|
|
<th>Name</th>
|
|
|
|
{% for name in tracking_names %}
|
|
|
|
<th>{{ name }}</th>
|
|
|
|
{% endfor %}
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for player, items in players.items() %}
|
|
|
|
<tr>
|
|
|
|
<td>{{ loop.index }}</td>
|
|
|
|
<td>{{ player_names[(team, loop.index)] }}</td>
|
|
|
|
{% for id in tracking_ids %}
|
|
|
|
<td>
|
|
|
|
{{ items[id] }}
|
|
|
|
</td>
|
|
|
|
{% endfor %}
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
{% endfor %}
|
|
|
|
{% endblock %}
|