aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/settings/webhook/list.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/settings/webhook/list.tmpl')
-rw-r--r--templates/repo/settings/webhook/list.tmpl9
1 files changed, 5 insertions, 4 deletions
diff --git a/templates/repo/settings/webhook/list.tmpl b/templates/repo/settings/webhook/list.tmpl
index 47ed37cc33..2bff27a76b 100644
--- a/templates/repo/settings/webhook/list.tmpl
+++ b/templates/repo/settings/webhook/list.tmpl
@@ -41,19 +41,20 @@
<div class="item">
{{.Description | Str2html}}
</div>
+ <div class="ui divider"></div>
{{range .Webhooks}}
- <div class="item">
+ <div class="item p-2">
{{if eq .LastStatus 1}}
<span class="text green">{{svg "octicon-check"}}</span>
{{else if eq .LastStatus 2}}
<span class="text red">{{svg "octicon-alert"}}</span>
{{else}}
- <span class="text grey">{{svg "octicon-dot-fill"}}</span>
+ <span class="text grey mr-3">{{svg "octicon-dot-fill"}}</span>
{{end}}
<a class="dont-break-out" href="{{$.BaseLink}}/{{.ID}}">{{.URL}}</a>
<div class="ui right">
- <span class="text blue"><a href="{{$.BaseLink}}/{{.ID}}"><i class="fa fa-pencil"></i></a></span>
- <span class="text red"><a class="delete-button" data-url="{{$.Link}}/delete" data-id="{{.ID}}"><i class="fa fa-times"></i></a></span>
+ <span class="text blue px-2"><a href="{{$.BaseLink}}/{{.ID}}">{{svg "octicon-pencil"}}</a></span>
+ <span class="text red px-2"><a class="delete-button" data-url="{{$.Link}}/delete" data-id="{{.ID}}">{{svg "octicon-trashcan"}}</a></span>
</div>
</div>
{{end}}