From e27fd9e4e2bfe007b6b9ec9d22f0e6c738f102e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Mon, 3 Jan 2022 20:10:02 +0100 Subject: [PATCH] Revert "remove log & leaderboard from (public?) template" This reverts commit 453f4fd438f2ea8ce29230ac55e8d0e3023b6810. --- templates/index.html | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/templates/index.html b/templates/index.html index ace70d7..bdab1cc 100644 --- a/templates/index.html +++ b/templates/index.html @@ -97,5 +97,31 @@ {% endfor %} + +

Log

+ + {% for entry in log %} + + + + + + {% endfor %} +
{{entry.ts.strftime("%c")}} + {% if entry.state %} + + {% else %} + OUT + {% endif %} + + {{entry.lease.display}} +
+ +

Leaderboard

+
    + {% for entry in leaderboard %} +
  1. {{entry.name}} ({{entry.total}})
  2. + {% endfor %} +