Add gaps web page template

This commit is contained in:
Edward Betts 2023-12-27 08:23:34 +00:00
parent 5805c49fe3
commit e95f2381f1

19
templates/gaps.html Normal file
View file

@ -0,0 +1,19 @@
{% extends "base.html" %}
{% block content %}
<div class="p-2">
<h1>Gaps</h1>
<table class="table table-hover w-auto">
{% for start, end in gaps %}
<tr>
<td class="text-end">{{ start.strftime("%A, %-d %b %Y") }}</td>
<td class="text-end">{{ end.strftime("%A, %-d %b %Y") }}</td>
<td>{{ (end - start).days }} days</td>
</tr>
{% endfor %}
</table>
</div>
{% endblock %}