aboutsummaryrefslogtreecommitdiff
path: root/app/templates/index.j2
diff options
context:
space:
mode:
Diffstat (limited to 'app/templates/index.j2')
-rw-r--r--app/templates/index.j211
1 files changed, 7 insertions, 4 deletions
diff --git a/app/templates/index.j2 b/app/templates/index.j2
index ce0d531..af6ca4c 100644
--- a/app/templates/index.j2
+++ b/app/templates/index.j2
@@ -3,11 +3,14 @@
<html lang="en">
{{ header(url_for) }}
<body>
- <section class="section">
- {{ navbar(url_for) }}
+ <header class="container">{{ navbar(url_for, login_status) }}</header>
+ <main class="container">
+ <h2>Games</h2>
<div hx-post="/clear" hx-swap="outerHTML" hx-trigger="load"></div>
+ <h2>Controls</h2>
<div hx-get="/control" hx-swap="outerHTML" hx-trigger="load"></div>
- {{ footer() }}
- </section>
+ </main>
+ <footer class="container">{{ footer() }}</footer>
+ <script src="{{ url_for('static', filename='timer.js') }}"></script>
</body>
</html>