From f1e008670cd865520eb5f21fe6e7b56f02076a23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?William=20Herg=C3=A8s?= Date: Mon, 27 Oct 2025 13:32:39 +0100 Subject: feat(config): supports multiple sections --- backend/templates/home.html | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'backend/templates/home.html') diff --git a/backend/templates/home.html b/backend/templates/home.html index 7a76e48..ce4f4e8 100644 --- a/backend/templates/home.html +++ b/backend/templates/home.html @@ -4,6 +4,10 @@

logs

{{ .PageDescription }}

+ {{ range .Sections }} +
{{ template "logs_display" . }} +
+ {{ end }} {{end}} -- cgit v1.2.3 From ef3f8de38795a92dfc5d232a533c37d53794f1c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?William=20Herg=C3=A8s?= Date: Mon, 27 Oct 2025 13:44:41 +0100 Subject: fix(section): cannot execute home_logs --- backend/templates/home.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'backend/templates/home.html') diff --git a/backend/templates/home.html b/backend/templates/home.html index ce4f4e8..3ff9ce3 100644 --- a/backend/templates/home.html +++ b/backend/templates/home.html @@ -1,12 +1,14 @@ {{define "body"}}
-

logs

+

{{ .Name }}

{{ .PageDescription }}

{{ range .Sections }}
- {{ template "logs_display" . }} +

{{ .Name }}

+

{{ .Description }}

+ {{ template "logs_display" . }}
{{ end }}
-- cgit v1.2.3 From 8d000018e132583bf4797ac9cb4ce2c4e96ed8ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?William=20Herg=C3=A8s?= Date: Mon, 27 Oct 2025 14:40:26 +0100 Subject: feat(section): display paginate in full list --- backend/templates/home.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend/templates/home.html') diff --git a/backend/templates/home.html b/backend/templates/home.html index 3ff9ce3..d5dbb28 100644 --- a/backend/templates/home.html +++ b/backend/templates/home.html @@ -8,7 +8,7 @@

{{ .Name }}

{{ .Description }}

- {{ template "logs_display" . }} + {{ template "section_display" . }}
{{ end }} -- cgit v1.2.3 From 1e2ad3a8f8cd2c12786b92210616325a33d1b209 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?William=20Herg=C3=A8s?= Date: Mon, 27 Oct 2025 17:32:41 +0100 Subject: feat(home): better display of sections --- backend/templates/home.html | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'backend/templates/home.html') diff --git a/backend/templates/home.html b/backend/templates/home.html index d5dbb28..d574525 100644 --- a/backend/templates/home.html +++ b/backend/templates/home.html @@ -4,12 +4,14 @@

{{ .Name }}

{{ .PageDescription }}

- {{ range .Sections }} -
-

{{ .Name }}

-

{{ .Description }}

- {{ template "section_display" . }} +
+ {{ range .Sections }} +
+

{{ .Name }}

+

{{ .Description }}

+ {{ template "section_display" . }} +
+ {{ end }}
- {{ end }} {{end}} -- cgit v1.2.3