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 icon header">
<i class="globe icon"></i>
{{svg "octicon-globe"}}
{{.locale.Tr "org.teams.add_all_repos_title"}}
</div>
<div class="content">

View File

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

View File

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

View File

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