summaryrefslogtreecommitdiff
path: root/app/templates/index.j2
diff options
context:
space:
mode:
authorKaran Jayachandra <mail@karanjayachandra.com>2025-07-06 13:31:37 +0200
committerKaran Jayachandra <mail@karanjayachandra.com>2025-07-06 13:31:37 +0200
commitc773faeea93fe5db2eb493c79c0c82f46336493c (patch)
treee1669ddfe85f6233673b6b04cb71e4fa1e7fed11 /app/templates/index.j2
parent0da8dc16fb26e9df5d0efd7c7a463e354d8e00cf (diff)
Running application
Diffstat (limited to 'app/templates/index.j2')
-rw-r--r--app/templates/index.j213
1 files changed, 13 insertions, 0 deletions
diff --git a/app/templates/index.j2 b/app/templates/index.j2
new file mode 100644
index 0000000..ce0d531
--- /dev/null
+++ b/app/templates/index.j2
@@ -0,0 +1,13 @@
+{% from "macros.j2" import header, footer, navbar %}
+<!doctype html>
+<html lang="en">
+ {{ header(url_for) }}
+ <body>
+ <section class="section">
+ {{ navbar(url_for) }}
+ <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>