Revert "remove log & leaderboard from (public?) template"
This reverts commit 453f4fd438
.
This commit is contained in:
parent
6b952d8e2f
commit
e27fd9e4e2
1 changed files with 26 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue