File tree 2 files changed +7
-19
lines changed
2 files changed +7
-19
lines changed Original file line number Diff line number Diff line change 64
64
</tr>
65
65
</thead>
66
66
<tbody>
67
- {{if .Runners}}
68
- {{range .Runners}}
67
+ {{range .Runners}}
69
68
<tr>
70
- <td>
71
- <span class="ui {{if .IsOnline}}green{{end}} label">{{.StatusLocaleName ctx.Locale}}</span>
72
- </td>
69
+ <td><span class="ui label {{if .IsOnline}}green{{end}}">{{.StatusLocaleName ctx.Locale}}</span></td>
73
70
<td>{{.ID}}</td>
74
71
<td><p data-tooltip-content="{{.Description}}">{{.Name}}</p></td>
75
72
<td>{{if .Version}}{{.Version}}{{else}}{{ctx.Locale.Tr "unknown"}}{{end}}</td>
76
73
<td><span data-tooltip-content="{{.BelongsToOwnerName}}">{{.BelongsToOwnerType.LocaleString ctx.Locale}}</span></td>
77
- <td class="tw-flex tw-flex-wrap tw-gap-2 runner-tags" >
78
- {{range .AgentLabels}}<span class="ui label">{{.}}</span>{{end}}
74
+ <td>
75
+ <span class="flex-text-inline"> {{range .AgentLabels}}<span class="ui label">{{.}}</span>{{end}}</span>
79
76
</td>
80
77
<td>{{if .LastOnline}}{{DateUtils.TimeSince .LastOnline}}{{else}}{{ctx.Locale.Tr "never"}}{{end}}</td>
81
- <td class="runner-ops" >
82
- {{if .Editable $.RunnerOwnerID $.RunnerRepoID}}
83
- <a href="{{$.Link}}/{{.ID}}">{{svg "octicon-pencil"}}</a>
78
+ <td>
79
+ {{if .EditableInContext $.RunnerOwnerID $.RunnerRepoID}}
80
+ <a class="text red" href="{{$.Link}}/{{.ID}}">{{svg "octicon-pencil"}}</a>
84
81
{{end}}
85
82
</td>
86
83
</tr>
87
- {{end}}
88
84
{{else}}
89
85
<tr>
90
86
<td class="tw-text-center" colspan="8">{{ctx.Locale.Tr "actions.runners.none"}}</td>
Original file line number Diff line number Diff line change 6
6
overflow-x : auto;
7
7
}
8
8
9
- .runner-container .runner-ops > a {
10
- margin-left : 0.5em ;
11
- }
12
-
13
- .runner-container .runner-ops-delete {
14
- color : var (--color-red-light );
15
- }
16
-
17
9
.runner-container .runner-new-text {
18
10
color : var (--color-white );
19
11
}
You can’t perform that action at this time.
0 commit comments