]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+my-library/my-videos/my-videos.component.html
Refactor horizontal margins
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-library / my-videos / my-videos.component.html
CommitLineData
d607fc24 1<h1>
4f5d0459
RK
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>
17119e4a
C
7
8 <div>
9 <a routerLink="/my-library/video-imports" class="button-link">
10 <my-global-icon iconName="cloud-download" aria-hidden="true"></my-global-icon>
11 <ng-container i18n>My imports</ng-container>
12 </a>
13
14 <a routerLink="/my-library/ownership" class="button-link">
15 <my-global-icon iconName="users" aria-hidden="true"></my-global-icon>
16 <ng-container i18n>Ownership changes</ng-container>
17 </a>
18 </div>
d607fc24 19</h1>
aa0f1963 20
d607fc24 21<div class="videos-header d-flex justify-content-between">
4f5d0459 22 <div class="has-feedback has-clear">
d607fc24 23 <input type="text" placeholder="Search your videos" i18n-placeholder [(ngModel)]="videosSearch"
24 (ngModelChange)="onVideosSearchChanged()" />
4f5d0459
RK
25 <a class="glyphicon glyphicon-remove-sign form-control-feedback form-control-clear" (click)="resetSearch()"></a>
26 <span class="sr-only" i18n>Clear filters</span>
27 </div>
d607fc24 28</div>
bf64ed41 29
693263e9 30<my-videos-selection
8c6781e9 31 [pagination]="pagination"
693263e9
C
32 [(selection)]="selection"
33 [(videosModel)]="videos"
34 [miniatureDisplayOptions]="miniatureDisplayOptions"
35 [titlePage]="titlePage"
36 [getVideosObservableFunction]="getVideosObservableFunction"
241609f1 37 [user]="user"
693263e9
C
38 #videosSelection
39>
40 <ng-template ptTemplate="globalButtons">
41 <span class="action-button action-button-delete-selection" (click)="deleteSelectedVideos()">
6ad971d5 42 <my-global-icon iconName="delete" aria-hidden="true"></my-global-icon>
693263e9
C
43 <ng-container i18n>Delete</ng-container>
44 </span>
45 </ng-template>
46
47 <ng-template ptTemplate="rowButtons" let-video>
8a3183e5 48 <div class="action-button">
30814423 49 <my-edit-button label [routerLink]="[ '/videos', 'update', video.uuid ]"></my-edit-button>
693263e9 50
d846d99c 51 <my-action-dropdown [actions]="videoActions" [entry]="{ video: video }"></my-action-dropdown>
8a3183e5 52 </div>
693263e9
C
53 </ng-template>
54</my-videos-selection>
6e33bf28 55
74d63469 56
457bb213 57<my-video-change-ownership #videoChangeOwnershipModal></my-video-change-ownership>
d846d99c 58<my-live-stream-information #liveStreamInformationModal></my-live-stream-information>