From 802c5313e1124ee21a082657f6d028a26624862b Mon Sep 17 00:00:00 2001 From: silverwind Date: Wed, 10 Aug 2022 18:30:40 +0200 Subject: [PATCH] Replace some icons with SVG (#20741) - Replace some icons with SVG - Create teams help page - Application and SSH keys icons - Add new icon for app token - Use fontawesom-send --- public/img/svg/fontawesome-send.svg | 1 + templates/org/team/new.tmpl | 10 ++++------ templates/user/settings/applications.tmpl | 2 +- templates/user/settings/keys_principal.tmpl | 2 +- web_src/svg/fontawesome-send.svg | 1 + 5 files changed, 8 insertions(+), 8 deletions(-) create mode 100644 public/img/svg/fontawesome-send.svg create mode 100644 web_src/svg/fontawesome-send.svg diff --git a/public/img/svg/fontawesome-send.svg b/public/img/svg/fontawesome-send.svg new file mode 100644 index 000000000..b1170fd9e --- /dev/null +++ b/public/img/svg/fontawesome-send.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/templates/org/team/new.tmpl b/templates/org/team/new.tmpl index 019454f54..e5266f13c 100644 --- a/templates/org/team/new.tmpl +++ b/templates/org/team/new.tmpl @@ -76,15 +76,13 @@ - + + {{svg "octicon-question" 16 "ml-2"}} + {{svg "octicon-question" 16 "ml-2"}} + {{svg "octicon-question" 16 "ml-2"}} diff --git a/templates/user/settings/applications.tmpl b/templates/user/settings/applications.tmpl index 063358f0c..9125f4bd0 100644 --- a/templates/user/settings/applications.tmpl +++ b/templates/user/settings/applications.tmpl @@ -19,7 +19,7 @@ {{$.locale.Tr "settings.delete_token"}} - + {{svg "fontawesome-send" 36}}
{{.Name}}
diff --git a/templates/user/settings/keys_principal.tmpl b/templates/user/settings/keys_principal.tmpl index 0ebc46c4a..569921446 100644 --- a/templates/user/settings/keys_principal.tmpl +++ b/templates/user/settings/keys_principal.tmpl @@ -21,7 +21,7 @@ {{$.locale.Tr "settings.delete_key"}}
- + {{svg "octicon-key" 36}}
{{.Name}}
diff --git a/web_src/svg/fontawesome-send.svg b/web_src/svg/fontawesome-send.svg new file mode 100644 index 000000000..c02090fd1 --- /dev/null +++ b/web_src/svg/fontawesome-send.svg @@ -0,0 +1 @@ + \ No newline at end of file
{{.locale.Tr "units.unit"}}{{.locale.Tr "units.unit"}} {{.locale.Tr "org.teams.none_access"}} - {{.locale.Tr "org.teams.read_access"}} - - {{.locale.Tr "org.teams.write_access"}} - -