From 5e85cdad29aaca31e40ca2238974f9e3a0ecb1c0 Mon Sep 17 00:00:00 2001 From: silverwind Date: Tue, 20 Apr 2021 06:13:03 +0200 Subject: [PATCH] Project board improvements (#15429) * Project board improvements - Fix link colors - Extract CSS to own file - Various minor tweaks to make it look better Fixes: https://github.com/go-gitea/gitea/issues/15424 Fixes: https://github.com/go-gitea/gitea/issues/15506 Fixes: https://github.com/go-gitea/gitea/pull/15511 * fix squashed cards on small view area * more css fixes, add second row from issue list Co-authored-by: Lunny Xiao Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: techknowlogick --- templates/repo/projects/view.tmpl | 56 ++++++++++------ web_src/js/features/projects.js | 2 + web_src/less/_base.less | 22 +++++-- web_src/less/_repository.less | 76 ---------------------- web_src/less/features/projects.less | 83 ++++++++++++++++++++++++ web_src/less/index.less | 1 + web_src/less/themes/theme-arc-green.less | 5 +- 7 files changed, 141 insertions(+), 104 deletions(-) create mode 100644 web_src/less/features/projects.less diff --git a/templates/repo/projects/view.tmpl b/templates/repo/projects/view.tmpl index aa6abf0511..59939af6b9 100644 --- a/templates/repo/projects/view.tmpl +++ b/templates/repo/projects/view.tmpl @@ -73,13 +73,13 @@ {{ range $board := .Boards }}
-
-
{{.Title}}
+
+
{{.Title}}
{{if and $.CanWriteProjects (not $.Repository.IsArchived) $.PageIsProjects (ne .ID 0)}} -