summaryrefslogtreecommitdiff
path: root/src/match_up/templates/index.j2
diff options
context:
space:
mode:
authorKaran Jayachandra <mail@karanjayachandra.com>2024-10-25 18:03:18 +0200
committerKaran Jayachandra <mail@karanjayachandra.com>2024-10-25 18:03:18 +0200
commit60a489cfb3fb7a12a06212c2c7ed3c05cd0757b5 (patch)
tree8bf7b9cc50d8b133fe0666b0bff7fa143cd095a5 /src/match_up/templates/index.j2
parent2b18e0929a0b3e083cbe9e5e8ffd421ed8d17e52 (diff)
Moved the files into a folder structure
Diffstat (limited to 'src/match_up/templates/index.j2')
-rw-r--r--src/match_up/templates/index.j213
1 files changed, 13 insertions, 0 deletions
diff --git a/src/match_up/templates/index.j2 b/src/match_up/templates/index.j2
new file mode 100644
index 0000000..832dbfb
--- /dev/null
+++ b/src/match_up/templates/index.j2
@@ -0,0 +1,13 @@
+{% from "macros.j2" import header, footer, navbar %}
+<!doctype html>
+<html lang="en">
+ {{ header() }}
+ <body>
+ <section class="section">
+ {{ navbar() }}
+ <div hx-post="/clear" hx-swap="outerHTML" hx-trigger="load"></div>
+ <div hx-get="/control" hx-swap="outerHTML" hx-trigger="load"></div>
+ {{ footer() }}
+ </section>
+ </body>
+</html>