]>
Commit | Line | Data |
---|---|---|
1 | <div class="row col-md-12 videos-info"> | |
2 | <div class="col-md-9 col-xs-5 videos-total-results"> | |
3 | <span *ngIf="pagination.totalItems !== null">{{ pagination.totalItems }} videos</span> | |
4 | ||
5 | <my-loader [loading]="loading | async"></my-loader> | |
6 | </div> | |
7 | ||
8 | ||
9 | <my-video-sort class="col-md-3 col-xs-7" [currentSort]="sort" (sort)="onSort($event)"></my-video-sort> | |
10 | </div> | |
11 | ||
12 | <div class="videos-miniatures"> | |
13 | <div class="col-md-12 no-video" *ngIf="isThereNoVideo()">There is no video.</div> | |
14 | ||
15 | <my-video-miniature | |
16 | class="ng-animate" | |
17 | *ngFor="let video of videos" [video]="video" [user]="user" [currentSort]="sort" (removed)="onRemoved(video)" | |
18 | > | |
19 | </my-video-miniature> | |
20 | </div> | |
21 | ||
22 | <pagination *ngIf="pagination.totalItems !== null" | |
23 | [totalItems]="pagination.totalItems" [itemsPerPage]="pagination.itemsPerPage" [maxSize]="6" [boundaryLinks]="true" [rotate]="false" | |
24 | [(ngModel)]="pagination.currentPage" (pageChanged)="onPageChanged($event)" | |
25 | ></pagination> |