From 4efe27ba918e3667d54b68d3cf15accac5889fef Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Tue, 25 Mar 2025 11:16:56 +0800 Subject: Responsive grid for commit and repo info --- templates/repo_commit.tmpl | 63 ++++++++++++++++++++++------------------------ 1 file changed, 30 insertions(+), 33 deletions(-) (limited to 'templates/repo_commit.tmpl') diff --git a/templates/repo_commit.tmpl b/templates/repo_commit.tmpl index 8cf106b..46f5478 100644 --- a/templates/repo_commit.tmpl +++ b/templates/repo_commit.tmpl @@ -12,40 +12,37 @@ {{- template "header" . -}}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Commit info
ID{{- .commit_id -}}
Author{{- .commit_object.Author.Name -}} <{{- .commit_object.Author.Email -}}>
Author date{{- .commit_object.Author.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" -}}
Committer{{- .commit_object.Committer.Name -}} <{{- .commit_object.Committer.Email -}}>
Committer date{{- .commit_object.Committer.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" -}}
Actions
Get patch
+
+
+
Commit info
+ +
ID
+
{{- .commit_id -}}
+ +
Author
+
+ {{- .commit_object.Author.Name -}} <{{- .commit_object.Author.Email -}}>
+ +
Author date
+
{{- .commit_object.Author.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" -}}
+ +
Committer
+
+ {{- .commit_object.Committer.Name -}} <{{- .commit_object.Committer.Email -}}> +
+ +
Committer date
+
{{- .commit_object.Committer.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" -}}
+ +
Actions
+
+ Get patch +
+
+
+
+
{{- .commit_object.Message -}}
-- cgit v1.2.3