mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Remove font-awesome
and fomantic icon
module (#24471)
Fixes https://github.com/go-gitea/gitea/issues/10410. This PR removes around 120kB of CSS.
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
{{template "base/head" .}}
|
||||
<div class="page-content repository">
|
||||
{{template "repo/header" .}}
|
||||
|
||||
<div class="ui container">
|
||||
<div class="ui stackable grid">
|
||||
<div class="four wide column">
|
||||
@@ -12,7 +11,7 @@
|
||||
<a class="item{{if eq .Entry.Name $.CurWorkflow}} active{{end}}" href="{{$.Link}}?workflow={{.Entry.Name}}">{{.Entry.Name}}
|
||||
{{if .ErrMsg}}
|
||||
<span data-tooltip-content="{{.ErrMsg}}">
|
||||
<i class="warning icon red"></i>
|
||||
{{svg "octicon-alert" 16 "text red"}}
|
||||
</span>
|
||||
{{end}}
|
||||
</a>
|
||||
|
@@ -57,7 +57,7 @@
|
||||
{{.locale.Tr "cancel"}}
|
||||
</button>
|
||||
<button class="ui primary small approve button">
|
||||
<i class="save icon"></i>
|
||||
{{svg "fontawesome-save"}}
|
||||
{{.locale.Tr "save"}}
|
||||
</button>
|
||||
</div>
|
||||
|
@@ -249,7 +249,7 @@
|
||||
{{$.locale.Tr "repo.pulls.require_signed_wont_sign"}}
|
||||
</div>
|
||||
<div class="item">
|
||||
<i class="icon unlock"></i>
|
||||
<i class="icon icon-octicon">{{svg "octicon-unlock"}}</i>
|
||||
{{$.locale.Tr (printf "repo.signing.wont_sign.%s" .WontSignReason)}}
|
||||
</div>
|
||||
{{end}}
|
||||
@@ -274,12 +274,12 @@
|
||||
{{end}}
|
||||
{{if .WillSign}}
|
||||
<div class="item">
|
||||
<i class="icon lock green"></i>
|
||||
<i class="icon icon-octicon">{{svg "octicon-lock" 16 "text green"}}</i>
|
||||
{{$.locale.Tr "repo.signing.will_sign" .SigningKey}}
|
||||
</div>
|
||||
{{else if .IsSigned}}
|
||||
<div class="item">
|
||||
<i class="icon unlock"></i>
|
||||
<i class="icon icon-octicon">{{svg "octicon-unlock"}}</i>
|
||||
{{$.locale.Tr (printf "repo.signing.wont_sign.%s" .WontSignReason)}}
|
||||
</div>
|
||||
{{end}}
|
||||
|
Reference in New Issue
Block a user