From cef9f71be7c38800b3f0da78806872dc247d6208 Mon Sep 17 00:00:00 2001 From: Akshay Date: Sat, 29 Mar 2025 09:51:22 +0000 Subject: [PATCH] nicer fg colors on timeline --- appview/pages/templates/user/profile.html | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/appview/pages/templates/user/profile.html b/appview/pages/templates/user/profile.html index bef84217..6f7c763f 100644 --- a/appview/pages/templates/user/profile.html +++ b/appview/pages/templates/user/profile.html @@ -17,17 +17,16 @@ {{ end }} - {{ define "profileTimeline" }}

ACTIVITY

{{ range .ProfileTimeline }} {{ if eq .Type "issue" }}
- {{ $textColor := "text-gray-800 dark:text-gray-700" }} + {{ $textColor := "text-gray-800 dark:text-gray-400" }} {{ $icon := "ban" }} {{ if .Issue.Open }} - {{ $textColor = "text-green-600 dark:text-green-700" }} + {{ $textColor = "text-green-600 dark:text-green-500" }} {{ $icon = "circle-dot" }} {{ end }}
@@ -44,13 +43,13 @@
{{ else if eq .Type "pull" }}
- {{ $textColor := "text-gray-800 dark:text-gray-700" }} + {{ $textColor := "text-gray-800 dark:text-gray-400" }} {{ $icon := "git-pull-request-closed" }} {{ if .Pull.State.IsOpen }} - {{ $textColor = "text-green-600 dark:text-green-700" }} + {{ $textColor = "text-green-600 dark:text-green-500" }} {{ $icon = "git-pull-request" }} {{ else if .Pull.State.IsMerged }} - {{ $textColor = "text-purple-600 dark:text-purple-700" }} + {{ $textColor = "text-purple-600 dark:text-purple-500" }} {{ $icon = "git-merge" }} {{ end }}
@@ -68,7 +67,7 @@
{{ else if eq .Type "repo" }}
-
+
{{ i "book-plus" "w-5 h-5" }}
@@ -79,6 +78,8 @@
{{ end }} + {{ else }} +

This user does not have any activity yet.

{{ end }}
{{ end }} @@ -173,4 +174,4 @@

This user is not collaborating.

{{ end }}
-{{ end }} \ No newline at end of file +{{ end }} -- 2.51.2