From a3f04f9adb5ca63c8b0cc06ba75946176643c8d9 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Thu, 13 Feb 2025 10:37:39 +0800 Subject: repo_log: Scrollable view --- templates/repo_log.html.tmpl | 52 +++++++++++++++++++++++--------------------- 1 file changed, 27 insertions(+), 25 deletions(-) (limited to 'templates') diff --git a/templates/repo_log.html.tmpl b/templates/repo_log.html.tmpl index e25f2bd..0ad6f39 100644 --- a/templates/repo_log.html.tmpl +++ b/templates/repo_log.html.tmpl @@ -7,33 +7,35 @@ {{ 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 }} + + + -- cgit v1.2.3