| 
									
										
										
										
											2020-06-20 20:03:06 +02:00
										 |  |  | {% extends 'layout.html' %} | 
					
						
							| 
									
										
										
										
											2020-06-26 19:29:33 +02:00
										 |  |  | {% import "macros.html" as macros %} | 
					
						
							| 
									
										
										
										
											2020-07-18 16:25:07 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-06-20 20:03:06 +02:00
										 |  |  | {% block head %} | 
					
						
							| 
									
										
										
										
											2020-07-27 05:04:49 +02:00
										 |  |  |     <title>Multiworld Seed {{ seed.id|suuid }}</title> | 
					
						
							| 
									
										
										
										
											2020-08-02 19:10:42 -04:00
										 |  |  |     <link rel="stylesheet" type="text/css" href="{{ static_autoversion("styles/view_seed.css") }}"/> | 
					
						
							|  |  |  |     <script type="application/ecmascript" src="{{ static_autoversion("assets/view_seed.js") }}"></script> | 
					
						
							| 
									
										
										
										
											2020-06-20 20:03:06 +02:00
										 |  |  | {% endblock %} | 
					
						
							| 
									
										
										
										
											2020-07-18 16:25:07 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-06-20 20:03:06 +02:00
										 |  |  | {% block body %} | 
					
						
							| 
									
										
										
										
											2020-07-18 16:25:07 -04:00
										 |  |  |     <div id="view-seed-wrapper"> | 
					
						
							|  |  |  |         <div class="main-content"> | 
					
						
							|  |  |  |             <h3>Seed Info</h3> | 
					
						
							| 
									
										
										
										
											2020-10-30 00:09:47 +01:00
										 |  |  |             {% if not seed.multidata and not seed.spoiler %} | 
					
						
							|  |  |  |             <h4> | 
					
						
							|  |  |  |                 Single Player Race Rom: No spoiler or multidata exists, parts of the rom are encrypted and rooms cannot be created. | 
					
						
							|  |  |  |             </h4> | 
					
						
							|  |  |  |             {% endif %} | 
					
						
							| 
									
										
										
										
											2020-07-18 16:25:07 -04:00
										 |  |  |             <table> | 
					
						
							|  |  |  |                 <tbody> | 
					
						
							| 
									
										
										
										
											2020-07-27 05:04:49 +02: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 22:11:52 +02: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-30 00:09:47 +01:00
										 |  |  |                 {% if seed.multidata %} | 
					
						
							| 
									
										
										
										
											2020-07-27 05:04:49 +02:00
										 |  |  |                 <tr> | 
					
						
							|  |  |  |                     <td>Players: </td> | 
					
						
							|  |  |  |                     <td> | 
					
						
							|  |  |  |                         <ul> | 
					
						
							|  |  |  |                             {% for team in seed.multidata["names"] %} | 
					
						
							| 
									
										
										
										
											2020-08-02 22:11:52 +02:00
										 |  |  |                                 <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) }}">{{ player }}</a> | 
					
						
							|  |  |  |                                             </li> | 
					
						
							|  |  |  |                                         {% endfor %} | 
					
						
							|  |  |  |                                     </ul> | 
					
						
							|  |  |  |                                 </li> | 
					
						
							|  |  |  |                             {% endfor %} | 
					
						
							|  |  |  |                         </ul> | 
					
						
							|  |  |  |                     </td> | 
					
						
							|  |  |  |                 </tr> | 
					
						
							|  |  |  |                 <tr> | 
					
						
							|  |  |  |                     <td>Rooms: </td> | 
					
						
							|  |  |  |                     <td> | 
					
						
							| 
									
										
										
										
											2020-07-18 16:25:07 -04: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-30 00:09:47 +01:00
										 |  |  |                 {% else  %} | 
					
						
							|  |  |  |                 <tr> | 
					
						
							|  |  |  |                     <td>Patches: </td> | 
					
						
							|  |  |  |                     <td> | 
					
						
							|  |  |  |                         <ul> | 
					
						
							|  |  |  |                             {% for patch in seed.patches %} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |                             <li> | 
					
						
							|  |  |  |                                 <a href="{{ url_for("download_raw_patch", seed_id=seed.id, player_id=patch.player) }}">Player {{ patch.player }}</a> | 
					
						
							|  |  |  |                             </li> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |                             {% endfor %} | 
					
						
							|  |  |  |                         </ul> | 
					
						
							|  |  |  |                     </td> | 
					
						
							|  |  |  |                 </tr> | 
					
						
							|  |  |  |                 {% endif %} | 
					
						
							| 
									
										
										
										
											2020-07-18 16:25:07 -04:00
										 |  |  |                 </tbody> | 
					
						
							|  |  |  |             </table> | 
					
						
							|  |  |  |         </div> | 
					
						
							|  |  |  |     </div> | 
					
						
							|  |  |  | {% endblock %} |