| 
									
										
										
										
											2023-11-18 12:29:35 -06:00
										 |  |  | {% extends "tablepage.html" %} | 
					
						
							| 
									
										
										
										
											2021-05-19 21:55:18 +02:00
										 |  |  | {% block head %} | 
					
						
							|  |  |  |     {{ super() }} | 
					
						
							|  |  |  |     <title>{{ player_name }}'s Tracker</title> | 
					
						
							| 
									
										
										
										
											2023-11-18 12:29:35 -06:00
										 |  |  |     <link rel="stylesheet" type="text/css" href="{{ url_for("static", filename="styles/tracker.css") }}"/> | 
					
						
							|  |  |  |     <script type="application/ecmascript" src="{{ url_for("static", filename="assets/jquery.scrollsync.js") }}"></script> | 
					
						
							|  |  |  |     <script type="application/ecmascript" src="{{ url_for("static", filename="assets/trackerCommon.js") }}"></script> | 
					
						
							| 
									
										
										
										
											2021-05-19 21:55:18 +02:00
										 |  |  | {% endblock %} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | {% block body %} | 
					
						
							| 
									
										
										
										
											2023-11-18 12:29:35 -06:00
										 |  |  |     {% include "header/dirtHeader.html" %} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <div id="tracker-navigation"> | 
					
						
							|  |  |  |         <div class="tracker-navigation-bar"> | 
					
						
							|  |  |  |             <a | 
					
						
							|  |  |  |                 class="tracker-navigation-button" | 
					
						
							|  |  |  |                 href="{{ url_for("get_multiworld_tracker", tracker=room.tracker) }}" | 
					
						
							|  |  |  |             > | 
					
						
							|  |  |  |                  🡸 Return to Multiworld Tracker | 
					
						
							|  |  |  |             </a> | 
					
						
							|  |  |  |             {% if game_specific_tracker %} | 
					
						
							|  |  |  |             <a | 
					
						
							|  |  |  |                 class="tracker-navigation-button" | 
					
						
							|  |  |  |                 href="{{ url_for("get_player_tracker", tracker=room.tracker, tracked_team=team, tracked_player=player) }}" | 
					
						
							|  |  |  |             > | 
					
						
							|  |  |  |                 Game-Specific Tracker | 
					
						
							|  |  |  |             </a> | 
					
						
							|  |  |  |             {% endif %} | 
					
						
							|  |  |  |         </div> | 
					
						
							|  |  |  |     </div> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <div id="tracker-wrapper" data-tracker="{{ room.tracker | suuid }}/{{ team }}/{{ player }}" data-second="{{ saving_second }}"> | 
					
						
							| 
									
										
										
										
											2021-05-19 21:55:18 +02:00
										 |  |  |         <div id="tracker-header-bar"> | 
					
						
							| 
									
										
										
										
											2023-11-18 12:29:35 -06:00
										 |  |  |             <input placeholder="Search" id="search" /> | 
					
						
							|  |  |  |             <div class="info">This tracker will automatically update itself periodically.</div> | 
					
						
							| 
									
										
										
										
											2021-05-19 21:55:18 +02:00
										 |  |  |         </div> | 
					
						
							| 
									
										
										
										
											2023-11-18 12:29:35 -06:00
										 |  |  |         <div id="tables-container"> | 
					
						
							| 
									
										
										
										
											2021-05-19 21:55:18 +02:00
										 |  |  |             <div class="table-wrapper"> | 
					
						
							| 
									
										
										
										
											2022-12-05 03:39:07 +01:00
										 |  |  |                 <table id="received-table" class="table non-unique-item-table"> | 
					
						
							| 
									
										
										
										
											2021-05-19 21:55:18 +02:00
										 |  |  |                     <thead> | 
					
						
							|  |  |  |                         <tr> | 
					
						
							|  |  |  |                             <th>Item</th> | 
					
						
							|  |  |  |                             <th>Amount</th> | 
					
						
							| 
									
										
										
										
											2023-11-18 12:29:35 -06:00
										 |  |  |                             <th>Last Order Received</th> | 
					
						
							| 
									
										
										
										
											2021-05-19 21:55:18 +02:00
										 |  |  |                         </tr> | 
					
						
							|  |  |  |                     </thead> | 
					
						
							|  |  |  |                     <tbody> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-18 12:29:35 -06:00
										 |  |  |                     {% for id, count in inventory.items() if count > 0 %} | 
					
						
							|  |  |  |                         <tr> | 
					
						
							|  |  |  |                             <td>{{ item_id_to_name[game][id] }}</td> | 
					
						
							|  |  |  |                             <td>{{ count }}</td> | 
					
						
							|  |  |  |                             <td>{{ received_items[id] }}</td> | 
					
						
							|  |  |  |                         </tr> | 
					
						
							| 
									
										
										
										
											2021-05-19 21:55:18 +02:00
										 |  |  |                     {%- endfor -%} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |                     </tbody> | 
					
						
							|  |  |  |                 </table> | 
					
						
							|  |  |  |             </div> | 
					
						
							|  |  |  |             <div class="table-wrapper"> | 
					
						
							| 
									
										
										
										
											2022-12-05 03:39:07 +01:00
										 |  |  |                 <table id="locations-table" class="table non-unique-item-table"> | 
					
						
							| 
									
										
										
										
											2021-05-19 21:55:18 +02:00
										 |  |  |                     <thead> | 
					
						
							| 
									
										
										
										
											2023-11-18 12:29:35 -06:00
										 |  |  |                         <tr> | 
					
						
							|  |  |  |                             <th>Location</th> | 
					
						
							|  |  |  |                             <th class="center-column">Checked</th> | 
					
						
							|  |  |  |                         </tr> | 
					
						
							| 
									
										
										
										
											2021-05-19 21:55:18 +02:00
										 |  |  |                     </thead> | 
					
						
							|  |  |  |                     <tbody> | 
					
						
							| 
									
										
										
										
											2023-11-18 12:29:35 -06:00
										 |  |  | 
 | 
					
						
							|  |  |  |                     {%- for location in locations -%} | 
					
						
							|  |  |  |                         <tr> | 
					
						
							|  |  |  |                             <td>{{ location_id_to_name[game][location] }}</td> | 
					
						
							|  |  |  |                             <td class="center-column"> | 
					
						
							|  |  |  |                                 {% if location in checked_locations %}✔{% endif %} | 
					
						
							|  |  |  |                             </td> | 
					
						
							|  |  |  |                         </tr> | 
					
						
							|  |  |  |                     {%- endfor -%} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |                     </tbody> | 
					
						
							|  |  |  |                 </table> | 
					
						
							|  |  |  |             </div> | 
					
						
							|  |  |  |             <div class="table-wrapper"> | 
					
						
							|  |  |  |                 <table id="hints-table" class="table non-unique-item-table"> | 
					
						
							|  |  |  |                     <thead> | 
					
						
							| 
									
										
										
										
											2021-05-19 21:55:18 +02:00
										 |  |  |                         <tr> | 
					
						
							| 
									
										
										
										
											2023-11-18 12:29:35 -06:00
										 |  |  |                             <th>Finder</th> | 
					
						
							|  |  |  |                             <th>Receiver</th> | 
					
						
							|  |  |  |                             <th>Item</th> | 
					
						
							|  |  |  |                             <th>Location</th> | 
					
						
							|  |  |  |                             <th>Game</th> | 
					
						
							|  |  |  |                             <th>Entrance</th> | 
					
						
							|  |  |  |                             <th class="center-column">Found</th> | 
					
						
							| 
									
										
										
										
											2021-05-19 21:55:18 +02:00
										 |  |  |                         </tr> | 
					
						
							| 
									
										
										
										
											2023-11-18 12:29:35 -06:00
										 |  |  |                     </thead> | 
					
						
							|  |  |  |                     <tbody> | 
					
						
							|  |  |  |                     {%- for hint in hints -%} | 
					
						
							| 
									
										
										
										
											2021-05-19 21:55:18 +02:00
										 |  |  |                         <tr> | 
					
						
							| 
									
										
										
										
											2023-11-18 12:29:35 -06:00
										 |  |  |                             <td> | 
					
						
							|  |  |  |                                 {% if hint.finding_player == player %} | 
					
						
							|  |  |  |                                     <b>{{ player_names_with_alias[(team, hint.finding_player)] }}</b> | 
					
						
							|  |  |  |                                 {% else %} | 
					
						
							|  |  |  |                                     {{ player_names_with_alias[(team, hint.finding_player)] }} | 
					
						
							|  |  |  |                                 {% endif %} | 
					
						
							|  |  |  |                             </td> | 
					
						
							|  |  |  |                             <td> | 
					
						
							|  |  |  |                                 {% if hint.receiving_player == player %} | 
					
						
							|  |  |  |                                     <b>{{ player_names_with_alias[(team, hint.receiving_player)] }}</b> | 
					
						
							|  |  |  |                                 {% else %} | 
					
						
							|  |  |  |                                     {{ player_names_with_alias[(team, hint.receiving_player)] }} | 
					
						
							|  |  |  |                                 {% endif %} | 
					
						
							|  |  |  |                             </td> | 
					
						
							|  |  |  |                             <td>{{ item_id_to_name[games[(team, hint.receiving_player)]][hint.item] }}</td> | 
					
						
							|  |  |  |                             <td>{{ location_id_to_name[games[(team, hint.finding_player)]][hint.location] }}</td> | 
					
						
							|  |  |  |                             <td>{{ games[(team, hint.finding_player)] }}</td> | 
					
						
							|  |  |  |                             <td>{% if hint.entrance %}{{ hint.entrance }}{% else %}Vanilla{% endif %}</td> | 
					
						
							|  |  |  |                             <td class="center-column">{% if hint.found %}✔{% endif %}</td> | 
					
						
							| 
									
										
										
										
											2021-05-19 21:55:18 +02:00
										 |  |  |                         </tr> | 
					
						
							| 
									
										
										
										
											2023-11-18 12:29:35 -06:00
										 |  |  |                     {%- endfor -%} | 
					
						
							| 
									
										
										
										
											2021-05-19 21:55:18 +02:00
										 |  |  |                     </tbody> | 
					
						
							|  |  |  |                 </table> | 
					
						
							|  |  |  |             </div> | 
					
						
							|  |  |  |         </div> | 
					
						
							|  |  |  |     </div> | 
					
						
							|  |  |  | {% endblock %} |