diff --git a/appview/pages/templates/repo/index.html b/appview/pages/templates/repo/index.html index 1bb8bbdd..f7c5bdcc 100644 --- a/appview/pages/templates/repo/index.html +++ b/appview/pages/templates/repo/index.html @@ -144,7 +144,8 @@ {{ end }}
- {{ i $icon $iconStyle }}{{ .Name }} + {{ i $icon $iconStyle "flex-shrink-0" }} + {{ .Name }}
@@ -210,7 +211,7 @@ -
+
{{ $verified := $.VerifiedCommits.IsVerified .Hash.String }} {{ $hashStyle := "text-gray-700 dark:text-gray-300 bg-gray-100 dark:bg-gray-900" }} {{ if $verified }} @@ -280,28 +281,28 @@
{{ range .BranchesTrunc }} -
-
+
+
+ class="inline-block truncate no-underline hover:underline dark:text-white"> {{ .Reference.Name }} {{ if .Commit }} - - {{ template "repo/fragments/time" .Commit.Committer.When }} + + {{ template "repo/fragments/time" .Commit.Committer.When }} {{ end }} {{ if .IsDefault }} - - default + + default {{ end }}
{{ if ne $.Ref .Reference.Name }} {{ i "git-compare" "w-3 h-3" }} compare - {{end}} + {{ end }}
{{ end }}
diff --git a/appview/pages/templates/repo/tree.html b/appview/pages/templates/repo/tree.html index 25882ff0..098a1358 100644 --- a/appview/pages/templates/repo/tree.html +++ b/appview/pages/templates/repo/tree.html @@ -54,24 +54,24 @@ {{ range .Files }}
-
+
{{ $link := printf "/%s/%s/%s/%s/%s" $.RepoInfo.FullName "tree" (urlquery $.Ref) $.TreePath .Name }} {{ $icon := "folder" }} {{ $iconStyle := "size-4 fill-current" }} {{ if .IsFile }} {{ $icon = "file" }} - {{ $iconStyle = "flex-shrink-0 size-4" }} + {{ $iconStyle = "size-4" }} {{ end }}
- {{ i $icon $iconStyle }} + {{ i $icon $iconStyle "flex-shrink-0" }} {{ .Name }}
-