2020-10-24 18:46:27 +00:00
|
|
|
{% extends 'pageWrapper.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 %}
|
2020-12-04 07:59:23 +00:00
|
|
|
<title>View Seed {{ seed.id|suuid }}</title>
|
2020-12-01 02:15:47 +00:00
|
|
|
<link rel="stylesheet" type="text/css" href="{{ static_autoversion("styles/viewSeed.css") }}"/>
|
|
|
|
<script type="application/ecmascript" src="{{ static_autoversion("assets/viewSeed.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-12-03 06:55:06 +00:00
|
|
|
{% include 'header/oceanHeader.html' %}
|
2020-07-18 20:25:07 +00:00
|
|
|
<div id="view-seed-wrapper">
|
2020-12-01 02:15:47 +00:00
|
|
|
<div id="view-seed" class="grass-island">
|
2020-12-04 07:59:23 +00:00
|
|
|
<h1>Seed Info</h1>
|
2020-10-29 23:09:47 +00:00
|
|
|
{% if not seed.multidata and not seed.spoiler %}
|
2020-12-04 07:59:23 +00:00
|
|
|
<p>Single Player Race Rom: No spoiler or multidata exists, parts of the rom are encrypted and rooms
|
|
|
|
cannot be created.</p>
|
2020-10-29 23:09:47 +00:00
|
|
|
{% endif %}
|
2020-07-18 20:25:07 +00:00
|
|
|
<table>
|
|
|
|
<tbody>
|
2020-07-27 03:04:49 +00:00
|
|
|
<tr>
|
|
|
|
<td>Seed: </td>
|
|
|
|
<td>{{ seed.id|suuid }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Created: </td>
|
|
|
|
<td id="creation-time" data-creation-time="{{ seed.creation_time }}"></td>
|
|
|
|
</tr>
|
2020-08-02 20:11:52 +00:00
|
|
|
{% if seed.spoiler %}
|
|
|
|
<tr>
|
|
|
|
<td>Spoiler: </td>
|
|
|
|
<td><a href="{{ url_for("download_spoiler", seed_id=seed.id) }}">Download</a></td>
|
|
|
|
</tr>
|
|
|
|
{% endif %}
|
2020-10-29 23:09:47 +00:00
|
|
|
{% if seed.multidata %}
|
2021-01-03 17:28:07 +00:00
|
|
|
<tr>
|
|
|
|
<td>Players: </td>
|
|
|
|
<td>
|
|
|
|
<ul>
|
|
|
|
{% for team in seed.multidata["names"] %}
|
|
|
|
{% set outer_loop = loop %}
|
|
|
|
<li>Team #{{ loop.index }} - {{ team | length }}
|
|
|
|
<ul>
|
|
|
|
{% for player in team %}
|
|
|
|
<li>
|
|
|
|
<a href="{{ url_for("download_raw_patch", seed_id=seed.id, player_id=loop.index, team_id=outer_loop.index0) }}">{{ player }}</a>
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Rooms: </td>
|
2020-08-02 20:11:52 +00:00
|
|
|
<td>
|
2020-07-18 20:25:07 +00:00
|
|
|
{% call macros.list_rooms(rooms) %}
|
|
|
|
<li>
|
|
|
|
<a href="{{ url_for("new_room", seed=seed.id) }}">Create New Room</a>
|
|
|
|
</li>
|
|
|
|
{% endcall %}
|
|
|
|
</td>
|
|
|
|
</tr>
|
2020-10-29 23:09:47 +00:00
|
|
|
{% else %}
|
|
|
|
<tr>
|
|
|
|
<td>Patches: </td>
|
|
|
|
<td>
|
|
|
|
<ul>
|
|
|
|
{% for patch in seed.patches %}
|
|
|
|
|
|
|
|
<li>
|
2021-01-15 23:32:52 +00:00
|
|
|
<a href="{{ url_for("download_raw_patch", seed_id=seed.id, player_id=patch.player, team_id=0) }}">Player {{ patch.player }}</a>
|
2020-10-29 23:09:47 +00:00
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{% endif %}
|
2020-07-18 20:25:07 +00:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-12-01 02:15:47 +00:00
|
|
|
{% include 'islandFooter.html' %}
|
2020-07-18 20:25:07 +00:00
|
|
|
{% endblock %}
|