Revert "remove log & leaderboard from (public?) template"

This reverts commit 453f4fd438.
This commit is contained in:
Tomáš Mládek 2022-01-03 20:10:02 +01:00
parent 6b952d8e2f
commit e27fd9e4e2
No known key found for this signature in database
GPG key ID: ED21612889E75EC5

View file

@ -97,5 +97,31 @@
</tr>
{% endfor %}
</table>
<h2>Log</h2>
<table class="log">
{% for entry in log %}
<tr>
<td>{{entry.ts.strftime("%c")}}</td>
<td>
{% if entry.state %}
<span class="log-in">IN</span>
{% else %}
<span class="log-out">OUT</span>
{% endif %}
</td>
<td>
{{entry.lease.display}}
</td>
</tr>
{% endfor %}
</table>
<h2>Leaderboard</h2>
<ol>
{% for entry in leaderboard %}
<li>{{entry.name}} ({{entry.total}})</li>
{% endfor %}
</ol>
</body>
</html>