diff options
author | silverwind <me@silverwind.io> | 2020-11-29 16:52:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-29 17:52:11 +0200 |
commit | 295fc99607915d85141fd16099d2d9f59a7ee977 (patch) | |
tree | 89eec5bc2e3fbdd28be4fa63065d2022894dc7f1 /templates/shared/issuelist.tmpl | |
parent | e00a3554279d314a4dab4ce11bdd86707201d0d2 (diff) | |
download | gitea-295fc99607915d85141fd16099d2d9f59a7ee977.tar.gz gitea-295fc99607915d85141fd16099d2d9f59a7ee977.zip |
Markdown and Repo header tweaks (#13744)
* Markdown and Repo header tweaks
- Use CSS vars for all markdown colors
- Tweak repo header, removing double borders and adjust sizes
- Use menu instead of buttons for issue open/close switcher
- Add emoji inversion for select emoji glyphs in arc-green
- Use border over box-shadow for all buttons
- Add spacing element to login form without openid
* repo settings navbar fix
* use shared template in more places and adjust dashboard
* fix remaining open/close combos
Diffstat (limited to 'templates/shared/issuelist.tmpl')
-rw-r--r-- | templates/shared/issuelist.tmpl | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/templates/shared/issuelist.tmpl b/templates/shared/issuelist.tmpl index beb78a5491..ddba083b59 100644 --- a/templates/shared/issuelist.tmpl +++ b/templates/shared/issuelist.tmpl @@ -22,9 +22,9 @@ {{end}} {{else}} {{if .IsClosed}} - {{svg "octicon-issue-opened" 16 "text red"}} + {{svg "octicon-issue-closed" 16 "text red"}} {{else}} - {{svg "octicon-issue-closed" 16 "text green"}} + {{svg "octicon-issue-opened" 16 "text green"}} {{end}} {{end}} </div> @@ -74,7 +74,10 @@ {{end}} {{if ne .DeadlineUnix 0}} <span class="due-date poping up" data-content="{{$.i18n.Tr "repo.issues.due_date"}}" data-variation="tiny inverted" data-position="right center"> - {{svg "octicon-calendar" 14 "mr-2"}}<span{{if .IsOverdue}} class="overdue"{{end}}>{{.DeadlineUnix.FormatShort}}</span> + <span{{if .IsOverdue}} class="overdue"{{end}}> + {{svg "octicon-calendar" 14 "mr-2"}} + {{.DeadlineUnix.FormatShort}} + </span> </span> {{end}} {{if .IsPull}} |