]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/videos/video-list/video-list.component.html
Client: fix pagination component
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / video-list / video-list.component.html
CommitLineData
a99593ed 1<div class="row videos-info">
1cdb5c0f
C
2 <div class="col-md-9 videos-total-results">
3 {{ pagination.total }} videos
4
5 <my-loader [loading]="loading"></my-loader>
6 </div>
a99593ed 7 <my-video-sort class="col-md-3" [currentSort]="sort" (sort)="onSort($event)"></my-video-sort>
cf20596c
C
8</div>
9
32294074 10<div class="videos-miniatures">
9bfe96e1 11 <div class="col-md-12 no-video" *ngIf="noVideo()">There is no video.</div>
32294074 12
7914607e 13 <my-video-miniature class="ng-animate "*ngFor="let video of videos" [video]="video" [user]="user" (removed)="onRemoved(video)">
32294074
C
14 </my-video-miniature>
15</div>
16
17<pagination
efb9afc3
C
18 [totalItems]="pagination.total" [itemsPerPage]="pagination.itemsPerPage" [maxSize]="6" [boundaryLinks]="true" [rotate]="false"
19 (ngModelChange)="getVideos()" [(ngModel)]="pagination.currentPage"
32294074 20></pagination>