summaryrefslogtreecommitdiff
path: root/views/base.twig
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-01-02 20:42:01 +0100
committerDaniel Weipert <git@mail.dweipert.de>2024-01-05 12:33:59 +0100
commitb21316248572cb27ed1f504529ad6680a473022e (patch)
treef8a2f81258cae3b1d2429fb7df5a3287954b683a /views/base.twig
parentf621d95f89ded05a2e916c5ee363bfe75ea37482 (diff)
gemini
Diffstat (limited to 'views/base.twig')
-rw-r--r--views/base.twig32
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 %}