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
This commit is contained in:
		
							parent
							
								
									d751e35d81
								
							
						
					
					
						commit
						802c5313e1
					
				| 
						 | 
					@ -0,0 +1 @@
 | 
				
			||||||
 | 
					<svg viewBox="0 0 449 448" class="svg fontawesome-send" width="16" height="16" aria-hidden="true"><path d="M441 2.8c5.3 3.7 7.8 9.7 6.8 16l-64 384A16 16 0 0 1 368 416c-2 0-4-.5-6-1.3l-113.3-46.2-60.4 73.8c-3 3.7-7.6 5.7-12.3 5.7a16 16 0 0 1-16-16v-87.3L376 80 108.7 311.3 10 270.6a15.8 15.8 0 0 1-2-28.4l416-240c2.5-1.5 5.3-2.3 8-2.3 3.3 0 6.5 1 9 2.8z"/></svg>
 | 
				
			||||||
| 
		 After Width: | Height: | Size: 361 B  | 
| 
						 | 
					@ -76,15 +76,13 @@
 | 
				
			||||||
								<table class="ui celled table">
 | 
													<table class="ui celled table">
 | 
				
			||||||
									<thead>
 | 
														<thead>
 | 
				
			||||||
										<tr>
 | 
															<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"}}
 | 
																<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"}}
 | 
																<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>
 | 
																<span class="tooltip vm" data-content="{{.locale.Tr "org.teams.read_access_helper"}}">{{svg "octicon-question" 16 "ml-2"}}</span></th>
 | 
				
			||||||
											</th>
 | 
					 | 
				
			||||||
											<th class="center aligned">{{.locale.Tr "org.teams.write_access"}}
 | 
																<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>
 | 
																<span class="tooltip vm" data-content="{{.locale.Tr "org.teams.write_access_helper"}}">{{svg "octicon-question" 16 "ml-2"}}</span></th>
 | 
				
			||||||
											</th>
 | 
					 | 
				
			||||||
										</tr>
 | 
															</tr>
 | 
				
			||||||
									</thead>
 | 
														</thead>
 | 
				
			||||||
									<tbody>
 | 
														<tbody>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -19,7 +19,7 @@
 | 
				
			||||||
									{{$.locale.Tr "settings.delete_token"}}
 | 
														{{$.locale.Tr "settings.delete_token"}}
 | 
				
			||||||
								</button>
 | 
													</button>
 | 
				
			||||||
						</div>
 | 
											</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">
 | 
											<div class="content">
 | 
				
			||||||
							<strong>{{.Name}}</strong>
 | 
												<strong>{{.Name}}</strong>
 | 
				
			||||||
							<div class="activity meta">
 | 
												<div class="activity meta">
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -21,7 +21,7 @@
 | 
				
			||||||
							{{$.locale.Tr "settings.delete_key"}}
 | 
												{{$.locale.Tr "settings.delete_key"}}
 | 
				
			||||||
						</button>
 | 
											</button>
 | 
				
			||||||
					</div>
 | 
										</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">
 | 
										<div class="content">
 | 
				
			||||||
						<strong>{{.Name}}</strong>
 | 
											<strong>{{.Name}}</strong>
 | 
				
			||||||
						<div class="activity meta">
 | 
											<div class="activity meta">
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1 @@
 | 
				
			||||||
 | 
					<svg xmlns="http://www.w3.org/2000/svg" width="449" height="448" viewBox="0 0 449 448"><path d="M441 2.8c5.3 3.7 7.8 9.7 6.8 16l-64 384A16 16 0 0 1 368 416c-2 0-4-.5-6-1.3l-113.3-46.2-60.4 73.8c-3 3.7-7.6 5.7-12.3 5.7a16 16 0 0 1-16-16v-87.3L376 80 108.7 311.3 10 270.6a15.8 15.8 0 0 1-2-28.4l416-240c2.5-1.5 5.3-2.3 8-2.3 3.3 0 6.5 1 9 2.8z"/></svg>
 | 
				
			||||||
| 
		 After Width: | Height: | Size: 350 B  | 
		Loading…
	
		Reference in New Issue