PeerTube/client/app/videos/video-list/video-list.component.html

19 lines
687 B
HTML

<div class="row videos-info">
<div class="col-md-9 videos-total-results"> {{ pagination.total }} videos</div>
<my-video-sort class="col-md-3" [currentSort]="sort" (sort)="onSort($event)"></my-video-sort>
</div>
<div class="videos-miniatures">
<my-loader [loading]="loading"></my-loader>
<div class="col-md-12 no-video" *ngIf="noVideo()">There is no video.</div>
<my-video-miniature *ngFor="let video of videos" [video]="video" [user]="user" (removed)="onRemoved(video)">
</my-video-miniature>
</div>
<pagination
[totalItems]="pagination.total" [itemsPerPage]="pagination.itemsPerPage" [(ngModel)]="pagination.currentPage"
(ngModelChange)="getVideos()"
></pagination>