From e782f36f196006f4fad6747811a5c883151e5102 Mon Sep 17 00:00:00 2001 From: Derek Stevens Date: Tue, 31 Jan 2023 21:28:42 -0700 Subject: add style tweaks Signed-off-by: Derek Stevens --- templates/commit.html | 6 +++--- templates/file.html | 20 ++++++++++++-------- templates/log.html | 4 ++-- templates/repo.html | 4 ++-- 4 files changed, 19 insertions(+), 15 deletions(-) (limited to 'templates') diff --git a/templates/commit.html b/templates/commit.html index 2f05b46..4a01b77 100644 --- a/templates/commit.html +++ b/templates/commit.html @@ -11,13 +11,13 @@ {{- .commit.Message -}}
- {{ .commit.Author.Name }} {{ .commit.Author.Email}} + {{ .commit.Author.Name }} {{ .commit.Author.Email}}
{{ .commit.Author.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}
commit -

+

{{ .commit.This }}

@@ -26,7 +26,7 @@ {{ if .commit.Parent }}
parent -

+

{{ .commit.Parent }}

diff --git a/templates/file.html b/templates/file.html index ab432d3..82a3384 100644 --- a/templates/file.html +++ b/templates/file.html @@ -8,18 +8,22 @@ {{ template "nav" . }}

{{ .path }}

-
-
- {{- range .linecount }} + + + + + +
+
+            {{- range .linecount }}
 {{ . }}
-          {{- end -}}
-        
-        
- + {{- end -}} +
+
             {{- .content -}}
           
- +
diff --git a/templates/log.html b/templates/log.html index 4e592b6..1ab6cbc 100644 --- a/templates/log.html +++ b/templates/log.html @@ -14,11 +14,11 @@
{{ range .commits }}
- +
{{ .Message }}
- {{ .Author.Name }} {{ .Author.Email }} + {{ .Author.Name }} {{ .Author.Email }}
{{ .Author.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}
{{ end }} diff --git a/templates/repo.html b/templates/repo.html index 6307fd7..1c700b5 100644 --- a/templates/repo.html +++ b/templates/repo.html @@ -16,11 +16,11 @@
{{ range .commits }}
- {{ .Author.Name }} {{ .Author.Email }} + {{ .Author.Name }} {{ .Author.Email }}
{{ .Author.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}
{{ end }} -- cgit