aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2023-03-21 02:42:02 +0100
committerGitHub <noreply@github.com>2023-03-20 21:42:02 -0400
commit34a2cf5079fb9537d1927ddc57cc3f9267a079fc (patch)
treea0c2982f504c8098773c73a34dd9e92c79965123 /templates
parent45aa4ea7056f5a6cd286715596b64f4163588cd8 (diff)
downloadgitea-34a2cf5079fb9537d1927ddc57cc3f9267a079fc.tar.gz
gitea-34a2cf5079fb9537d1927ddc57cc3f9267a079fc.zip
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.
Diffstat (limited to 'templates')
-rw-r--r--templates/org/team/repositories.tmpl2
-rw-r--r--templates/repo/editor/edit.tmpl6
-rw-r--r--templates/repo/editor/patch.tmpl2
-rw-r--r--templates/user/auth/webauthn.tmpl2
4 files changed, 6 insertions, 6 deletions
diff --git a/templates/org/team/repositories.tmpl b/templates/org/team/repositories.tmpl
index 0391a762fa..c8651761eb 100644
--- a/templates/org/team/repositories.tmpl
+++ b/templates/org/team/repositories.tmpl
@@ -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">
diff --git a/templates/repo/editor/edit.tmpl b/templates/repo/editor/edit.tmpl
index 431033e18e..19c5cb007a 100644
--- a/templates/repo/editor/edit.tmpl
+++ b/templates/repo/editor/edit.tmpl
@@ -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>
diff --git a/templates/repo/editor/patch.tmpl b/templates/repo/editor/patch.tmpl
index 75a8b5d687..97637027bb 100644
--- a/templates/repo/editor/patch.tmpl
+++ b/templates/repo/editor/patch.tmpl
@@ -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">
diff --git a/templates/user/auth/webauthn.tmpl b/templates/user/auth/webauthn.tmpl
index 304d199da2..ea773d2566 100644
--- a/templates/user/auth/webauthn.tmpl
+++ b/templates/user/auth/webauthn.tmpl
@@ -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>