mirror of
				https://github.com/MarioSpore/Grinch-AP.git
				synced 2025-10-21 20:21:32 -06:00 
			
		
		
		
	 68a5784650
			
		
	
	68a5784650
	
	
	
		
			
			* Adding order received column to generic tracker. Progressive items will have the most recent number only.
		
			
				
	
	
		
			66 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			66 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| {% 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>
 | |
|                             <th>Order Received</th>
 | |
|                         </tr>
 | |
|                     </thead>
 | |
|                     <tbody>
 | |
| 
 | |
|                     {% for name, count in inventory.items() %}
 | |
|                     <tr>
 | |
|                         <td>{{ name | item_name }}</td>
 | |
|                         <td>{{ count }}</td>
 | |
|                         <td>{{received_items[name]}}</td>
 | |
|                     </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 %}
 |