aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/app/videos/video-list/video-list.component.html
blob: edbbaf3aeacd735a30e64d326ef20cb89122b6b7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<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="!loading && videos.length === 0">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>