diff options
Diffstat (limited to 'client/src/app')
19 files changed, 85 insertions, 80 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 index b6047645d..cb149b607 100644 --- 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 | |||
@@ -31,7 +31,7 @@ | |||
31 | 31 | ||
32 | <my-button i18n-label label="Change ownership" | 32 | <my-button i18n-label label="Change ownership" |
33 | className="action-button-change-ownership grey-button" | 33 | className="action-button-change-ownership grey-button" |
34 | icon="forward" | 34 | icon="ownership-change" |
35 | (click)="changeOwnership($event, video)" | 35 | (click)="changeOwnership($event, video)" |
36 | ></my-button> | 36 | ></my-button> |
37 | </div> | 37 | </div> |
diff --git a/client/src/app/+my-account/my-account.component.ts b/client/src/app/+my-account/my-account.component.ts index 4040ab4f8..85b2795c5 100644 --- a/client/src/app/+my-account/my-account.component.ts +++ b/client/src/app/+my-account/my-account.component.ts | |||
@@ -30,7 +30,7 @@ export class MyAccountComponent implements OnInit { | |||
30 | { | 30 | { |
31 | label: this.i18n('My channels'), | 31 | label: this.i18n('My channels'), |
32 | routerLink: '/my-account/video-channels', | 32 | routerLink: '/my-account/video-channels', |
33 | iconName: 'folder' | 33 | iconName: 'channel' |
34 | }, | 34 | }, |
35 | { | 35 | { |
36 | label: this.i18n('My videos'), | 36 | label: this.i18n('My videos'), |
@@ -45,7 +45,7 @@ export class MyAccountComponent implements OnInit { | |||
45 | { | 45 | { |
46 | label: this.i18n('My subscriptions'), | 46 | label: this.i18n('My subscriptions'), |
47 | routerLink: '/my-account/subscriptions', | 47 | routerLink: '/my-account/subscriptions', |
48 | iconName: 'subscriptions' | 48 | iconName: 'inbox-full' |
49 | }, | 49 | }, |
50 | { | 50 | { |
51 | label: this.i18n('My history'), | 51 | label: this.i18n('My history'), |
@@ -79,7 +79,7 @@ export class MyAccountComponent implements OnInit { | |||
79 | { | 79 | { |
80 | label: this.i18n('Ownership changes'), | 80 | label: this.i18n('Ownership changes'), |
81 | routerLink: '/my-account/ownership', | 81 | routerLink: '/my-account/ownership', |
82 | iconName: 'forward' | 82 | iconName: 'ownership-change' |
83 | } | 83 | } |
84 | ] | 84 | ] |
85 | } | 85 | } |
diff --git a/client/src/app/+search/search.component.scss b/client/src/app/+search/search.component.scss index 6e59adb60..64927fa4b 100644 --- a/client/src/app/+search/search.component.scss +++ b/client/src/app/+search/search.component.scss | |||
@@ -31,7 +31,7 @@ | |||
31 | position: relative; | 31 | position: relative; |
32 | top: -1px; | 32 | top: -1px; |
33 | margin-right: 5px; | 33 | margin-right: 5px; |
34 | background-image: url('../../assets/images/search/filter.svg'); | 34 | background-image: url('../../assets/images/feather/filter.svg'); |
35 | } | 35 | } |
36 | } | 36 | } |
37 | } | 37 | } |
diff --git a/client/src/app/+videos/+video-edit/video-add-components/video-import-torrent.component.html b/client/src/app/+videos/+video-edit/video-add-components/video-import-torrent.component.html index 7287f799d..5678f548f 100644 --- a/client/src/app/+videos/+video-edit/video-add-components/video-import-torrent.component.html +++ b/client/src/app/+videos/+video-edit/video-add-components/video-import-torrent.component.html | |||
@@ -69,7 +69,7 @@ | |||
69 | (click)="updateSecondStep()" | 69 | (click)="updateSecondStep()" |
70 | [ngClass]="{ disabled: !form.valid || isUpdatingVideo === true }" | 70 | [ngClass]="{ disabled: !form.valid || isUpdatingVideo === true }" |
71 | > | 71 | > |
72 | <my-global-icon iconName="validate" aria-hidden="true"></my-global-icon> | 72 | <my-global-icon iconName="circle-tick" aria-hidden="true"></my-global-icon> |
73 | <input type="button" i18n-value value="Update" /> | 73 | <input type="button" i18n-value value="Update" /> |
74 | </div> | 74 | </div> |
75 | </div> | 75 | </div> |
diff --git a/client/src/app/+videos/+video-edit/video-add-components/video-import-url.component.html b/client/src/app/+videos/+video-edit/video-add-components/video-import-url.component.html index 1910da403..2e434271e 100644 --- a/client/src/app/+videos/+video-edit/video-add-components/video-import-url.component.html +++ b/client/src/app/+videos/+video-edit/video-add-components/video-import-url.component.html | |||
@@ -65,7 +65,7 @@ | |||
65 | (click)="updateSecondStep()" | 65 | (click)="updateSecondStep()" |
66 | [ngClass]="{ disabled: !form.valid || isUpdatingVideo === true }" | 66 | [ngClass]="{ disabled: !form.valid || isUpdatingVideo === true }" |
67 | > | 67 | > |
68 | <my-global-icon iconName="validate" aria-hidden="true"></my-global-icon> | 68 | <my-global-icon iconName="circle-tick" aria-hidden="true"></my-global-icon> |
69 | <input type="button" i18n-value value="Update" /> | 69 | <input type="button" i18n-value value="Update" /> |
70 | </div> | 70 | </div> |
71 | </div> | 71 | </div> |
diff --git a/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.html b/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.html index dad88a661..2c40892ee 100644 --- a/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.html +++ b/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.html | |||
@@ -83,7 +83,7 @@ | |||
83 | (click)="updateSecondStep()" | 83 | (click)="updateSecondStep()" |
84 | [ngClass]="{ disabled: isPublishingButtonDisabled() }" | 84 | [ngClass]="{ disabled: isPublishingButtonDisabled() }" |
85 | > | 85 | > |
86 | <my-global-icon iconName="validate" aria-hidden="true"></my-global-icon> | 86 | <my-global-icon iconName="circle-tick" aria-hidden="true"></my-global-icon> |
87 | <input [disabled]="isPublishingButtonDisabled()" type="button" i18n-value value="Publish" /> | 87 | <input [disabled]="isPublishingButtonDisabled()" type="button" i18n-value value="Publish" /> |
88 | </div> | 88 | </div> |
89 | </div> | 89 | </div> |
diff --git a/client/src/app/+videos/+video-edit/video-update.component.html b/client/src/app/+videos/+video-edit/video-update.component.html index fbc642db9..1517d4991 100644 --- a/client/src/app/+videos/+video-edit/video-update.component.html +++ b/client/src/app/+videos/+video-edit/video-update.component.html | |||
@@ -14,7 +14,7 @@ | |||
14 | 14 | ||
15 | <div class="submit-container"> | 15 | <div class="submit-container"> |
16 | <div class="submit-button" (click)="update()" [ngClass]="{ disabled: !form.valid || isUpdatingVideo === true }"> | 16 | <div class="submit-button" (click)="update()" [ngClass]="{ disabled: !form.valid || isUpdatingVideo === true }"> |
17 | <my-global-icon iconName="validate" aria-hidden="true"></my-global-icon> | 17 | <my-global-icon iconName="circle-tick" aria-hidden="true"></my-global-icon> |
18 | <input type="button" i18n-value value="Update" /> | 18 | <input type="button" i18n-value value="Update" /> |
19 | </div> | 19 | </div> |
20 | </div> | 20 | </div> |
diff --git a/client/src/app/+videos/+video-watch/video-watch.component.scss b/client/src/app/+videos/+video-watch/video-watch.component.scss index 2e083982e..c7f91f4a0 100644 --- a/client/src/app/+videos/+video-watch/video-watch.component.scss +++ b/client/src/app/+videos/+video-watch/video-watch.component.scss | |||
@@ -249,7 +249,7 @@ $video-info-margin-left: 44px; | |||
249 | filter: brightness(120%); | 249 | filter: brightness(120%); |
250 | 250 | ||
251 | .count { | 251 | .count { |
252 | margin-right: 5px; | 252 | margin: 0 5px; |
253 | } | 253 | } |
254 | } | 254 | } |
255 | 255 | ||
diff --git a/client/src/app/app.component.scss b/client/src/app/app.component.scss index a2180e19d..d121ebad2 100644 --- a/client/src/app/app.component.scss +++ b/client/src/app/app.component.scss | |||
@@ -39,7 +39,7 @@ | |||
39 | 39 | ||
40 | &.icon-menu { | 40 | &.icon-menu { |
41 | background-color: pvar(--mainForegroundColor); | 41 | background-color: pvar(--mainForegroundColor); |
42 | mask-image: url('../assets/images/header/menu.svg'); | 42 | mask-image: url('../assets/images/misc/menu.svg'); |
43 | margin: 0 18px 0 20px; | 43 | margin: 0 18px 0 20px; |
44 | } | 44 | } |
45 | } | 45 | } |
diff --git a/client/src/app/header/search-typeahead.component.html b/client/src/app/header/search-typeahead.component.html index 4355b67af..548da59bb 100644 --- a/client/src/app/header/search-typeahead.component.html +++ b/client/src/app/header/search-typeahead.component.html | |||
@@ -4,7 +4,7 @@ | |||
4 | [(ngModel)]="search" (ngModelChange)="onSearchChange()" (keydown)="handleKey($event)" (keydown.enter)="doSearch()" | 4 | [(ngModel)]="search" (ngModelChange)="onSearchChange()" (keydown)="handleKey($event)" (keydown.enter)="doSearch()" |
5 | aria-label="Search" autocomplete="off" | 5 | aria-label="Search" autocomplete="off" |
6 | > | 6 | > |
7 | <span class="icon icon-search" (click)="doSearch()"></span> | 7 | <my-global-icon iconName="search" class="icon icon-search" role="button" (click)="doSearch()" (keydown.enter)="doSearch()"></my-global-icon> |
8 | 8 | ||
9 | <div class="position-absolute jump-to-suggestions"> | 9 | <div class="position-absolute jump-to-suggestions"> |
10 | 10 | ||
diff --git a/client/src/app/header/search-typeahead.component.scss b/client/src/app/header/search-typeahead.component.scss index 920aa61ae..87e8b8c70 100644 --- a/client/src/app/header/search-typeahead.component.scss +++ b/client/src/app/header/search-typeahead.component.scss | |||
@@ -16,15 +16,13 @@ | |||
16 | 16 | ||
17 | .icon.icon-search { | 17 | .icon.icon-search { |
18 | @include icon(25px); | 18 | @include icon(25px); |
19 | height: 21px; | 19 | height: 18px; |
20 | |||
21 | background-color: pvar(--mainForegroundColor); | ||
22 | mask: url('../../assets/images/header/search.svg') no-repeat 50% 50%; | ||
23 | 20 | ||
24 | // yolo | 21 | // yolo |
25 | position: absolute; | 22 | position: absolute; |
26 | margin-left: -35px; | 23 | margin-left: -35px; |
27 | margin-top: 5px; | 24 | margin-top: 3.5px; |
25 | right: 10px; | ||
28 | } | 26 | } |
29 | 27 | ||
30 | .jump-to-suggestions { | 28 | .jump-to-suggestions { |
diff --git a/client/src/app/header/suggestion.component.html b/client/src/app/header/suggestion.component.html index ab4b4b678..4ac9809e1 100644 --- a/client/src/app/header/suggestion.component.html +++ b/client/src/app/header/suggestion.component.html | |||
@@ -11,7 +11,7 @@ | |||
11 | ></div> | 11 | ></div> |
12 | 12 | ||
13 | <div class="border rounded flex-shrink-0 px-1 bg-gray text-gray-light ml-1 f6"> | 13 | <div class="border rounded flex-shrink-0 px-1 bg-gray text-gray-light ml-1 f6"> |
14 | <span *ngIf="result.type === 'search-instance'" i18n>In this instance</span> | 14 | <span *ngIf="result.type === 'search-instance'" i18n>In this instance's network</span> |
15 | <span *ngIf="result.type === 'search-index'" i18n>In the vidiverse</span> | 15 | <span *ngIf="result.type === 'search-index'" i18n>In the vidiverse</span> |
16 | </div> | 16 | </div> |
17 | </a> | 17 | </a> |
diff --git a/client/src/app/menu/menu.component.html b/client/src/app/menu/menu.component.html index a8d34088c..7f3bff170 100644 --- a/client/src/app/menu/menu.component.html +++ b/client/src/app/menu/menu.component.html | |||
@@ -26,7 +26,7 @@ | |||
26 | </a> | 26 | </a> |
27 | 27 | ||
28 | <a ngbDropdownItem ngbDropdownToggle class="dropdown-item" routerLink="/my-account/video-channels"> | 28 | <a ngbDropdownItem ngbDropdownToggle class="dropdown-item" routerLink="/my-account/video-channels"> |
29 | <my-global-icon iconName="folder" aria-hidden="true"></my-global-icon> <ng-container i18n>Channels settings</ng-container> | 29 | <my-global-icon iconName="channel" aria-hidden="true"></my-global-icon> <ng-container i18n>Channels settings</ng-container> |
30 | </a> | 30 | </a> |
31 | 31 | ||
32 | <div class="dropdown-divider"></div> | 32 | <div class="dropdown-divider"></div> |
diff --git a/client/src/app/menu/menu.component.scss b/client/src/app/menu/menu.component.scss index 8f8c31417..407d79725 100644 --- a/client/src/app/menu/menu.component.scss +++ b/client/src/app/menu/menu.component.scss | |||
@@ -296,7 +296,7 @@ menu { | |||
296 | top: -1px; | 296 | top: -1px; |
297 | margin-right: 10px; | 297 | margin-right: 10px; |
298 | 298 | ||
299 | background-image: url('../../assets/images/menu/keyboard.png'); | 299 | background-image: url('../../assets/images/misc/keyboard.png'); |
300 | } | 300 | } |
301 | } | 301 | } |
302 | 302 | ||
diff --git a/client/src/app/modal/quick-settings-modal.component.scss b/client/src/app/modal/quick-settings-modal.component.scss index ef21542f3..afc8460d0 100644 --- a/client/src/app/modal/quick-settings-modal.component.scss +++ b/client/src/app/modal/quick-settings-modal.component.scss | |||
@@ -30,7 +30,7 @@ | |||
30 | top: -1px; | 30 | top: -1px; |
31 | margin-right: 4px; | 31 | margin-right: 4px; |
32 | 32 | ||
33 | background-image: url('../../assets/images/menu/keyboard.png'); | 33 | background-image: url('../../assets/images/misc/keyboard.png'); |
34 | } | 34 | } |
35 | } | 35 | } |
36 | 36 | ||
diff --git a/client/src/app/shared/shared-icons/global-icon.component.ts b/client/src/app/shared/shared-icons/global-icon.component.ts index 3de926293..75ab9e8f5 100644 --- a/client/src/app/shared/shared-icons/global-icon.component.ts +++ b/client/src/app/shared/shared-icons/global-icon.component.ts | |||
@@ -2,62 +2,65 @@ import { ChangeDetectionStrategy, Component, ElementRef, Input, OnInit } from '@ | |||
2 | import { HooksService } from '@app/core/plugins/hooks.service' | 2 | import { HooksService } from '@app/core/plugins/hooks.service' |
3 | 3 | ||
4 | const icons = { | 4 | const icons = { |
5 | 'add': require('!!raw-loader?!../../../assets/images/global/add.svg').default, | 5 | // misc icons |
6 | 'user': require('!!raw-loader?!../../../assets/images/global/user.svg').default, | 6 | 'npm': require('!!raw-loader?!../../../assets/images/misc/npm.svg').default, |
7 | 'sign-out': require('!!raw-loader?!../../../assets/images/global/sign-out.svg').default, | 7 | 'language': require('!!raw-loader?!../../../assets/images/misc/language.svg').default, |
8 | 'syndication': require('!!raw-loader?!../../../assets/images/global/syndication.svg').default, | 8 | 'video-lang': require('!!raw-loader?!../../../assets/images/misc/video-lang.svg').default, |
9 | 'help': require('!!raw-loader?!../../../assets/images/global/help.svg').default, | 9 | 'support': require('!!raw-loader?!../../../assets/images/misc/support.svg').default, |
10 | 'sparkle': require('!!raw-loader?!../../../assets/images/global/sparkle.svg').default, | 10 | 'robot': require('!!raw-loader?!../../../assets/images/misc/miscellaneous_services.svg').default, // material ui |
11 | 'alert': require('!!raw-loader?!../../../assets/images/global/alert.svg').default, | 11 | 'videos': require('!!raw-loader?!../../../assets/images/misc/video_library.svg').default, // material ui |
12 | 'cloud-error': require('!!raw-loader?!../../../assets/images/global/cloud-error.svg').default, | 12 | 'history': require('!!raw-loader?!../../../assets/images/misc/history.svg').default, // material ui |
13 | 'clock': require('!!raw-loader?!../../../assets/images/global/clock.svg').default, | 13 | 'subscriptions': require('!!raw-loader?!../../../assets/images/misc/subscriptions.svg').default, // material ui |
14 | 'user-add': require('!!raw-loader?!../../../assets/images/global/user-add.svg').default, | 14 | 'playlist-add': require('!!raw-loader?!../../../assets/images/misc/playlist-add.svg').default, // material ui |
15 | 'no': require('!!raw-loader?!../../../assets/images/global/no.svg').default, | 15 | |
16 | 'cloud-download': require('!!raw-loader?!../../../assets/images/global/cloud-download.svg').default, | 16 | // feather icons |
17 | 'undo': require('!!raw-loader?!../../../assets/images/global/undo.svg').default, | 17 | 'flag': require('!!raw-loader?!../../../assets/images/feather/flag.svg').default, |
18 | 'history': require('!!raw-loader?!../../../assets/images/global/history.svg').default, | 18 | 'playlists': require('!!raw-loader?!../../../assets/images/feather/list.svg').default, |
19 | 'circle-tick': require('!!raw-loader?!../../../assets/images/global/circle-tick.svg').default, | 19 | 'syndication': require('!!raw-loader?!../../../assets/images/feather/syndication.svg').default, |
20 | 'cog': require('!!raw-loader?!../../../assets/images/global/cog.svg').default, | 20 | 'help': require('!!raw-loader?!../../../assets/images/feather/help.svg').default, |
21 | 'download': require('!!raw-loader?!../../../assets/images/global/download.svg').default, | 21 | 'alert': require('!!raw-loader?!../../../assets/images/feather/alert.svg').default, |
22 | 'go': require('!!raw-loader?!../../../assets/images/menu/go.svg').default, | 22 | 'globe': require('!!raw-loader?!../../../assets/images/feather/globe.svg').default, |
23 | 'edit': require('!!raw-loader?!../../../assets/images/global/edit.svg').default, | 23 | 'home': require('!!raw-loader?!../../../assets/images/feather/home.svg').default, |
24 | 'forward': require('!!raw-loader?!../../../assets/images/global/forward.svg').default, | 24 | 'recently-added': require('!!raw-loader?!../../../assets/images/feather/recently-added.svg').default, |
25 | 'delete': require('!!raw-loader?!../../../assets/images/global/delete.svg').default, | 25 | 'trending': require('!!raw-loader?!../../../assets/images/feather/trending.svg').default, |
26 | 'server': require('!!raw-loader?!../../../assets/images/global/server.svg').default, | 26 | 'search': require('!!raw-loader?!../../../assets/images/feather/search.svg').default, |
27 | 'cross': require('!!raw-loader?!../../../assets/images/global/cross.svg').default, | 27 | 'upload': require('!!raw-loader?!../../../assets/images/feather/upload.svg').default, |
28 | 'validate': require('!!raw-loader?!../../../assets/images/global/validate.svg').default, | 28 | 'dislike': require('!!raw-loader?!../../../assets/images/feather/dislike.svg').default, |
29 | 'tick': require('!!raw-loader?!../../../assets/images/global/tick.svg').default, | 29 | 'like': require('!!raw-loader?!../../../assets/images/feather/like.svg').default, |
30 | 'repeat': require('!!raw-loader?!../../../assets/images/global/repeat.svg').default, | 30 | 'no': require('!!raw-loader?!../../../assets/images/feather/no.svg').default, |
31 | 'inbox-full': require('!!raw-loader?!../../../assets/images/global/inbox-full.svg').default, | 31 | 'cloud-download': require('!!raw-loader?!../../../assets/images/feather/cloud-download.svg').default, |
32 | 'dislike': require('!!raw-loader?!../../../assets/images/video/dislike.svg').default, | 32 | 'clock': require('!!raw-loader?!../../../assets/images/feather/clock.svg').default, |
33 | 'support': require('!!raw-loader?!../../../assets/images/video/support.svg').default, | 33 | 'cog': require('!!raw-loader?!../../../assets/images/feather/cog.svg').default, |
34 | 'like': require('!!raw-loader?!../../../assets/images/video/like.svg').default, | 34 | 'delete': require('!!raw-loader?!../../../assets/images/feather/delete.svg').default, |
35 | 'more-horizontal': require('!!raw-loader?!../../../assets/images/global/more-horizontal.svg').default, | 35 | 'inbox-full': require('!!raw-loader?!../../../assets/images/feather/inbox-full.svg').default, |
36 | 'more-vertical': require('!!raw-loader?!../../../assets/images/global/more-vertical.svg').default, | 36 | 'sign-out': require('!!raw-loader?!../../../assets/images/feather/log-out.svg').default, |
37 | 'share': require('!!raw-loader?!../../../assets/images/video/share.svg').default, | 37 | 'download': require('!!raw-loader?!../../../assets/images/feather/download.svg').default, |
38 | 'upload': require('!!raw-loader?!../../../assets/images/video/upload.svg').default, | 38 | 'ownership-change': require('!!raw-loader?!../../../assets/images/feather/share.svg').default, |
39 | 'playlist-add': require('!!raw-loader?!../../../assets/images/video/playlist-add.svg').default, | 39 | 'share': require('!!raw-loader?!../../../assets/images/feather/share-2.svg').default, |
40 | 'play': require('!!raw-loader?!../../../assets/images/global/play.svg').default, | 40 | 'channel': require('!!raw-loader?!../../../assets/images/feather/tv.svg').default, |
41 | 'playlists': require('!!raw-loader?!../../../assets/images/global/playlists.svg').default, | 41 | 'user': require('!!raw-loader?!../../../assets/images/feather/user.svg').default, |
42 | 'globe': require('!!raw-loader?!../../../assets/images/menu/globe.svg').default, | 42 | 'users': require('!!raw-loader?!../../../assets/images/feather/users.svg').default, |
43 | 'home': require('!!raw-loader?!../../../assets/images/menu/home.svg').default, | 43 | 'user-add': require('!!raw-loader?!../../../assets/images/feather/user-plus.svg').default, |
44 | 'recently-added': require('!!raw-loader?!../../../assets/images/menu/recently-added.svg').default, | 44 | 'server': require('!!raw-loader?!../../../assets/images/feather/server.svg').default, |
45 | 'trending': require('!!raw-loader?!../../../assets/images/menu/trending.svg').default, | 45 | 'add': require('!!raw-loader?!../../../assets/images/feather/plus-circle.svg').default, |
46 | 'video-lang': require('!!raw-loader?!../../../assets/images/global/video-lang.svg').default, | 46 | 'cloud-error': require('!!raw-loader?!../../../assets/images/feather/cloud-off.svg').default, |
47 | 'videos': require('!!raw-loader?!../../../assets/images/global/videos.svg').default, | 47 | 'undo': require('!!raw-loader?!../../../assets/images/feather/corner-up-left.svg').default, |
48 | 'folder': require('!!raw-loader?!../../../assets/images/global/folder.svg').default, | 48 | 'circle-tick': require('!!raw-loader?!../../../assets/images/feather/check-circle.svg').default, |
49 | 'subscriptions': require('!!raw-loader?!../../../assets/images/menu/subscriptions.svg').default, | 49 | 'more-horizontal': require('!!raw-loader?!../../../assets/images/feather/more-horizontal.svg').default, |
50 | 'language': require('!!raw-loader?!../../../assets/images/menu/language.svg').default, | 50 | 'more-vertical': require('!!raw-loader?!../../../assets/images/feather/more-vertical.svg').default, |
51 | 'unsensitive': require('!!raw-loader?!../../../assets/images/menu/eye.svg').default, | 51 | 'play': require('!!raw-loader?!../../../assets/images/feather/play.svg').default, |
52 | 'sensitive': require('!!raw-loader?!../../../assets/images/menu/eye-closed.svg').default, | 52 | 'p2p': require('!!raw-loader?!../../../assets/images/feather/airplay.svg').default, |
53 | 'p2p': require('!!raw-loader?!../../../assets/images/menu/p2p.svg').default, | 53 | 'fullscreen': require('!!raw-loader?!../../../assets/images/feather/maximize.svg').default, |
54 | 'users': require('!!raw-loader?!../../../assets/images/global/users.svg').default, | 54 | 'exit-fullscreen': require('!!raw-loader?!../../../assets/images/feather/minimize.svg').default, |
55 | 'search': require('!!raw-loader?!../../../assets/images/global/search.svg').default, | 55 | 'film': require('!!raw-loader?!../../../assets/images/feather/film.svg').default, |
56 | 'refresh': require('!!raw-loader?!../../../assets/images/global/refresh.svg').default, | 56 | 'edit': require('!!raw-loader?!../../../assets/images/feather/edit-2.svg').default, |
57 | 'npm': require('!!raw-loader?!../../../assets/images/global/npm.svg').default, | 57 | 'sensitive': require('!!raw-loader?!../../../assets/images/feather/eye.svg').default, |
58 | 'fullscreen': require('!!raw-loader?!../../../assets/images/global/fullscreen.svg').default, | 58 | 'unsensitive': require('!!raw-loader?!../../../assets/images/feather/eye-off.svg').default, |
59 | 'exit-fullscreen': require('!!raw-loader?!../../../assets/images/global/exit-fullscreen.svg').default, | 59 | 'refresh': require('!!raw-loader?!../../../assets/images/feather/refresh-cw.svg').default, |
60 | 'robot': require('!!raw-loader?!../../../assets/images/global/robot.svg').default | 60 | 'go': require('!!raw-loader?!../../../assets/images/feather/arrow-up-right.svg').default, |
61 | 'cross': require('!!raw-loader?!../../../assets/images/feather/x.svg').default, | ||
62 | 'tick': require('!!raw-loader?!../../../assets/images/feather/check.svg').default, | ||
63 | 'repeat': require('!!raw-loader?!../../../assets/images/feather/repeat.svg').default | ||
61 | } | 64 | } |
62 | 65 | ||
63 | export type GlobalIconName = keyof typeof icons | 66 | export type GlobalIconName = keyof typeof icons |
diff --git a/client/src/app/shared/shared-main/buttons/button.component.scss b/client/src/app/shared/shared-main/buttons/button.component.scss index 3ccfefd7e..5b27af3f4 100644 --- a/client/src/app/shared/shared-main/buttons/button.component.scss +++ b/client/src/app/shared/shared-main/buttons/button.component.scss | |||
@@ -10,6 +10,10 @@ my-small-loader ::ng-deep .root { | |||
10 | .action-button { | 10 | .action-button { |
11 | @include peertube-button-link; | 11 | @include peertube-button-link; |
12 | @include button-with-icon(21px, 0, -2px); | 12 | @include button-with-icon(21px, 0, -2px); |
13 | |||
14 | > :nth-child(2) { | ||
15 | margin-left: 5px; | ||
16 | } | ||
13 | } | 17 | } |
14 | 18 | ||
15 | .orange-button { | 19 | .orange-button { |
diff --git a/client/src/app/shared/shared-main/users/user-notifications.component.html b/client/src/app/shared/shared-main/users/user-notifications.component.html index 08771110d..d5be1470e 100644 --- a/client/src/app/shared/shared-main/users/user-notifications.component.html +++ b/client/src/app/shared/shared-main/users/user-notifications.component.html | |||
@@ -43,7 +43,7 @@ | |||
43 | </ng-container> | 43 | </ng-container> |
44 | 44 | ||
45 | <ng-container *ngSwitchCase="UserNotificationType.NEW_VIDEO_ABUSE_FOR_MODERATORS"> | 45 | <ng-container *ngSwitchCase="UserNotificationType.NEW_VIDEO_ABUSE_FOR_MODERATORS"> |
46 | <my-global-icon iconName="alert" aria-hidden="true"></my-global-icon> | 46 | <my-global-icon iconName="flag" aria-hidden="true"></my-global-icon> |
47 | 47 | ||
48 | <div class="message" i18n> | 48 | <div class="message" i18n> |
49 | <a (click)="markAsRead(notification)" [routerLink]="notification.videoAbuseUrl">A new video abuse</a> has been created on video <a (click)="markAsRead(notification)" [routerLink]="notification.videoUrl">{{ notification.videoAbuse.video.name }}</a> | 49 | <a (click)="markAsRead(notification)" [routerLink]="notification.videoAbuseUrl">A new video abuse</a> has been created on video <a (click)="markAsRead(notification)" [routerLink]="notification.videoUrl">{{ notification.videoAbuse.video.name }}</a> |
@@ -81,7 +81,7 @@ | |||
81 | </ng-container> | 81 | </ng-container> |
82 | 82 | ||
83 | <ng-container *ngSwitchCase="UserNotificationType.MY_VIDEO_PUBLISHED"> | 83 | <ng-container *ngSwitchCase="UserNotificationType.MY_VIDEO_PUBLISHED"> |
84 | <my-global-icon iconName="sparkle" aria-hidden="true"></my-global-icon> | 84 | <my-global-icon iconName="film" aria-hidden="true"></my-global-icon> |
85 | 85 | ||
86 | <div class="message" i18n> | 86 | <div class="message" i18n> |
87 | Your video <a (click)="markAsRead(notification)" [routerLink]="notification.videoUrl">{{ notification.video.name }}</a> has been published | 87 | Your video <a (click)="markAsRead(notification)" [routerLink]="notification.videoUrl">{{ notification.video.name }}</a> has been published |
diff --git a/client/src/app/shared/shared-video-miniature/video-actions-dropdown.component.ts b/client/src/app/shared/shared-video-miniature/video-actions-dropdown.component.ts index 9bd0741df..3d1fc8690 100644 --- a/client/src/app/shared/shared-video-miniature/video-actions-dropdown.component.ts +++ b/client/src/app/shared/shared-video-miniature/video-actions-dropdown.component.ts | |||
@@ -283,7 +283,7 @@ export class VideoActionsDropdownComponent implements OnChanges { | |||
283 | label: this.i18n('Report'), | 283 | label: this.i18n('Report'), |
284 | handler: () => this.showReportModal(), | 284 | handler: () => this.showReportModal(), |
285 | isDisplayed: () => this.authService.isLoggedIn() && this.displayOptions.report, | 285 | isDisplayed: () => this.authService.isLoggedIn() && this.displayOptions.report, |
286 | iconName: 'alert' | 286 | iconName: 'flag' |
287 | } | 287 | } |
288 | ], | 288 | ], |
289 | [ // actions regarding the account/its server | 289 | [ // actions regarding the account/its server |