aboutsummaryrefslogtreecommitdiffstats
path: root/templates/admin
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-10-21 23:07:33 +0200
committerGitHub <noreply@github.com>2020-10-21 22:07:33 +0100
commit83106c166d8708f6ce5fd5c65ce4a4ad6943c48d (patch)
treed083d90e21f9c18495e02c62f0e3eeeb0dd97f91 /templates/admin
parenta06ea38207982fa5b51fc98f4107ac9bbaf97d1d (diff)
downloadgitea-83106c166d8708f6ce5fd5c65ce4a4ad6943c48d.tar.gz
gitea-83106c166d8708f6ce5fd5c65ce4a4ad6943c48d.zip
Replace footer and modal icons with SVG (#13245)
- Replace two font icons with SVG in the footer - Replace icons in delete modals with SVG - Horizontally center message text in modals
Diffstat (limited to 'templates/admin')
-rw-r--r--templates/admin/auth/edit.tmpl2
-rw-r--r--templates/admin/repo/list.tmpl2
-rw-r--r--templates/admin/user/edit.tmpl2
3 files changed, 3 insertions, 3 deletions
diff --git a/templates/admin/auth/edit.tmpl b/templates/admin/auth/edit.tmpl
index e6c5cf2578..e182bbc858 100644
--- a/templates/admin/auth/edit.tmpl
+++ b/templates/admin/auth/edit.tmpl
@@ -333,7 +333,7 @@
<div class="ui small basic delete modal">
<div class="ui icon header">
- <i class="trash icon"></i>
+ {{svg "octicon-trashcan"}}
{{.i18n.Tr "admin.auths.delete_auth_title"}}
</div>
<div class="content">
diff --git a/templates/admin/repo/list.tmpl b/templates/admin/repo/list.tmpl
index 51e329e038..df38831b6d 100644
--- a/templates/admin/repo/list.tmpl
+++ b/templates/admin/repo/list.tmpl
@@ -72,7 +72,7 @@
<div class="ui small basic delete modal">
<div class="ui icon header">
- <i class="trash icon"></i>
+ {{svg "octicon-trashcan"}}
{{.i18n.Tr "repo.settings.delete"}}
</div>
<div class="content">
diff --git a/templates/admin/user/edit.tmpl b/templates/admin/user/edit.tmpl
index 95323a97b2..66f3c96711 100644
--- a/templates/admin/user/edit.tmpl
+++ b/templates/admin/user/edit.tmpl
@@ -123,7 +123,7 @@
<div class="ui small basic delete modal">
<div class="ui icon header">
- <i class="trash icon"></i>
+ {{svg "octicon-trashcan"}}
{{.i18n.Tr "settings.delete_account_title"}}
</div>
<div class="content">