File tree Expand file tree Collapse file tree 2 files changed +7
-19
lines changed Expand file tree Collapse file tree 2 files changed +7
-19
lines changed Original file line number Diff line number Diff line change 6464 </tr>
6565 </thead>
6666 <tbody>
67- {{if .Runners}}
68- {{range .Runners}}
67+ {{range .Runners}}
6968 <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>
7370 <td>{{.ID}}</td>
7471 <td><p data-tooltip-content="{{.Description}}">{{.Name}}</p></td>
7572 <td>{{if .Version}}{{.Version}}{{else}}{{ctx.Locale.Tr "unknown"}}{{end}}</td>
7673 <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>
7976 </td>
8077 <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 href="{{$.Link}}/{{.ID}}">{{svg "octicon-pencil"}}</a>
8481 {{end}}
8582 </td>
8683 </tr>
87- {{end}}
8884 {{else}}
8985 <tr>
9086 <td class="tw-text-center" colspan="8">{{ctx.Locale.Tr "actions.runners.none"}}</td>
Original file line number Diff line number Diff line change 66 overflow-x : auto;
77}
88
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-
179.runner-container .runner-new-text {
1810 color : var (--color-white );
1911}
You can’t perform that action at this time.
0 commit comments