| 
									
										
										
										
											2021-05-19 21:55:18 +02:00
										 |  |  | {% extends 'tablepage.html' %} | 
					
						
							|  |  |  | {% block head %} | 
					
						
							|  |  |  |     {{ super() }} | 
					
						
							|  |  |  |     <title>{{ player_name }}'s Tracker</title> | 
					
						
							|  |  |  |     <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/tracker.js") }}"></script> | 
					
						
							|  |  |  | {% endblock %} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | {% block body %} | 
					
						
							|  |  |  |     {% include 'header/dirtHeader.html' %} | 
					
						
							|  |  |  |     <div id="tracker-wrapper" data-tracker="{{ room.tracker|suuid }}/{{ team }}/{{ player }}"> | 
					
						
							|  |  |  |         <div id="tracker-header-bar"> | 
					
						
							|  |  |  |             <input placeholder="Search" id="search"/> | 
					
						
							|  |  |  |             <span class="info">This tracker will automatically update itself periodically.</span> | 
					
						
							|  |  |  |         </div> | 
					
						
							|  |  |  |             <div class="table-wrapper"> | 
					
						
							|  |  |  |                 <table class="table non-unique-item-table"> | 
					
						
							|  |  |  |                     <thead> | 
					
						
							|  |  |  |                         <tr> | 
					
						
							|  |  |  |                             <th>Item</th> | 
					
						
							|  |  |  |                             <th>Amount</th> | 
					
						
							| 
									
										
										
										
											2021-09-23 07:48:25 -04:00
										 |  |  |                             <th>Order Received</th> | 
					
						
							| 
									
										
										
										
											2021-05-19 21:55:18 +02:00
										 |  |  |                         </tr> | 
					
						
							|  |  |  |                     </thead> | 
					
						
							|  |  |  |                     <tbody> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-19 21:57:10 +02:00
										 |  |  |                     {% for name, count in inventory.items() %} | 
					
						
							| 
									
										
										
										
											2021-05-19 21:55:18 +02:00
										 |  |  |                     <tr> | 
					
						
							| 
									
										
										
										
											2021-05-19 21:57:10 +02:00
										 |  |  |                         <td>{{ name | item_name }}</td> | 
					
						
							| 
									
										
										
										
											2021-05-19 21:55:18 +02:00
										 |  |  |                         <td>{{ count }}</td> | 
					
						
							| 
									
										
										
										
											2021-09-23 07:48:25 -04:00
										 |  |  |                         <td>{{received_items[name]}}</td> | 
					
						
							| 
									
										
										
										
											2021-05-19 21:55:18 +02:00
										 |  |  |                     </tr> | 
					
						
							|  |  |  |                     {%- endfor -%} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |                     </tbody> | 
					
						
							|  |  |  |                 </table> | 
					
						
							|  |  |  |             </div> | 
					
						
							|  |  |  |             <div class="table-wrapper"> | 
					
						
							|  |  |  |                 <table class="table non-unique-item-table"> | 
					
						
							|  |  |  |                     <thead> | 
					
						
							|  |  |  |                     <tr> | 
					
						
							|  |  |  |                         <th>Location</th> | 
					
						
							|  |  |  |                         <th>Checked</th> | 
					
						
							|  |  |  |                     </tr> | 
					
						
							|  |  |  |                     </thead> | 
					
						
							|  |  |  |                     <tbody> | 
					
						
							|  |  |  |                         {% for name in checked_locations %} | 
					
						
							|  |  |  |                         <tr> | 
					
						
							|  |  |  |                             <td>{{ name | location_name}}</td> | 
					
						
							|  |  |  |                             <td>✔</td> | 
					
						
							|  |  |  |                         </tr> | 
					
						
							|  |  |  |                         {%- endfor -%} | 
					
						
							|  |  |  |                         {% for name in not_checked_locations %} | 
					
						
							|  |  |  |                         <tr> | 
					
						
							|  |  |  |                             <td>{{ name | location_name}}</td> | 
					
						
							|  |  |  |                             <td></td> | 
					
						
							|  |  |  |                         </tr> | 
					
						
							|  |  |  |                         {%- endfor -%} | 
					
						
							|  |  |  |                     </tbody> | 
					
						
							|  |  |  |                 </table> | 
					
						
							|  |  |  |             </div> | 
					
						
							|  |  |  |         </div> | 
					
						
							|  |  |  |     </div> | 
					
						
							|  |  |  | {% endblock %} |