aboutsummaryrefslogtreecommitdiff
path: root/app/templates/index.j2
diff options
context:
space:
mode:
authorKaran Jayachandra <karan.jayachandra@nxp.com>2025-07-25 15:30:07 +0200
committerKaran Jayachandra <karan.jayachandra@nxp.com>2025-07-25 15:30:07 +0200
commit08e4a27c0db7fc2867cce3eb6f80799148c03ba6 (patch)
tree9cf8636933099a550b02b281b6a885b7f3a7bf37 /app/templates/index.j2
parent040a3a894e0816596532d7f7430baa4a5524f67b (diff)
Moved to a mobile friendly CSS framework
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..8a13fa0 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) }}</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 defer src="{{ url_for('static', filename='custom.js') }}"></script>
</body>
</html>