Move Code into repo

This commit is contained in:
Aaron Kimbre
2022-01-16 12:22:00 -06:00
parent 1eef1854bc
commit 53ffe927f3
196 changed files with 33149 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
{% extends 'base.html.j2' %}
{% block title %}
Reports
{% endblock title %}
{% block content_before %}
Reports
{% endblock content_before %}
{% block content %}
<div class="row">
<div class="col">
Items: <br/>
{% for item in items %}
<a role="button" class="btn btn-primary btn btn-block"
href='{{url_for('reports.items_by_date', date=item.date)}}'>
{{item.date}}
</a>
{% endfor %}
</div>
<div class="col">
</div>
<div class="col">
</div>
</div>
{% endblock %}
{% block js %}
{{ super () }}
{% endblock %}

View File

@@ -0,0 +1,46 @@
{% 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"
id="two_weeks"
data-order='[[ 1, "asc" ]]'
data-page-length='25'>
<thead>
<th scope="col">
Item
</th>
<th scope="col">
Count
</th>
<th scope="col">
Rarity
</th>
</thead>
<tbody>
{% for item in items %}
<tr>
<td>
{{ item.item|get_lot_name }}
</td>
<td>
{{ item.count }}
</td>
<td>
{{ item.item|get_lot_rarity }}
</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% endblock %}