diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2024-01-02 20:42:01 +0100 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2024-01-05 12:33:59 +0100 |
commit | b21316248572cb27ed1f504529ad6680a473022e (patch) | |
tree | f8a2f81258cae3b1d2429fb7df5a3287954b683a /views/base.twig | |
parent | f621d95f89ded05a2e916c5ee363bfe75ea37482 (diff) |
gemini
Diffstat (limited to 'views/base.twig')
-rw-r--r-- | views/base.twig | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/views/base.twig b/views/base.twig deleted file mode 100644 index 15ddafd..0000000 --- a/views/base.twig +++ /dev/null @@ -1,32 +0,0 @@ -{% extends 'root.twig' %} - -{% block body %} -<div class="wrap"> - <header> - <nav> - <a href="/villages">Overview</a> - <a href="/logout">Logout</a> - </nav> - <span>Logged in as {{ session.user.username }}</span> - </header> - - <main> - {% block main %}{% endblock %} - </main> - - <footer></footer> - - <div class="global-timer"></div> - <script> - const timer = document.querySelectorAll('.global-timer'); - function setTime () { - const now = new Date(); - for (const t of timer) { - t.innerHTML = now; - } - } - setTime(); - setInterval(setTime, 1000); - </script> -</div> -{% endblock %} |