From 8ed0dbe4201a58b00d6f3743178f4cbe5328e2b0 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Thu, 6 Mar 2025 15:17:57 +0800 Subject: *: Support subgroups via SQL recursion --- templates/index.tmpl | 37 +++++++++++++++++-------------------- 1 file changed, 17 insertions(+), 20 deletions(-) (limited to 'templates/index.tmpl') diff --git a/templates/index.tmpl b/templates/index.tmpl index c3b8bef..2e039a9 100644 --- a/templates/index.tmpl +++ b/templates/index.tmpl @@ -12,28 +12,25 @@ {{ template "header" . }}
- - +
+ + + + + + + {{- range .groups }} - + + - - - {{- range .groups }} - - - - - {{- end }} - -
Groups
- Groups - + {{ .Name }} + + {{ .Description }} +
- {{ .Name }} - - {{ .Description }} -
-
+ {{- end }} + +
-- cgit v1.2.3