]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/angular/videos/components/list/videos-list.component.html
Add trivial sort for the client
[github/Chocobozzz/PeerTube.git] / client / angular / videos / components / list / videos-list.component.html
1 <div class="videos-info">
2 <span class="videos-total-results"> {{ pagination.total }}</span>
3 <my-video-sort [currentSort]="sort" (sort)="onSort($event)"></my-video-sort>
4 </div>
5
6 <div class="videos-miniatures">
7 <div *ngIf="videos.length === 0">There is no video.</div>
8
9 <my-video-miniature *ngFor="let video of videos" [video]="video" [user]="user" (removed)="onRemoved(video)">
10 </my-video-miniature>
11 </div>
12
13 <pagination
14 [totalItems]="pagination.total" [itemsPerPage]="pagination.itemsPerPage" [(ngModel)]="pagination.currentPage"
15 (ngModelChange)="getVideos()"
16 ></pagination>