aboutsummaryrefslogtreecommitdiff
path: root/templates/group_repos.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/group_repos.tmpl')
-rw-r--r--templates/group_repos.tmpl36
1 files changed, 36 insertions, 0 deletions
diff --git a/templates/group_repos.tmpl b/templates/group_repos.tmpl
new file mode 100644
index 0000000..8c95c91
--- /dev/null
+++ b/templates/group_repos.tmpl
@@ -0,0 +1,36 @@
+{{- define "group_repos" -}}
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ {{ template "head_common" . }}
+ <title>Repos in {{ .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 -}}