diff options
Diffstat (limited to 'client/src/app/+my-library')
10 files changed, 11 insertions, 22 deletions
diff --git a/client/src/app/+my-library/+my-video-channels/my-video-channels.component.html b/client/src/app/+my-library/+my-video-channels/my-video-channels.component.html index 5bef4a6ed..0fe061983 100644 --- a/client/src/app/+my-library/+my-video-channels/my-video-channels.component.html +++ b/client/src/app/+my-library/+my-video-channels/my-video-channels.component.html | |||
@@ -18,7 +18,7 @@ | |||
18 | <div class="video-channels-header d-flex justify-content-between gap-2"> | 18 | <div class="video-channels-header d-flex justify-content-between gap-2"> |
19 | <my-advanced-input-filter (search)="onSearch($event)"></my-advanced-input-filter> | 19 | <my-advanced-input-filter (search)="onSearch($event)"></my-advanced-input-filter> |
20 | 20 | ||
21 | <a class="create-button" routerLink="/manage/create"> | 21 | <a class="peertube-create-button" routerLink="/manage/create"> |
22 | <my-global-icon iconName="add" aria-hidden="true"></my-global-icon> | 22 | <my-global-icon iconName="add" aria-hidden="true"></my-global-icon> |
23 | <ng-container i18n>Create video channel</ng-container> | 23 | <ng-container i18n>Create video channel</ng-container> |
24 | </a> | 24 | </a> |
diff --git a/client/src/app/+my-library/+my-video-channels/my-video-channels.component.scss b/client/src/app/+my-library/+my-video-channels/my-video-channels.component.scss index 6c5be9240..b4907db51 100644 --- a/client/src/app/+my-library/+my-video-channels/my-video-channels.component.scss +++ b/client/src/app/+my-library/+my-video-channels/my-video-channels.component.scss | |||
@@ -17,10 +17,6 @@ h1 { | |||
17 | } | 17 | } |
18 | } | 18 | } |
19 | 19 | ||
20 | .create-button { | ||
21 | @include create-button; | ||
22 | } | ||
23 | |||
24 | input[type=text] { | 20 | input[type=text] { |
25 | @include peertube-input-text(300px); | 21 | @include peertube-input-text(300px); |
26 | } | 22 | } |
diff --git a/client/src/app/+my-library/my-history/my-history.component.html b/client/src/app/+my-library/my-history/my-history.component.html index 6791dab52..1046a8f8c 100644 --- a/client/src/app/+my-library/my-history/my-history.component.html +++ b/client/src/app/+my-library/my-history/my-history.component.html | |||
@@ -10,8 +10,8 @@ | |||
10 | </div> | 10 | </div> |
11 | 11 | ||
12 | <div class="history-switch"> | 12 | <div class="history-switch"> |
13 | <my-input-switch [(ngModel)]="videosHistoryEnabled" (ngModelChange)="onVideosHistoryChange()"></my-input-switch> | 13 | <my-input-switch inputName="track-watch-history" [(ngModel)]="videosHistoryEnabled" (ngModelChange)="onVideosHistoryChange()"></my-input-switch> |
14 | <label i18n>Track watch history</label> | 14 | <label for="track-watch-history" i18n>Track watch history</label> |
15 | </div> | 15 | </div> |
16 | 16 | ||
17 | <button class="delete-history" (click)="clearAllHistory()" i18n> | 17 | <button class="delete-history" (click)="clearAllHistory()" i18n> |
diff --git a/client/src/app/+my-library/my-ownership/my-ownership.component.html b/client/src/app/+my-library/my-ownership/my-ownership.component.html index d9a4f32bd..5db1a9bb2 100644 --- a/client/src/app/+my-library/my-ownership/my-ownership.component.html +++ b/client/src/app/+my-library/my-ownership/my-ownership.component.html | |||
@@ -44,7 +44,7 @@ | |||
44 | <a [href]="videoChangeOwnership.video.url" class="video-table-video-link" [title]="videoChangeOwnership.video.name" target="_blank" rel="noopener noreferrer"> | 44 | <a [href]="videoChangeOwnership.video.url" class="video-table-video-link" [title]="videoChangeOwnership.video.name" target="_blank" rel="noopener noreferrer"> |
45 | <div class="video-table-video"> | 45 | <div class="video-table-video"> |
46 | <div class="video-table-video-image"> | 46 | <div class="video-table-video-image"> |
47 | <img [src]="videoChangeOwnership.video.thumbnailPath"> | 47 | <img [src]="videoChangeOwnership.video.thumbnailPath" alt=""> |
48 | </div> | 48 | </div> |
49 | <div class="video-table-video-text"> | 49 | <div class="video-table-video-text"> |
50 | <div> | 50 | <div> |
diff --git a/client/src/app/+my-library/my-video-channel-syncs/my-video-channel-syncs.component.html b/client/src/app/+my-library/my-video-channel-syncs/my-video-channel-syncs.component.html index 538bbd178..5275fb517 100644 --- a/client/src/app/+my-library/my-video-channel-syncs/my-video-channel-syncs.component.html +++ b/client/src/app/+my-library/my-video-channel-syncs/my-video-channel-syncs.component.html | |||
@@ -20,7 +20,7 @@ | |||
20 | <ng-template pTemplate="caption"> | 20 | <ng-template pTemplate="caption"> |
21 | <div class="caption"> | 21 | <div class="caption"> |
22 | <div class="left-buttons"> | 22 | <div class="left-buttons"> |
23 | <a class="add-sync" routerLink="{{ getSyncCreateLink() }}"> | 23 | <a class="peertube-create-button" routerLink="{{ getSyncCreateLink() }}"> |
24 | <my-global-icon iconName="add" aria-hidden="true"></my-global-icon> | 24 | <my-global-icon iconName="add" aria-hidden="true"></my-global-icon> |
25 | <ng-container i18n>Add synchronization</ng-container> | 25 | <ng-container i18n>Add synchronization</ng-container> |
26 | </a> | 26 | </a> |
diff --git a/client/src/app/+my-library/my-video-channel-syncs/my-video-channel-syncs.component.scss b/client/src/app/+my-library/my-video-channel-syncs/my-video-channel-syncs.component.scss index 6c09cc9ef..153bfc6b1 100644 --- a/client/src/app/+my-library/my-video-channel-syncs/my-video-channel-syncs.component.scss +++ b/client/src/app/+my-library/my-video-channel-syncs/my-video-channel-syncs.component.scss | |||
@@ -2,12 +2,9 @@ | |||
2 | @use '_mixins' as *; | 2 | @use '_mixins' as *; |
3 | @use '_actor' as *; | 3 | @use '_actor' as *; |
4 | 4 | ||
5 | .add-sync { | ||
6 | @include create-button; | ||
7 | } | ||
8 | |||
9 | .actor { | 5 | .actor { |
10 | @include actor-row($min-height: auto, $separator: true); | 6 | @include actor-row($min-height: auto, $separator: true); |
7 | |||
11 | margin-bottom: 0; | 8 | margin-bottom: 0; |
12 | padding-bottom: 0; | 9 | padding-bottom: 0; |
13 | border: 0; | 10 | border: 0; |
diff --git a/client/src/app/+my-library/my-video-playlists/my-video-playlist-edit.component.html b/client/src/app/+my-library/my-video-playlists/my-video-playlist-edit.component.html index e867f63b8..a3c2aab44 100644 --- a/client/src/app/+my-library/my-video-playlists/my-video-playlist-edit.component.html +++ b/client/src/app/+my-library/my-video-playlists/my-video-playlist-edit.component.html | |||
@@ -61,7 +61,7 @@ | |||
61 | </div> | 61 | </div> |
62 | 62 | ||
63 | <div class="form-group"> | 63 | <div class="form-group"> |
64 | <label i18n>Channel</label> | 64 | <label for="videoChannelIdl" i18n>Channel</label> |
65 | 65 | ||
66 | <my-select-channel | 66 | <my-select-channel |
67 | labelForId="videoChannelIdl" [items]="userVideoChannels" formControlName="videoChannelId" | 67 | labelForId="videoChannelIdl" [items]="userVideoChannels" formControlName="videoChannelId" |
@@ -73,7 +73,7 @@ | |||
73 | </div> | 73 | </div> |
74 | 74 | ||
75 | <div class="form-group"> | 75 | <div class="form-group"> |
76 | <label i18n>Playlist thumbnail</label> | 76 | <label for="thumbnailfile" i18n>Playlist thumbnail</label> |
77 | 77 | ||
78 | <my-preview-upload | 78 | <my-preview-upload |
79 | i18n-inputLabel inputLabel="Edit" inputName="thumbnailfile" formControlName="thumbnailfile" | 79 | i18n-inputLabel inputLabel="Edit" inputName="thumbnailfile" formControlName="thumbnailfile" |
diff --git a/client/src/app/+my-library/my-video-playlists/my-video-playlists.component.html b/client/src/app/+my-library/my-video-playlists/my-video-playlists.component.html index 3bab20a22..ebcb0b1fd 100644 --- a/client/src/app/+my-library/my-video-playlists/my-video-playlists.component.html +++ b/client/src/app/+my-library/my-video-playlists/my-video-playlists.component.html | |||
@@ -9,7 +9,7 @@ | |||
9 | <div class="video-playlists-header d-flex justify-content-between gap-2"> | 9 | <div class="video-playlists-header d-flex justify-content-between gap-2"> |
10 | <my-advanced-input-filter (search)="onSearch($event)"></my-advanced-input-filter> | 10 | <my-advanced-input-filter (search)="onSearch($event)"></my-advanced-input-filter> |
11 | 11 | ||
12 | <a class="create-button" routerLink="create"> | 12 | <a class="peertube-create-button" routerLink="create"> |
13 | <my-global-icon iconName="add" aria-hidden="true"></my-global-icon> | 13 | <my-global-icon iconName="add" aria-hidden="true"></my-global-icon> |
14 | <ng-container i18n>Create playlist</ng-container> | 14 | <ng-container i18n>Create playlist</ng-container> |
15 | </a> | 15 | </a> |
diff --git a/client/src/app/+my-library/my-video-playlists/my-video-playlists.component.scss b/client/src/app/+my-library/my-video-playlists/my-video-playlists.component.scss index 07e50e53f..f22feaa48 100644 --- a/client/src/app/+my-library/my-video-playlists/my-video-playlists.component.scss +++ b/client/src/app/+my-library/my-video-playlists/my-video-playlists.component.scss | |||
@@ -5,10 +5,6 @@ h1 { | |||
5 | display: flex; | 5 | display: flex; |
6 | } | 6 | } |
7 | 7 | ||
8 | .create-button { | ||
9 | @include create-button; | ||
10 | } | ||
11 | |||
12 | input[type=text] { | 8 | input[type=text] { |
13 | @include peertube-input-text(300px); | 9 | @include peertube-input-text(300px); |
14 | } | 10 | } |
diff --git a/client/src/app/+my-library/my-videos/my-videos.component.html b/client/src/app/+my-library/my-videos/my-videos.component.html index 9bb609ae8..b95287151 100644 --- a/client/src/app/+my-library/my-videos/my-videos.component.html +++ b/client/src/app/+my-library/my-videos/my-videos.component.html | |||
@@ -46,10 +46,10 @@ | |||
46 | #videosSelection | 46 | #videosSelection |
47 | > | 47 | > |
48 | <ng-template ptTemplate="globalButtons"> | 48 | <ng-template ptTemplate="globalButtons"> |
49 | <span class="action-button action-button-delete-selection" (click)="deleteSelectedVideos()"> | 49 | <button class="action-button action-button-delete-selection" (click)="deleteSelectedVideos()"> |
50 | <my-global-icon iconName="delete" aria-hidden="true"></my-global-icon> | 50 | <my-global-icon iconName="delete" aria-hidden="true"></my-global-icon> |
51 | <ng-container i18n>Delete</ng-container> | 51 | <ng-container i18n>Delete</ng-container> |
52 | </span> | 52 | </button> |
53 | </ng-template> | 53 | </ng-template> |
54 | 54 | ||
55 | <ng-template ptTemplate="rowButtons" let-video> | 55 | <ng-template ptTemplate="rowButtons" let-video> |