]>
Commit | Line | Data |
---|---|---|
792dbaf0 GS |
1 | <div class="row"> |
2 | <div class="content-padding"> | |
3 | <h3>Blacklisted videos</h3> | |
4 | ||
5 | <p-dataTable | |
6 | [value]="blacklist" [lazy]="true" [paginator]="true" [totalRecords]="totalRecords" [rows]="rowsPerPage" | |
7 | sortField="id" (onLazyLoad)="loadLazy($event)" | |
8 | > | |
9 | <p-column field="id" header="ID" [sortable]="true"></p-column> | |
10 | <p-column field="name" header="Name" [sortable]="true"></p-column> | |
11 | <p-column field="description" header="Description"></p-column> | |
792dbaf0 | 12 | <p-column field="views" header="Views" [sortable]="true"></p-column> |
792dbaf0 GS |
13 | <p-column field="nsfw" header="NSFW"></p-column> |
14 | <p-column field="uuid" header="UUID" [sortable]="true"></p-column> | |
15 | <p-column field="createdAt" header="Created date" [sortable]="true"></p-column> | |
16 | <p-column header="Delete" styleClass="action-cell"> | |
17 | <ng-template pTemplate="body" let-entry="rowData"> | |
f595d394 | 18 | <my-delete-button (click)="removeVideoFromBlacklist(entry)"></my-delete-button> |
35bf0c83 | 19 | </ng-template> |
792dbaf0 GS |
20 | </p-column> |
21 | </p-dataTable> | |
22 | </div> | |
23 | </div> |