aboutsummaryrefslogtreecommitdiff
path: root/templates/group_repos.tmpl
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-06 15:17:57 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-06 20:07:48 +0800
commit8ed0dbe4201a58b00d6f3743178f4cbe5328e2b0 (patch)
treea2f33fccac42b554b1176741d00c1d0cd2d0dceb /templates/group_repos.tmpl
parentsql: Add purge and test scripts (diff)
downloadforge-8ed0dbe4201a58b00d6f3743178f4cbe5328e2b0.tar.gz
forge-8ed0dbe4201a58b00d6f3743178f4cbe5328e2b0.tar.zst
forge-8ed0dbe4201a58b00d6f3743178f4cbe5328e2b0.zip
*: Support subgroups via SQL recursion
Diffstat (limited to 'templates/group_repos.tmpl')
-rw-r--r--templates/group_repos.tmpl40
1 files changed, 0 insertions, 40 deletions
diff --git a/templates/group_repos.tmpl b/templates/group_repos.tmpl
deleted file mode 100644
index 3eae4f4..0000000
--- a/templates/group_repos.tmpl
+++ /dev/null
@@ -1,40 +0,0 @@
-{{/*
- SPDX-License-Identifier: AGPL-3.0-only
- SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
-*/}}
-{{- define "group_repos" -}}
-<!DOCTYPE html>
-<html lang="en">
- <head>
- {{ template "head_common" . }}
- <title>Repos &ndash; {{ .group_name }} &ndash; {{ .global.forge_title }}</title>
- </head>
- <body class="group-repos">
- {{ template "header" . }}
- <div class="padding-wrapper">
- <table class="wide">
- <thead>
- <tr>
- <th colspan="2" class="title-row">Repos in {{ .group_name }}</th>
- </tr>
- </thead>
- <tbody>
- {{- range .repos }}
- <tr>
- <td>
- <a href="{{ .Name }}/">{{ .Name }}</a>
- </td>
- <td>
- {{ .Description }}
- </td>
- </tr>
- {{- end }}
- </tbody>
- </table>
- </div>
- <footer>
- {{ template "footer" . }}
- </footer>
- </body>
-</html>
-{{- end -}}