0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 23:33:15 -05:00

Fix webhook list styling (#14001)

* Fix webhook list styling

* As per @silverwind
This commit is contained in:
Cirno the Strongest 2020-12-16 19:22:21 +01:00 committed by GitHub
parent 53308de0bf
commit 5f55bab70e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 4 deletions

View file

@ -41,13 +41,12 @@
<div class="item">
{{.Description | Str2html}}
</div>
<div class="ui divider"></div>
{{range .Webhooks}}
<div class="item p-2">
<div class="item">
{{if eq .LastStatus 1}}
<span class="text green">{{svg "octicon-check"}}</span>
<span class="text green mr-3">{{svg "octicon-check"}}</span>
{{else if eq .LastStatus 2}}
<span class="text red">{{svg "octicon-alert"}}</span>
<span class="text red mr-3">{{svg "octicon-alert"}}</span>
{{else}}
<span class="text grey mr-3">{{svg "octicon-dot-fill"}}</span>
{{end}}

View file

@ -1,4 +1,14 @@
.admin {
&.hooks .list {
> .item {
&:not(:first-child) {
border-top: 1px solid var(--color-secondary);
padding: 1rem;
margin: 15px -1rem -1rem;
}
}
}
.table.segment {
padding: 0;
font-size: 13px;