]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+my-library/my-video-playlists/my-video-playlists.component.html
Reduce advanced search input debounce time
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-library / my-video-playlists / my-video-playlists.component.html
CommitLineData
d607fc24 1<h1>
0f7407d9
C
2 <my-global-icon iconName="playlists" aria-hidden="true"></my-global-icon>
3 <ng-container i18n>My playlists</ng-container> <span class="badge badge-secondary">{{ pagination.totalItems }}</span>
d607fc24 4</h1>
aa0f1963 5
d607fc24 6<div class="video-playlists-header d-flex justify-content-between">
4f5d0459 7 <div class="has-feedback has-clear">
d607fc24 8 <input type="text" placeholder="Search your playlists" i18n-placeholder [(ngModel)]="videoPlaylistsSearch"
9 (ngModelChange)="onVideoPlaylistSearchChanged()" />
4f5d0459
RK
10 <a class="glyphicon glyphicon-remove-sign form-control-feedback form-control-clear" (click)="resetSearch()"></a>
11 <span class="sr-only" i18n>Clear filters</span>
12 </div>
bf64ed41 13
830b4faf 14 <a class="create-button" routerLink="create">
6ad971d5 15 <my-global-icon iconName="add" aria-hidden="true"></my-global-icon>
8c966daa 16 <ng-container i18n>Create playlist</ng-container>
830b4faf 17 </a>
d607fc24 18</div>
830b4faf 19
ad453580 20<div class="video-playlists" myInfiniteScroller [autoInit]="true" (nearOfBottom)="onNearOfBottom()" [dataObservable]="onDataSubject.asObservable()">
830b4faf 21 <div *ngFor="let playlist of videoPlaylists" class="video-playlist">
0f7407d9
C
22 <my-video-playlist-miniature
23 [playlist]="playlist" [toManage]="true" [displayChannel]="true"
24 [displayDescription]="true" [displayPrivacy]="true" [displayAsRow]="true"
25 ></my-video-playlist-miniature>
830b4faf
C
26
27 <div *ngIf="isRegularPlaylist(playlist)" class="video-playlist-buttons">
30814423 28 <my-delete-button label (click)="deleteVideoPlaylist(playlist)"></my-delete-button>
830b4faf 29
30814423 30 <my-edit-button label [routerLink]="[ 'update', playlist.uuid ]"></my-edit-button>
830b4faf
C
31 </div>
32 </div>
33</div>