2020-06-20 18:03:06 +00:00
|
|
|
{% extends 'layout.html' %}
|
2020-06-26 17:29:33 +00:00
|
|
|
{% import "macros.html" as macros %}
|
2020-07-18 20:25:07 +00:00
|
|
|
|
2020-06-20 18:03:06 +00:00
|
|
|
{% block head %}
|
|
|
|
<title>Multiworld Seed {{ seed.id }}</title>
|
2020-07-19 03:01:35 +00:00
|
|
|
<link rel="stylesheet" type="text/css" href="{{ static_autoversion("view_seed.css") }}" />
|
|
|
|
<script type="application/ecmascript" src="{{ static_autoversion("view_seed.js") }}" ></script>
|
2020-06-20 18:03:06 +00:00
|
|
|
{% endblock %}
|
2020-07-18 20:25:07 +00:00
|
|
|
|
2020-06-20 18:03:06 +00:00
|
|
|
{% block body %}
|
2020-07-18 20:25:07 +00:00
|
|
|
<div id="view-seed-wrapper">
|
|
|
|
<div class="main-content">
|
|
|
|
<h3>Seed Info</h3>
|
|
|
|
<table>
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td>Seed: </td>
|
|
|
|
<td>{{ seed.id }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Created: </td>
|
|
|
|
<td id="creation-time" data-creation-time="{{ seed.creation_time }}"></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Players: </td>
|
|
|
|
<td>
|
|
|
|
<ul>
|
|
|
|
{% for team in seed.multidata["names"] %}
|
|
|
|
<li>Team #{{ loop.index }} - {{ team | length }}
|
|
|
|
<ul>
|
|
|
|
{% for player in team %}
|
|
|
|
<li>{{ player }}</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Rooms: </td>
|
|
|
|
<td>
|
|
|
|
{% call macros.list_rooms(rooms) %}
|
|
|
|
<li>
|
|
|
|
<a href="{{ url_for("new_room", seed=seed.id) }}">Create New Room</a>
|
|
|
|
</li>
|
|
|
|
{% endcall %}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|