From 0ab4aed16f103c8739c9d09c869531a6bad28587 Mon Sep 17 00:00:00 2001 From: Akshay Date: Wed, 30 Apr 2025 14:29:15 +0100 Subject: [PATCH] appview: repo/log: minor UI tweaks --- appview/pages/templates/repo/log.html | 38 ++++++++++++--------------- 1 file changed, 17 insertions(+), 21 deletions(-) diff --git a/appview/pages/templates/repo/log.html b/appview/pages/templates/repo/log.html index 59cbd109..d6ae3627 100644 --- a/appview/pages/templates/repo/log.html +++ b/appview/pages/templates/repo/log.html @@ -1,9 +1,10 @@ {{ define "title" }}commits · {{ .RepoInfo.FullName }}{{ end }} + {{ define "repoContent" }}
- + @@ -37,20 +38,13 @@ @@ -92,7 +86,6 @@ {{ i "folder-code" "w-4 h-4" }} - @@ -120,9 +113,12 @@ - {{ $commits_len := len .Commits }} -
- {{ if gt .Page 1 }}{{ i "chevron-left" "w-4 h-4" }} previous{{ else }}
{{ end }} - {{ if eq $commits_len 60 }}next {{ i "chevron-right" "w-4 h-4" }}{{ end }} -
+{{ end }} + +{{ define "repoAfter" }} + {{ $commits_len := len .Commits }} +
+ {{ if gt .Page 1 }}{{ i "chevron-left" "w-4 h-4" }} previous{{ else }}
{{ end }} + {{ if eq $commits_len 60 }}next {{ i "chevron-right" "w-4 h-4" }}{{ end }} +
{{ end }} -- 2.51.2