1 <h1 class=
"d-flex justify-content-between">
2 <span class=
"text-nowrap me-2">
3 <my-global-icon iconName=
"cog" aria-hidden=
"true"></my-global-icon>
4 <ng-container i18n
>Runner registration tokens
</ng-container>
8 <a routerLink=
"/admin/system/runners/runners-list" class=
"peertube-button-link peertube-button-icon grey-button">
9 <my-global-icon iconName=
"codesandbox" aria-hidden=
"true"></my-global-icon>
10 <ng-container i18n
>Remote runners
</ng-container>
16 [value]=
"registrationTokens" [paginator]=
"totalRecords > 0" [totalRecords]=
"totalRecords" [rows]=
"rowsPerPage" [first]=
"pagination.start"
17 [rowsPerPageOptions]=
"rowsPerPageOptions" [sortField]=
"sort.field" [sortOrder]=
"sort.order"
18 [lazy]=
"true" (onLazyLoad)=
"loadLazy($event)"
19 [showCurrentPageReport]=
"true" i18n-currentPageReportTemplate
20 currentPageReportTemplate=
"Showing {{'{first}'}} to {{'{last}'}} of {{'{totalRecords}'}} registration tokens"
22 <ng-template pTemplate=
"header">
24 <th style=
"width: 120px;"></th>
26 <th style=
"width: 150px;" i18n
pSortableColumn=
"createdAt">Created
<p-sortIcon field=
"createdAt"></p-sortIcon></th>
27 <th style=
"width: 160px;" i18n
>Associated runners
</th>
31 <ng-template pTemplate=
"caption">
33 <div class=
"left-buttons">
34 <my-button className=
"orange-button" i18n-label
label=
"Generate token" icon=
"add" (click)=
"generateToken()"></my-button>
39 <ng-template pTemplate=
"body" let-registrationToken
>
41 <td class=
"action-cell">
43 placement=
"bottom-right top-right left auto" container=
"body"
44 i18n-label
label=
"Actions" [actions]=
"actions" [entry]=
"registrationToken"
45 ></my-action-dropdown>
48 <td>{{ registrationToken.registrationToken }}
</td>
50 <td>{{ registrationToken.createdAt | date: 'short' }}
</td>
52 <td>{{ registrationToken.registeredRunnersCount }}
</td>
56 <ng-template pTemplate=
"emptymessage">
59 <div class=
"no-results">
60 <ng-container i18n
>No registration token found for remote runners.
</ng-container>