diff options
author | Runxi Yu <me@runxiyu.org> | 2025-02-15 00:32:39 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-02-15 00:32:39 +0800 |
commit | d5416d850c9b697bc8fb189841e1c1e622494f5e (patch) | |
tree | b877df54a6fbef112b0d32796f514b66177c9976 /templates/repo_log.html.tmpl | |
parent | Makefile, resources.go: Add vendor directory to serve library source (diff) | |
download | forge-d5416d850c9b697bc8fb189841e1c1e622494f5e.tar.gz forge-d5416d850c9b697bc8fb189841e1c1e622494f5e.tar.zst forge-d5416d850c9b697bc8fb189841e1c1e622494f5e.zip |
templates: *.html.tmpl -> *.tmpl
Diffstat (limited to 'templates/repo_log.html.tmpl')
-rw-r--r-- | templates/repo_log.html.tmpl | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/templates/repo_log.html.tmpl b/templates/repo_log.html.tmpl deleted file mode 100644 index 6b89cdd..0000000 --- a/templates/repo_log.html.tmpl +++ /dev/null @@ -1,44 +0,0 @@ -{{- define "repo_log" -}} -<!DOCTYPE html> -<html lang="en"> - <head> - {{ template "head_common" . }} - <title>Log of {{ .group_name }}/repos/{{ .repo_name }} – {{ .global.forge_title }}</title> - </head> - <body class="repo-log"> - {{ template "header" . }} - <div class="scroll"> - <table id="commits" class="wide"> - <thead> - <tr class="title-row"> - <th colspan="4">Commits {{ if .ref_name }} on {{ .ref_name }}{{ end }}</th> - </tr> - <tr> - <th scope="col">ID</th> - <th scope="col">Title</th> - <th scope="col">Author</th> - <th scope="col">Time</th> - </tr> - </thead> - <tbody> - {{- range .commits }} - <tr> - <td class="commit-id"><a href="../commit/{{ .ID }}">{{ .ID }}</a></td> - <td class="commit-title">{{ .Message | first_line }}</td> - <td class="commit-author"> - <a class="email-name" href="mailto:{{ .Author.Email }}">{{ .Author.Name }}</a> - </td> - <td class="commit-time"> - {{ .Author.When.Format "2006-01-02 15:04:05 -0700" }} - </td> - </tr> - {{- end }} - </tbody> - </table> - </div> - <footer> - {{ template "footer" . }} - </footer> - </body> -</html> -{{- end -}} |