summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2022-08-10 18:30:40 +0200
committerGitHub <noreply@github.com>2022-08-10 18:30:40 +0200
commit802c5313e1124ee21a082657f6d028a26624862b (patch)
tree8d506c35152d520b204f5fc44f89963665608e8b /templates
parentd751e35d81d3e9e953ac35e868b9714ba4502f67 (diff)
downloadgitea-802c5313e1124ee21a082657f6d028a26624862b.tar.gz
gitea-802c5313e1124ee21a082657f6d028a26624862b.zip
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
Diffstat (limited to 'templates')
-rw-r--r--templates/org/team/new.tmpl10
-rw-r--r--templates/user/settings/applications.tmpl2
-rw-r--r--templates/user/settings/keys_principal.tmpl2
3 files changed, 6 insertions, 8 deletions
diff --git a/templates/org/team/new.tmpl b/templates/org/team/new.tmpl
index 019454f545..e5266f13c5 100644
--- a/templates/org/team/new.tmpl
+++ b/templates/org/team/new.tmpl
@@ -76,15 +76,13 @@
<table class="ui celled table">
<thead>
<tr>
- <th class="center aligned">{{.locale.Tr "units.unit"}}</th>
+ <th>{{.locale.Tr "units.unit"}}</th>
<th class="center aligned">{{.locale.Tr "org.teams.none_access"}}
- <i class="circle help icon link tooltip" data-content="{{.locale.Tr "org.teams.none_access_helper"}}"></i></th>
+ <span class="tooltip vm" data-content="{{.locale.Tr "org.teams.none_access_helper"}}">{{svg "octicon-question" 16 "ml-2"}}</th>
<th class="center aligned">{{.locale.Tr "org.teams.read_access"}}
- <i class="circle help icon link tooltip" data-content="{{.locale.Tr "org.teams.read_access_helper"}}"></i>
- </th>
+ <span class="tooltip vm" data-content="{{.locale.Tr "org.teams.read_access_helper"}}">{{svg "octicon-question" 16 "ml-2"}}</span></th>
<th class="center aligned">{{.locale.Tr "org.teams.write_access"}}
- <i class="circle help icon link tooltip" data-content="{{.locale.Tr "org.teams.write_access_helper"}}"></i>
- </th>
+ <span class="tooltip vm" data-content="{{.locale.Tr "org.teams.write_access_helper"}}">{{svg "octicon-question" 16 "ml-2"}}</span></th>
</tr>
</thead>
<tbody>
diff --git a/templates/user/settings/applications.tmpl b/templates/user/settings/applications.tmpl
index 063358f0c7..9125f4bd00 100644
--- a/templates/user/settings/applications.tmpl
+++ b/templates/user/settings/applications.tmpl
@@ -19,7 +19,7 @@
{{$.locale.Tr "settings.delete_token"}}
</button>
</div>
- <i class="big send icon tooltip{{if .HasRecentActivity}} green{{end}}" {{if .HasRecentActivity}}data-content="{{$.locale.Tr "settings.token_state_desc"}}"{{end}}></i>
+ <i class="icon tooltip{{if .HasRecentActivity}} green{{end}}" {{if .HasRecentActivity}}data-content="{{$.locale.Tr "settings.token_state_desc"}}"{{end}}>{{svg "fontawesome-send" 36}}</i>
<div class="content">
<strong>{{.Name}}</strong>
<div class="activity meta">
diff --git a/templates/user/settings/keys_principal.tmpl b/templates/user/settings/keys_principal.tmpl
index 0ebc46c4ad..5699214468 100644
--- a/templates/user/settings/keys_principal.tmpl
+++ b/templates/user/settings/keys_principal.tmpl
@@ -21,7 +21,7 @@
{{$.locale.Tr "settings.delete_key"}}
</button>
</div>
- <i class="big send icon tooltip{{if .HasRecentActivity}} green{{end}}" {{if .HasRecentActivity}}data-content="{{$.locale.Tr "settings.principal_state_desc"}}"{{end}}></i>
+ <i class="icon tooltip{{if .HasRecentActivity}} green{{end}}" {{if .HasRecentActivity}}data-content="{{$.locale.Tr "settings.principal_state_desc"}}"{{end}}>{{svg "octicon-key" 36}}</i>
<div class="content">
<strong>{{.Name}}</strong>
<div class="activity meta">