aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-02-13 10:54:01 +0800
committerRunxi Yu <me@runxiyu.org>2025-02-13 10:54:01 +0800
commitd8cfbf4d10788ef0f3bf730d824734c496602b0c (patch)
tree9b8a1d14db8022a83921c3de89a98b085d23b52d /templates
parentrepo_log: Scrollable view (diff)
downloadforge-d8cfbf4d10788ef0f3bf730d824734c496602b0c.tar.gz
forge-d8cfbf4d10788ef0f3bf730d824734c496602b0c.tar.zst
forge-d8cfbf4d10788ef0f3bf730d824734c496602b0c.zip
group_index: Use table list
Diffstat (limited to 'templates')
-rw-r--r--templates/group_repos.html.tmpl23
1 files changed, 15 insertions, 8 deletions
diff --git a/templates/group_repos.html.tmpl b/templates/group_repos.html.tmpl
index c9c12fd..3166565 100644
--- a/templates/group_repos.html.tmpl
+++ b/templates/group_repos.html.tmpl
@@ -8,16 +8,23 @@
<body class="group-repos">
{{ template "header" . }}
<div class="padding-wrapper">
- <h1>
- Repos in {{ .group_name }}
- </h1>
- <ul>
+ <table class="wide">
+ <thead>
+ <tr>
+ <th colspan="2" class="title-row">Repos in {{ .group_name }}</th>
+ </tr>
+ </thead>
+ <tbody>
{{- range .repos }}
- <li>
- <a href="{{ . }}/">{{ . }}</a>
- </li>
+ <td>
+ <a href="{{ .Name }}/">{{ .Name }}</a>
+ </td>
+ <td>
+ {{ .Description }}
+ </td>
{{- end }}
- </ul>
+ </tbody>
+ </table>
</div>
<footer>
{{ template "footer" . }}