aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/my-account/my-account-videos/my-account-videos.component.html
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-04-23 16:16:05 +0200
committerChocobozzz <me@florianbigard.com>2018-04-23 16:16:05 +0200
commit4bb6886d28cc5333bbe1523674bf5db141af456f (patch)
tree86276bfa11afdd4357ac45df2ead26a41f181069 /client/src/app/my-account/my-account-videos/my-account-videos.component.html
parent3186046d17cc09a3426d5ea67835f4c936cb18a3 (diff)
downloadPeerTube-4bb6886d28cc5333bbe1523674bf5db141af456f.tar.gz
PeerTube-4bb6886d28cc5333bbe1523674bf5db141af456f.tar.zst
PeerTube-4bb6886d28cc5333bbe1523674bf5db141af456f.zip
Rename account module to my-account
Diffstat (limited to 'client/src/app/my-account/my-account-videos/my-account-videos.component.html')
-rw-r--r--client/src/app/my-account/my-account-videos/my-account-videos.component.html45
1 files changed, 45 insertions, 0 deletions
diff --git a/client/src/app/my-account/my-account-videos/my-account-videos.component.html b/client/src/app/my-account/my-account-videos/my-account-videos.component.html
new file mode 100644
index 000000000..66ce3a77b
--- /dev/null
+++ b/client/src/app/my-account/my-account-videos/my-account-videos.component.html
@@ -0,0 +1,45 @@
1<div *ngIf="pagination.totalItems === 0">No results.</div>
2
3<div
4 myInfiniteScroller
5 [pageHeight]="pageHeight"
6 (nearOfTop)="onNearOfTop()" (nearOfBottom)="onNearOfBottom()" (pageChanged)="onPageChanged($event)"
7 class="videos" #videosElement
8>
9 <div *ngFor="let videos of videoPages; let i = index" class="videos-page">
10 <div class="video" *ngFor="let video of videos; let j = index">
11 <div class="checkbox-container">
12 <input [id]="'video-check-' + video.id" type="checkbox" [(ngModel)]="checkedVideos[video.id]" />
13 <label [for]="'video-check-' + video.id"></label>
14 </div>
15
16 <my-video-thumbnail [video]="video"></my-video-thumbnail>
17
18 <div class="video-info">
19 <a class="video-info-name" [routerLink]="['/videos/watch', video.uuid]" [attr.title]="video.name">{{ video.name }}</a>
20 <span class="video-info-date-views">{{ video.createdAt | myFromNow }} - {{ video.views | myNumberFormatter }} views</span>
21 <div class="video-info-private">{{ video.privacy.label }}</div>
22 </div>
23
24 <!-- Display only once -->
25 <div class="action-selection-mode" *ngIf="isInSelectionMode() === true && i === 0 && j === 0">
26 <div class="action-selection-mode-child">
27 <span class="action-button action-button-cancel-selection" (click)="abortSelectionMode()">
28 Cancel
29 </span>
30
31 <span class="action-button action-button-delete-selection" (click)="deleteSelectedVideos()">
32 <span class="icon icon-delete-white"></span>
33 Delete
34 </span>
35 </div>
36 </div>
37
38 <div class="video-buttons" *ngIf="isInSelectionMode() === false">
39 <my-delete-button (click)="deleteVideo(video)"></my-delete-button>
40
41 <my-edit-button [routerLink]="[ '/videos', 'edit', video.uuid ]"></my-edit-button>
42 </div>
43 </div>
44 </div>
45</div>