Webhost Update

introduce a very WIP tracker
Server will try to reuse port and also try to only use one port
This commit is contained in:
Fabian Dill
2020-06-21 15:32:31 +02:00
parent 2759f6812c
commit 6421a373e1
9 changed files with 316 additions and 49 deletions

View File

@@ -0,0 +1,32 @@
{% extends 'layout.html' %}
{% block head %}
<title>Multiworld User {{ session["_id"] }}</title>
{% 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 %}