]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+my-account/my-account-videos/my-account-videos.component.html
harmonize search for libraries
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-account / my-account-videos / my-account-videos.component.html
CommitLineData
4f5d0459
RK
1<h1 class="d-flex justify-content-between">
2 <span>
3 <my-global-icon iconName="videos" aria-hidden="true"></my-global-icon>
4 <ng-container i18n>My videos</ng-container>
5 <span class="badge badge-secondary"> {{ pagination.totalItems }}</span>
6 </span>
aa0f1963 7
4f5d0459
RK
8 <div class="has-feedback has-clear">
9 <input type="text" placeholder="Search your videos" i18n-placeholder [(ngModel)]="videosSearch" (ngModelChange)="onVideosSearchChanged()" />
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>
13</h1>
bf64ed41 14
693263e9 15<my-videos-selection
8c6781e9 16 [pagination]="pagination"
693263e9
C
17 [(selection)]="selection"
18 [(videosModel)]="videos"
19 [miniatureDisplayOptions]="miniatureDisplayOptions"
20 [titlePage]="titlePage"
21 [getVideosObservableFunction]="getVideosObservableFunction"
c4a6f790 22 [ownerDisplayType]="ownerDisplayType"
693263e9
C
23 #videosSelection
24>
25 <ng-template ptTemplate="globalButtons">
26 <span class="action-button action-button-delete-selection" (click)="deleteSelectedVideos()">
6ad971d5 27 <my-global-icon iconName="delete" aria-hidden="true"></my-global-icon>
693263e9
C
28 <ng-container i18n>Delete</ng-container>
29 </span>
30 </ng-template>
31
32 <ng-template ptTemplate="rowButtons" let-video>
8a3183e5
K
33 <div class="action-button">
34 <my-delete-button (click)="deleteVideo(video)"></my-delete-button>
693263e9 35
8a3183e5 36 <my-edit-button [routerLink]="[ '/videos', 'update', video.uuid ]"></my-edit-button>
693263e9 37
8a3183e5
K
38 <my-button i18n-label label="Change ownership"
39 className="action-button-change-ownership grey-button"
c41c0e28 40 icon="ownership-change"
8a3183e5
K
41 (click)="changeOwnership($event, video)"
42 ></my-button>
43 </div>
693263e9
C
44 </ng-template>
45</my-videos-selection>
6e33bf28 46
74d63469 47
457bb213 48<my-video-change-ownership #videoChangeOwnershipModal></my-video-change-ownership>