mirror of
				https://github.com/MarioSpore/Grinch-AP.git
				synced 2025-10-21 20:21:32 -06:00 
			
		
		
		
	 7dcb6f66da
			
		
	
	7dcb6f66da
	
	
	
		
			
			* [WebHost] Update WebHost to include modular themes system, remove unused and outdated assets * Landing Page Updates * Markdown updates, colors coming later * Remove testing theme from FF1 * Color updates for markdown styles * Updates to generated pages, so many updates * [WebHost] Update WebHost to include modular themes system, remove unused and outdated assets * Landing Page Updates * Markdown updates, colors coming later * Remove testing theme from FF1 * Color updates for markdown styles * Updates to generated pages, so many updates * Seed download page improvements * Add styles to weighted-settings page * Minor adjustments to styles * Revert base theme to grass * Add more items to ArchipIDLE * [WebHost] Update WebHost to include modular themes system, remove unused and outdated assets * Landing Page Updates * Markdown updates, colors coming later * Remove testing theme from FF1 * Color updates for markdown styles * Updates to generated pages, so many updates * Seed download page improvements * [WebHost] Update WebHost to include modular themes system, remove unused and outdated assets * Landing Page Updates * Markdown updates, colors coming later * Remove testing theme from FF1 * Color updates for markdown styles * Updates to generated pages, so many updates * Add styles to weighted-settings page * Minor adjustments to styles * Revert base theme to grass * Add more items to ArchipIDLE * Improve Archipidle item name * [WebHost] Update background images, waiting on jungle.png, added partyTime theme * [WebHost] Fix tab ordering on landing page, remove islands on screen scale, fix tutorial page width scaling * [WebHost] Final touches to WebHost * Improve get_world_theme function, add partyTime theme to ArchipIDLE WebWorld * Remove sending_visible from AutoWorld * AP Ocarina of Time Client (#352) * Core: update jinja (#351) * some typing and cleaning, mostly in Fill.py (#349) * some typing and cleaning, mostly in Fill.py * address missing Option types * resolve a few TODOs discussed in pull request * SM: Optimize a bit (#350) * SM: Optimize a bit * SM: init bosses only once * New World Order (#355) * Core: update jinja * SM: Optimize a bit * AutoWorld: import worlds in alphabetical order, to be predictable rather than arbitrary Co-authored-by: Hussein Farran <hmfarran@gmail.com> * Remove references to Z5Client in English OoT setup guide * Prevent markdown code blocks from overflowing their container Co-authored-by: espeon65536 <81029175+espeon65536@users.noreply.github.com> Co-authored-by: Fabian Dill <Berserker66@users.noreply.github.com> Co-authored-by: Doug Hoskisson <beauxq@users.noreply.github.com> Co-authored-by: Hussein Farran <hmfarran@gmail.com>
		
			
				
	
	
		
			57 lines
		
	
	
		
			2.8 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			57 lines
		
	
	
		
			2.8 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| {% macro list_rooms(rooms) -%}
 | |
|     <ul>
 | |
|         {% for room in rooms %}
 | |
|             <li><a href="{{ url_for("host_room", room=room.id) }}">Room #{{ room.id|suuid }}</a></li>
 | |
|         {% endfor %}
 | |
|         {{ caller() }}
 | |
|     </ul>
 | |
| {%- endmacro %}
 | |
| {% macro list_patches_room(room) %}
 | |
|     {% if room.seed.slots %}
 | |
|         <table>
 | |
|             <thead>
 | |
|                 <tr>
 | |
|                     <th>Id</th>
 | |
|                     <th>Name</th>
 | |
|                     <th>Game</th>
 | |
|                     <th>Download Link</th>
 | |
|                     <th>Tracker Page</th>
 | |
|                 </tr>
 | |
|             </thead>
 | |
|             <tbody>
 | |
|             {% for patch in room.seed.slots|list|sort(attribute="player_id") %}
 | |
|                 <tr>
 | |
|                     <td>{{ patch.player_id }}</td>
 | |
|                     <td>{{ patch.player_name }}</td>
 | |
|                     <td>{{ patch.game }}</td>
 | |
|                     <td>
 | |
|                         {% if patch.game == "Minecraft" %}
 | |
|                         <a href="{{ url_for("download_slot_file", room_id=room.id, player_id=patch.player_id) }}" download>
 | |
|                             Download APMC File...</a>
 | |
|                         {% elif patch.game == "Factorio" %}
 | |
|                         <a href="{{ url_for("download_slot_file", room_id=room.id, player_id=patch.player_id) }}" download>
 | |
|                             Download Factorio Mod...</a>
 | |
|                         {% elif patch.game == "Ocarina of Time" %}
 | |
|                         <a href="{{ url_for("download_slot_file", room_id=room.id, player_id=patch.player_id) }}" download>
 | |
|                             Download APZ5 File...</a>
 | |
|                         {% elif patch.game == "VVVVVV" and room.seed.slots|length == 1 %}
 | |
|                         <a href="{{ url_for("download_slot_file", room_id=room.id, player_id=patch.player_id) }}" download>
 | |
|                             Download APV6 File...</a>
 | |
|                         {% elif patch.game == "Super Mario 64" and room.seed.slots|length == 1 %}
 | |
|                         <a href="{{ url_for("download_slot_file", room_id=room.id, player_id=patch.player_id) }}" download>
 | |
|                             Download APSM64EX File...</a>
 | |
|                         {% elif patch.game in ["A Link to the Past", "Secret of Evermore", "Super Metroid", "SMZ3"] %}
 | |
|                         <a href="{{ url_for("download_patch", patch_id=patch.id, room_id=room.id) }}" download>
 | |
|                             Download Patch File...</a>
 | |
|                         {% else %}
 | |
|                             No file to download for this game.
 | |
|                         {% endif %}
 | |
|                     </td>
 | |
|                     <td><a href="{{ url_for("getPlayerTracker", tracker=room.tracker, tracked_team=0, tracked_player=patch.player_id) }}">Tracker</a></td>
 | |
|                 </tr>
 | |
|             {% endfor %}
 | |
|             </tbody>
 | |
|         </table>
 | |
|     {% endif %}
 | |
| {%- endmacro -%}
 |