From a3f04f9adb5ca63c8b0cc06ba75946176643c8d9 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Thu, 13 Feb 2025 10:37:39 +0800 Subject: [PATCH] repo_log: Scrollable view --- templates/repo_log.html.tmpl | 52 +++++++++++++++++++++++++++------------------------- diff --git a/templates/repo_log.html.tmpl b/templates/repo_log.html.tmpl index e25f2bd6fe7b6bea08d349c87fb2f165482c552f..0ad6f39f610bacfb774da6f3bcdfe4c25a345ffa 100644 --- a/templates/repo_log.html.tmpl +++ b/templates/repo_log.html.tmpl @@ -7,33 +7,35 @@ Log of {{ .group_name }}/repos/{{ .repo_name }} – Lindenii Forge {{ template "header" . }} - - - - - - - - - - - - - - {{- range .commits }} +
+
Commits on {{ .ref }}
IDTitleAuthorTime
+ + + + - - - - + + + + - {{- end }} - -
Commits on {{ .ref }}
{{ .ID }}{{ .Message | first_line }} - - - {{ .Author.When.Format "2006-01-02 15:04:05 -0700" }} - IDTitleAuthorTime
+ + + {{- range .commits }} + + {{ .ID }} + {{ .Message | first_line }} + + {{ .Author.Name }} + + + {{ .Author.When.Format "2006-01-02 15:04:05 -0700" }} + + + {{- end }} + + + -- 2.48.1