From c9b4eee4c589b8b40c02d0c96f887ec991580a24 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 6 Apr 2025 09:33:11 +0800 Subject: Restructure static/templates into forged --- forged/templates/_group_view.tmpl | 56 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 forged/templates/_group_view.tmpl (limited to 'forged/templates/_group_view.tmpl') diff --git a/forged/templates/_group_view.tmpl b/forged/templates/_group_view.tmpl new file mode 100644 index 0000000..92b6639 --- /dev/null +++ b/forged/templates/_group_view.tmpl @@ -0,0 +1,56 @@ +{{/* + SPDX-License-Identifier: AGPL-3.0-only + SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu +*/}} +{{- define "group_view" -}} +{{- if .subgroups -}} + + + + + + + + + + + + {{- range .subgroups -}} + + + + + {{- end -}} + +
Subgroups
NameDescription
+ {{- .Name -}} + + {{- .Description -}} +
+{{- end -}} +{{- if .repos -}} + + + + + + + + + + + + {{- range .repos -}} + + + + + {{- end -}} + +
Repos
NameDescription
+ {{- .Name -}} + + {{- .Description -}} +
+{{- end -}} +{{- end -}} -- cgit v1.2.3