]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/+my-account/my-account-videos/my-account-videos.component.html
Add search bars for a user's videos and playlist library
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-account / my-account-videos / my-account-videos.component.html
1 <div class="videos-header">
2 <input type="text" placeholder="Search your videos" i18n-placeholder [(ngModel)]="videosSearch" (ngModelChange)="onVideosSearchChanged()" />
3 </div>
4
5 <my-videos-selection
6 [pagination]="pagination"
7 [(selection)]="selection"
8 [(videosModel)]="videos"
9 [miniatureDisplayOptions]="miniatureDisplayOptions"
10 [titlePage]="titlePage"
11 [getVideosObservableFunction]="getVideosObservableFunction"
12 #videosSelection
13 >
14 <ng-template ptTemplate="globalButtons">
15 <span class="action-button action-button-delete-selection" (click)="deleteSelectedVideos()">
16 <my-global-icon iconName="delete"></my-global-icon>
17 <ng-container i18n>Delete</ng-container>
18 </span>
19 </ng-template>
20
21 <ng-template ptTemplate="rowButtons" let-video>
22 <my-delete-button (click)="deleteVideo(video)"></my-delete-button>
23
24 <my-edit-button [routerLink]="[ '/videos', 'update', video.uuid ]"></my-edit-button>
25
26 <my-button i18n-label label="Change ownership"
27 className="action-button-change-ownership grey-button"
28 icon="im-with-her"
29 (click)="changeOwnership($event, video)"
30 ></my-button>
31 </ng-template>
32 </my-videos-selection>
33
34
35 <my-video-change-ownership #videoChangeOwnershipModal></my-video-change-ownership>