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