1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-21 08:31:27 -05:00

Replace a few fontawesome icons with svg (#23602)

Replaced a few icons with SVG. The only ones left are some in actions
(idk why new code introduces legacy icons) and a few dropdown icons.
This commit is contained in:
silverwind 2023-03-21 02:42:02 +01:00 committed by GitHub
parent 45aa4ea705
commit 34a2cf5079
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 6 deletions

View file

@ -77,7 +77,7 @@
<div class="ui small basic addall modal"> <div class="ui small basic addall modal">
<div class="ui icon header"> <div class="ui icon header">
<i class="globe icon"></i> {{svg "octicon-globe"}}
{{.locale.Tr "org.teams.add_all_repos_title"}} {{.locale.Tr "org.teams.add_all_repos_title"}}
</div> </div>
<div class="content"> <div class="content">

View file

@ -58,7 +58,7 @@
<div class="ui small basic modal" id="edit-empty-content-modal"> <div class="ui small basic modal" id="edit-empty-content-modal">
<div class="ui icon header"> <div class="ui icon header">
<i class="file icon"></i> {{svg "octicon-file"}}
{{.locale.Tr "repo.editor.commit_empty_file_header"}} {{.locale.Tr "repo.editor.commit_empty_file_header"}}
</div> </div>
<div class="center content"> <div class="center content">
@ -66,11 +66,11 @@
</div> </div>
<div class="actions"> <div class="actions">
<button class="ui red basic cancel inverted button"> <button class="ui red basic cancel inverted button">
<i class="remove icon"></i> {{svg "octicon-x"}}
{{.locale.Tr "repo.editor.cancel"}} {{.locale.Tr "repo.editor.cancel"}}
</button> </button>
<button class="ui green basic ok inverted button"> <button class="ui green basic ok inverted button">
<i class="save icon"></i> {{svg "fontawesome-save"}}
{{.locale.Tr "repo.editor.commit_changes"}} {{.locale.Tr "repo.editor.commit_changes"}}
</button> </button>
</div> </div>

View file

@ -38,7 +38,7 @@
<div class="ui small basic modal" id="edit-empty-content-modal"> <div class="ui small basic modal" id="edit-empty-content-modal">
<div class="ui icon header"> <div class="ui icon header">
<i class="file icon"></i> {{svg "octicon-file"}}
{{.locale.Tr "repo.editor.commit_empty_file_header"}} {{.locale.Tr "repo.editor.commit_empty_file_header"}}
</div> </div>
<div class="center content"> <div class="center content">

View file

@ -6,7 +6,7 @@
{{.locale.Tr "twofa"}} {{.locale.Tr "twofa"}}
</h3> </h3>
<div class="ui attached segment"> <div class="ui attached segment">
<i class="huge key icon"></i> {{svg "octicon-key" 56}}
<h3>{{.locale.Tr "webauthn_insert_key"}}</h3> <h3>{{.locale.Tr "webauthn_insert_key"}}</h3>
{{template "base/alert" .}} {{template "base/alert" .}}
<p>{{.locale.Tr "webauthn_sign_in"}}</p> <p>{{.locale.Tr "webauthn_sign_in"}}</p>