]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/angular/videos/components/list/videos-list.component.html
Add a loader animation when loading the videos list
[github/Chocobozzz/PeerTube.git] / client / angular / videos / components / list / videos-list.component.html
CommitLineData
a99593ed
C
1<div class="row videos-info">
2 <div class="col-md-9 videos-total-results"> {{ pagination.total }} videos</div>
3 <my-video-sort class="col-md-3" [currentSort]="sort" (sort)="onSort($event)"></my-video-sort>
cf20596c
C
4</div>
5
32294074 6<div class="videos-miniatures">
157cb9c9
C
7 <my-loader [loading]="loading"></my-loader>
8
9 <div class="col-md-12 no-video" *ngIf="!loading && videos.length === 0">There is no video.</div>
32294074
C
10
11 <my-video-miniature *ngFor="let video of videos" [video]="video" [user]="user" (removed)="onRemoved(video)">
12 </my-video-miniature>
13</div>
14
15<pagination
16 [totalItems]="pagination.total" [itemsPerPage]="pagination.itemsPerPage" [(ngModel)]="pagination.currentPage"
17 (ngModelChange)="getVideos()"
18></pagination>