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.tmpl | 80 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 forged/templates/group.tmpl (limited to 'forged/templates/group.tmpl') diff --git a/forged/templates/group.tmpl b/forged/templates/group.tmpl new file mode 100644 index 0000000..b15c316 --- /dev/null +++ b/forged/templates/group.tmpl @@ -0,0 +1,80 @@ +{{/* + SPDX-License-Identifier: AGPL-3.0-only + SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu +*/}} +{{- define "group" -}} +{{- $group_path := .group_path -}} + + + + {{- template "head_common" . -}} + {{- range $i, $s := .group_path -}}{{- $s -}}{{- if ne $i (len $group_path) -}}/{{- end -}}{{- end }} – {{ .global.forge_title -}} + + + {{- template "header" . -}} +
+ {{- if .description -}} +

{{- .description -}}

+ {{- end -}} + {{- template "group_view" . -}} +
+ {{- if .direct_access -}} +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Create repo +
Name + +
Description + +
Contrib + +
+
+
+
+
+ +
+
+
+
+
+ {{- end -}} + + + +{{- end -}} -- cgit v1.2.3