1
0
Fork 0
peertube/client/src/app/videos/video-list/video-list.component.html

21 lines
876 B
HTML
Raw Normal View History

2016-05-24 21:00:58 +00:00
<div class="row videos-info">
2016-06-04 18:37:38 +00:00
<div class="col-md-9 videos-total-results">
2016-07-08 15:15:14 +00:00
<span *ngIf="pagination.totalItems !== null">{{ pagination.totalItems }} videos</span>
2016-06-04 18:37:38 +00:00
2016-07-08 15:15:14 +00:00
<my-loader [loading]="loading | async"></my-loader>
2016-06-04 18:37:38 +00:00
</div>
2016-05-24 21:00:58 +00:00
<my-video-sort class="col-md-3" [currentSort]="sort" (sort)="onSort($event)"></my-video-sort>
2016-05-23 09:07:42 +00:00
</div>
2016-05-22 08:43:06 +00:00
<div class="videos-miniatures">
<div class="col-md-12 no-video" *ngIf="noVideo()">There is no video.</div>
2016-05-22 08:43:06 +00:00
<my-video-miniature class="ng-animate "*ngFor="let video of videos" [video]="video" [user]="user" (removed)="onRemoved(video)">
2016-05-22 08:43:06 +00:00
</my-video-miniature>
</div>
2016-07-08 15:15:14 +00:00
<pagination *ngIf="pagination.totalItems !== null"
[totalItems]="pagination.totalItems" [itemsPerPage]="pagination.itemsPerPage" [maxSize]="6" [boundaryLinks]="true" [rotate]="false"
[(ngModel)]="pagination.currentPage" (pageChanged)="getVideos()"
2016-05-22 08:43:06 +00:00
></pagination>