mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 20:21:47 +01:00 
			
		
		
		
	
							parent
							
								
									8aee07a064
								
							
						
					
					
						commit
						b758241f28
					
				| @ -64,27 +64,23 @@ | ||||
| 				</tr> | ||||
| 			</thead> | ||||
| 			<tbody> | ||||
| 				{{if .Runners}} | ||||
| 					{{range .Runners}} | ||||
| 				{{range .Runners}} | ||||
| 					<tr> | ||||
| 						<td> | ||||
| 							<span class="ui {{if .IsOnline}}green{{end}} label">{{.StatusLocaleName ctx.Locale}}</span> | ||||
| 						</td> | ||||
| 						<td><span class="ui label {{if .IsOnline}}green{{end}}">{{.StatusLocaleName ctx.Locale}}</span></td> | ||||
| 						<td>{{.ID}}</td> | ||||
| 						<td><p data-tooltip-content="{{.Description}}">{{.Name}}</p></td> | ||||
| 						<td>{{if .Version}}{{.Version}}{{else}}{{ctx.Locale.Tr "unknown"}}{{end}}</td> | ||||
| 						<td><span data-tooltip-content="{{.BelongsToOwnerName}}">{{.BelongsToOwnerType.LocaleString ctx.Locale}}</span></td> | ||||
| 						<td class="tw-flex tw-flex-wrap tw-gap-2 runner-tags"> | ||||
| 							{{range .AgentLabels}}<span class="ui label">{{.}}</span>{{end}} | ||||
| 						<td> | ||||
| 							<span class="flex-text-inline">{{range .AgentLabels}}<span class="ui label">{{.}}</span>{{end}}</span> | ||||
| 						</td> | ||||
| 						<td>{{if .LastOnline}}{{DateUtils.TimeSince .LastOnline}}{{else}}{{ctx.Locale.Tr "never"}}{{end}}</td> | ||||
| 						<td class="runner-ops"> | ||||
| 							{{if .Editable $.RunnerOwnerID $.RunnerRepoID}} | ||||
| 							<a href="{{$.Link}}/{{.ID}}">{{svg "octicon-pencil"}}</a> | ||||
| 						<td> | ||||
| 							{{if .EditableInContext $.RunnerOwnerID $.RunnerRepoID}} | ||||
| 								<a href="{{$.Link}}/{{.ID}}">{{svg "octicon-pencil"}}</a> | ||||
| 							{{end}} | ||||
| 						</td> | ||||
| 					</tr> | ||||
| 					{{end}} | ||||
| 				{{else}} | ||||
| 					<tr> | ||||
| 						<td class="tw-text-center" colspan="8">{{ctx.Locale.Tr "actions.runners.none"}}</td> | ||||
|  | ||||
| @ -6,14 +6,6 @@ | ||||
|   overflow-x: auto; | ||||
| } | ||||
| 
 | ||||
| .runner-container .runner-ops > a { | ||||
|   margin-left: 0.5em; | ||||
| } | ||||
| 
 | ||||
| .runner-container .runner-ops-delete { | ||||
|   color: var(--color-red-light); | ||||
| } | ||||
| 
 | ||||
| .runner-container .runner-new-text { | ||||
|   color: var(--color-white); | ||||
| } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user