WebHost: On-Server rolling

This commit is contained in:
Fabian Dill
2020-08-02 22:11:52 +02:00
parent cfb8e2ce71
commit 22abd09087
13 changed files with 330 additions and 87 deletions

View File

@@ -6,3 +6,13 @@
{{ caller() }}
</ul>
{%- endmacro %}
{% macro list_patches_room(patches, room) %}
{% if patches %}
<ul>
{% for patch in patches %}
<li><a href="{{ url_for("download_patch", patch_id=patch.id, room_id=room.id) }}">
Patch for player {{ patch.player }} - {{ room.seed.multidata["names"][0][patch.player-1] }}</a></li>
{% endfor %}
</ul>
{% endif %}
{%- endmacro -%}