aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/settings
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/settings')
-rw-r--r--templates/repo/settings/lfs_pointers.tmpl6
-rw-r--r--templates/repo/settings/webhook/list.tmpl9
2 files changed, 8 insertions, 7 deletions
diff --git a/templates/repo/settings/lfs_pointers.tmpl b/templates/repo/settings/lfs_pointers.tmpl
index 8a50c1bdf8..bf23062ae3 100644
--- a/templates/repo/settings/lfs_pointers.tmpl
+++ b/templates/repo/settings/lfs_pointers.tmpl
@@ -58,9 +58,9 @@
<td>
<a class="ui blue show-panel button" href="{{$.LFSFilesLink}}/find?oid={{.Oid}}&size={{.Size}}&sha={{.SHA}}">{{$.i18n.Tr "repo.settings.lfs_findcommits"}}</a>
</td>
- <td><i class="fa fa{{if .InRepo}}-check{{end}}-square-o"></i></td>
- <td><i class="fa fa{{if .Exists}}-check{{end}}-square-o"></i></td>
- <td><i class="fa fa{{if .Accessible}}-check{{end}}-square-o"></i></td>
+ <td>{{if .InRepo}}{{svg "octicon-check"}}{{else}}{{svg "octicon-x"}}{{end}}</td>
+ <td>{{if .Exists}}{{svg "octicon-check"}}{{else}}{{svg "octicon-x"}}{{end}}</td>
+ <td>{{if .Accessible}}{{svg "octicon-check"}}{{else}}{{svg "octicon-x"}}{{end}}</td>
</tr>
{{end}}
</tbody>
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}}