mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-25 11:22:16 +00:00
Fix table misalignments and tweak webhook and githook lists (#21917)
- Fix regression from #21893 which had misaligned a few tables like repo lists and e-mails - Bring githooks list in line with webhooks list for styling - Change webhook list icons to just colored dots, like githook list - Increase size of dot in webhook and githook list from 16 to 22px
This commit is contained in:
parent
09b7d8198c
commit
b97548a2ee
3 changed files with 13 additions and 13 deletions
|
@ -48,13 +48,7 @@
|
|||
</div>
|
||||
{{range .Webhooks}}
|
||||
<div class="item truncated-item-container">
|
||||
{{if eq .LastStatus 1}}
|
||||
<span class="text green mr-3">{{svg "octicon-check"}}</span>
|
||||
{{else if eq .LastStatus 2}}
|
||||
<span class="text red mr-3">{{svg "octicon-alert"}}</span>
|
||||
{{else}}
|
||||
<span class="text grey mr-3">{{svg "octicon-dot-fill"}}</span>
|
||||
{{end}}
|
||||
<span class="text {{if eq .LastStatus 1}}green{{else if eq .LastStatus 2}}red{{else}}grey{{end}} mr-3">{{svg "octicon-dot-fill" 22}}</span>
|
||||
<a class="text truncate f1 mr-3" title="{{.URL}}" href="{{$.BaseLink}}/{{.ID}}">{{.URL}}</a>
|
||||
<a class="muted p-3" href="{{$.BaseLink}}/{{.ID}}">{{svg "octicon-pencil"}}</a></span>
|
||||
<a class="delete-button p-3" data-url="{{$.Link}}/delete" data-id="{{.ID}}">{{svg "octicon-trash"}}</a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue