From 0de89e6bc6a467b2cc4261ae65464f40119cc0ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?William=20Herg=C3=A8s?= Date: Fri, 3 Oct 2025 18:40:45 +0200 Subject: feat(frontend): use htmx to dynamically navigate between pages --- backend/templates/base.html | 12 ++++++------ backend/templates/components.html | 25 +++++++++++++++++++++++++ backend/templates/home.html | 2 ++ backend/templates/home_log.html | 6 +++++- backend/templates/log.html | 2 +- backend/templates/logs_display.html | 25 ------------------------- backend/templates/simple.html | 6 +++++- 7 files changed, 44 insertions(+), 34 deletions(-) create mode 100644 backend/templates/components.html delete mode 100644 backend/templates/logs_display.html (limited to 'backend/templates') diff --git a/backend/templates/base.html b/backend/templates/base.html index 68d3f8d..fec24ef 100644 --- a/backend/templates/base.html +++ b/backend/templates/base.html @@ -28,14 +28,14 @@
Logo
-{{ if .Article }} -
{{ template "body" . }}
-{{ else }} -
{{ template "body" . }}
-{{ end }} +{{ template "body" . }}