diff options
author | silverwind <me@silverwind.io> | 2020-12-09 20:03:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-09 14:03:19 -0500 |
commit | c85bb6263503ebd335863f413214a775973a1fac (patch) | |
tree | 4264266101a847d0895d6c9ad6442f9cb240b1db /templates/repo/settings | |
parent | 6edfa6bc88ed73fc5a31f1b2fe9f5587c932ada7 (diff) | |
download | gitea-c85bb6263503ebd335863f413214a775973a1fac.tar.gz gitea-c85bb6263503ebd335863f413214a775973a1fac.zip |
Replace more icons with SVG, repo search tweaks (#13860)
* Replace more icons with SVG
- Replace remaining icons on admin page with SVG
- Fix vertical menu background on arc-green
- Minor improvments to frontpage repo search
- More icon replacements here and there
* fix integration
* whitespace tweak
* add comment
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'templates/repo/settings')
-rw-r--r-- | templates/repo/settings/lfs_pointers.tmpl | 6 | ||||
-rw-r--r-- | templates/repo/settings/webhook/list.tmpl | 9 |
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}} |