mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
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:
32
WebHost/templates/tracker.html
Normal file
32
WebHost/templates/tracker.html
Normal 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 %}
|
||||
Reference in New Issue
Block a user