mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
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>
This commit is contained in:
@@ -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>
|
||||
|
@@ -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}}
|
||||
|
Reference in New Issue
Block a user