aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/settings/webhook
diff options
context:
space:
mode:
authorCirno the Strongest <1447794+CirnoT@users.noreply.github.com>2020-12-16 19:22:21 +0100
committerGitHub <noreply@github.com>2020-12-16 19:22:21 +0100
commit5f55bab70ef40eb6a9b4b45685a9e94605826c03 (patch)
tree3d78e01a78c1d5d092f76df573a2720b36c248cd /templates/repo/settings/webhook
parent53308de0bf6880798666a98cbc2df6c7be527f50 (diff)
downloadgitea-5f55bab70ef40eb6a9b4b45685a9e94605826c03.tar.gz
gitea-5f55bab70ef40eb6a9b4b45685a9e94605826c03.zip
Fix webhook list styling (#14001)
* Fix webhook list styling * As per @silverwind
Diffstat (limited to 'templates/repo/settings/webhook')
-rw-r--r--templates/repo/settings/webhook/list.tmpl7
1 files changed, 3 insertions, 4 deletions
diff --git a/templates/repo/settings/webhook/list.tmpl b/templates/repo/settings/webhook/list.tmpl
index 2bff27a76b..02a3bcad66 100644
--- a/templates/repo/settings/webhook/list.tmpl
+++ b/templates/repo/settings/webhook/list.tmpl
@@ -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}}