mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	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:
		@@ -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">
 | 
			
		||||
 
 | 
			
		||||
@@ -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>
 | 
			
		||||
 
 | 
			
		||||
@@ -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">
 | 
			
		||||
 
 | 
			
		||||
@@ -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>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user