2022-01-16 18:22:00 +00:00
|
|
|
{% extends 'base.html.j2' %}
|
|
|
|
|
|
|
|
{% block title %}
|
|
|
|
Items on {{ date }}
|
|
|
|
{% endblock title %}
|
|
|
|
|
|
|
|
{% block content_before %}
|
|
|
|
Items on {{ date }}
|
|
|
|
{% endblock content_before %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<div class='table-responsive'>
|
|
|
|
<table class="table table-dark table-striped table-bordered table-hover"
|
2022-01-17 02:24:47 +00:00
|
|
|
id="items_by_date"
|
|
|
|
data-order='[[ 1, "desc" ]]'>
|
2022-01-16 18:22:00 +00:00
|
|
|
<thead>
|
|
|
|
<th scope="col">
|
|
|
|
Item
|
|
|
|
</th>
|
|
|
|
<th scope="col">
|
|
|
|
Count
|
|
|
|
</th>
|
|
|
|
<th scope="col">
|
|
|
|
Rarity
|
|
|
|
</th>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2022-01-17 02:24:47 +00:00
|
|
|
{% for lot, count in data.items() %}
|
2022-01-16 18:22:00 +00:00
|
|
|
<tr>
|
|
|
|
<td>
|
2022-01-17 02:24:47 +00:00
|
|
|
{{ lot|get_lot_name }}
|
2022-01-16 18:22:00 +00:00
|
|
|
</td>
|
|
|
|
<td>
|
2022-01-17 02:24:47 +00:00
|
|
|
{{ count }}
|
2022-01-16 18:22:00 +00:00
|
|
|
</td>
|
|
|
|
<td>
|
2022-01-17 02:24:47 +00:00
|
|
|
{{ lot|get_lot_rarity }}
|
2022-01-16 18:22:00 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|
|
|
|
|
2022-01-17 02:24:47 +00:00
|
|
|
{% block js %}
|
|
|
|
{{ super () }}
|
|
|
|
<script>
|
|
|
|
$(document).ready(function(){
|
|
|
|
let items_by_date = $('#items_by_date').DataTable({
|
|
|
|
"processing": false,
|
|
|
|
"serverSide": false,
|
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
{% endblock %}
|