From f026c48fd2137336f3a5e0d9bd082d0ff0eda71f Mon Sep 17 00:00:00 2001 From: Anirudh Oppiliappan Date: Wed, 26 Feb 2025 14:06:52 +0200 Subject: [PATCH] more finesse --- appview/pages/templates/layouts/repobase.html | 6 +- appview/pages/templates/layouts/topbar.html | 84 +++++++++++-------- appview/pages/templates/repo/index.html | 2 +- .../pages/templates/repo/issues/issue.html | 16 ++-- appview/pages/templates/repo/log.html | 47 +++++++++-- 5 files changed, 103 insertions(+), 52 deletions(-) diff --git a/appview/pages/templates/layouts/repobase.html b/appview/pages/templates/layouts/repobase.html index f1405742..5dd75561 100644 --- a/appview/pages/templates/layouts/repobase.html +++ b/appview/pages/templates/layouts/repobase.html @@ -8,7 +8,7 @@ class="no-underline hover:underline" >{{ .RepoInfo.OwnerWithAt }} - / + /
-
- -
- {{ with .LoggedInUser }} - - - -
- - {{ didOrHandle .Did .Handle }} - - -
- {{ else }} - - login - - {{ end }} -
-
- + {{ $linkstyle := "text-black hover:text-gray-600 no-underline" }} + {{ end }} diff --git a/appview/pages/templates/repo/index.html b/appview/pages/templates/repo/index.html index 556b9210..3b17fbcf 100644 --- a/appview/pages/templates/repo/index.html +++ b/appview/pages/templates/repo/index.html @@ -38,7 +38,7 @@ {{ .TotalCommits }} diff --git a/appview/pages/templates/repo/issues/issue.html b/appview/pages/templates/repo/issues/issue.html index 03bd077e..2e1602ce 100644 --- a/appview/pages/templates/repo/issues/issue.html +++ b/appview/pages/templates/repo/issues/issue.html @@ -43,23 +43,27 @@
{{ if .Issue.Body }} -
+
{{ .Issue.Body | escapeHtml }}
{{ end }} +{{ end }} -
- +{{ define "repoAfter" }}
{{ range $index, $comment := .Comments }}