covid-formity/templates/admin_index.html

33 lines
937 B
HTML
Raw Normal View History

2020-03-29 18:34:18 +00:00
{% extends "admin/master.html" %}
{% block body %}
<div class="row">
<div class="col-md-6">
<h1>Fullfillment stats</h1>
<table class="table">
<thead>
<tr>
<th>Status</th>
<th>Count</th>
<th>Requested (full)</th>
<th>Delivered (full)</th>
<th>Requested (front)</th>
<th>Delivered (front)</th>
</tr>
</thead>
<tbody>
{% for rec in stats %}
<tr>
<td>{{ rec.status.name }}</td>
<td>{{ rec.count }}</td>
<td>{{ rec.faceshield_full_required }}</td>
<td>{{ rec.faceshield_full_delivered }}</td>
<td>{{ rec.faceshield_front_required }}</td>
<td>{{ rec.faceshield_front_delivered }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
{% endblock %}