| 
									
										
										
										
											2020-06-21 15:32:31 +02:00
										 |  |  | {% extends 'layout.html' %} | 
					
						
							|  |  |  | {% block head %} | 
					
						
							| 
									
										
										
										
											2020-06-21 15:59:32 +02:00
										 |  |  |     <meta http-equiv="refresh" content="60"> | 
					
						
							| 
									
										
										
										
											2020-06-21 15:42:26 +02:00
										 |  |  |     <title>Multiworld Tracker for Room {{ room.id }}</title> | 
					
						
							| 
									
										
										
										
											2020-06-21 15:32:31 +02:00
										 |  |  | {% endblock %} | 
					
						
							|  |  |  | {% block body %} | 
					
						
							|  |  |  |     {% for team, players in inventory.items() %} | 
					
						
							|  |  |  |         <table class="table table-striped table-bordered table-hover table-sm"> | 
					
						
							|  |  |  |             <thead class="thead-dark"> | 
					
						
							|  |  |  |             <tr> | 
					
						
							|  |  |  |                 <th>Player</th> | 
					
						
							|  |  |  |                 <th>Name</th> | 
					
						
							|  |  |  |                 {% for name in tracking_names %} | 
					
						
							|  |  |  |                     <th>{{ name }}</th> | 
					
						
							|  |  |  |                 {% endfor %} | 
					
						
							|  |  |  |             </tr> | 
					
						
							|  |  |  |             </thead> | 
					
						
							|  |  |  |             <tbody> | 
					
						
							|  |  |  |             {% for player, items in players.items() %} | 
					
						
							|  |  |  |                 <tr> | 
					
						
							|  |  |  |                     <td>{{ loop.index }}</td> | 
					
						
							|  |  |  |                     <td>{{ player_names[(team, loop.index)] }}</td> | 
					
						
							|  |  |  |                     {% for id in tracking_ids %} | 
					
						
							|  |  |  |                         <td> | 
					
						
							|  |  |  |                             {{ items[id] }} | 
					
						
							|  |  |  |                         </td> | 
					
						
							|  |  |  |                     {% endfor %} | 
					
						
							|  |  |  |                 </tr> | 
					
						
							|  |  |  |             {% endfor %} | 
					
						
							|  |  |  |             </tbody> | 
					
						
							|  |  |  |         </table> | 
					
						
							|  |  |  |     {% endfor %} | 
					
						
							|  |  |  | {% endblock %} |