diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/src/app/core/plugins/plugin.service.ts | 2 | ||||
-rw-r--r-- | client/src/app/shared/images/global-icon.component.ts | 2 | ||||
-rw-r--r-- | client/src/app/videos/+video-watch/video-watch.component.html | 4 | ||||
-rw-r--r-- | client/src/assets/images/video/heart.svg | 11 | ||||
-rw-r--r-- | client/src/assets/images/video/support.svg | 14 |
5 files changed, 18 insertions, 15 deletions
diff --git a/client/src/app/core/plugins/plugin.service.ts b/client/src/app/core/plugins/plugin.service.ts index 3f96ef6de..e24468da5 100644 --- a/client/src/app/core/plugins/plugin.service.ts +++ b/client/src/app/core/plugins/plugin.service.ts | |||
@@ -12,7 +12,7 @@ import { ClientHook, ClientHookName, clientHookObject } from '@shared/models/plu | |||
12 | import { PluginClientScope } from '@shared/models/plugins/plugin-client-scope.type' | 12 | import { PluginClientScope } from '@shared/models/plugins/plugin-client-scope.type' |
13 | import { RegisterClientHookOptions } from '@shared/models/plugins/register-client-hook.model' | 13 | import { RegisterClientHookOptions } from '@shared/models/plugins/register-client-hook.model' |
14 | import { HttpClient } from '@angular/common/http' | 14 | import { HttpClient } from '@angular/common/http' |
15 | import { AuthService } from '@app/core' | 15 | import { AuthService } from '@app/core/auth' |
16 | import { RestExtractor } from '@app/shared/rest' | 16 | import { RestExtractor } from '@app/shared/rest' |
17 | import { PluginType } from '@shared/models/plugins/plugin.type' | 17 | import { PluginType } from '@shared/models/plugins/plugin.type' |
18 | import { PublicServerSetting } from '@shared/models/plugins/public-server.setting' | 18 | import { PublicServerSetting } from '@shared/models/plugins/public-server.setting' |
diff --git a/client/src/app/shared/images/global-icon.component.ts b/client/src/app/shared/images/global-icon.component.ts index a56674b58..a13b7d8e0 100644 --- a/client/src/app/shared/images/global-icon.component.ts +++ b/client/src/app/shared/images/global-icon.component.ts | |||
@@ -26,7 +26,7 @@ const icons = { | |||
26 | 'validate': require('!!raw-loader?!../../../assets/images/global/validate.svg'), | 26 | 'validate': require('!!raw-loader?!../../../assets/images/global/validate.svg'), |
27 | 'tick': require('!!raw-loader?!../../../assets/images/global/tick.svg'), | 27 | 'tick': require('!!raw-loader?!../../../assets/images/global/tick.svg'), |
28 | 'dislike': require('!!raw-loader?!../../../assets/images/video/dislike.svg'), | 28 | 'dislike': require('!!raw-loader?!../../../assets/images/video/dislike.svg'), |
29 | 'heart': require('!!raw-loader?!../../../assets/images/video/heart.svg'), | 29 | 'support': require('!!raw-loader?!../../../assets/images/video/support.svg'), |
30 | 'like': require('!!raw-loader?!../../../assets/images/video/like.svg'), | 30 | 'like': require('!!raw-loader?!../../../assets/images/video/like.svg'), |
31 | 'more-horizontal': require('!!raw-loader?!../../../assets/images/global/more-horizontal.svg'), | 31 | 'more-horizontal': require('!!raw-loader?!../../../assets/images/global/more-horizontal.svg'), |
32 | 'more-vertical': require('!!raw-loader?!../../../assets/images/global/more-vertical.svg'), | 32 | 'more-vertical': require('!!raw-loader?!../../../assets/images/global/more-vertical.svg'), |
diff --git a/client/src/app/videos/+video-watch/video-watch.component.html b/client/src/app/videos/+video-watch/video-watch.component.html index 5b98a7bd4..647cc3c57 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.html +++ b/client/src/app/videos/+video-watch/video-watch.component.html | |||
@@ -73,8 +73,8 @@ | |||
73 | <my-global-icon iconName="dislike"></my-global-icon> | 73 | <my-global-icon iconName="dislike"></my-global-icon> |
74 | </div> | 74 | </div> |
75 | 75 | ||
76 | <div *ngIf="video.support" (click)="showSupportModal()" class="action-button"> | 76 | <div *ngIf="video.support" (click)="showSupportModal()" class="action-button action-button-support"> |
77 | <my-global-icon iconName="heart"></my-global-icon> | 77 | <my-global-icon iconName="support"></my-global-icon> |
78 | <span class="icon-text" i18n>Support</span> | 78 | <span class="icon-text" i18n>Support</span> |
79 | </div> | 79 | </div> |
80 | 80 | ||
diff --git a/client/src/assets/images/video/heart.svg b/client/src/assets/images/video/heart.svg deleted file mode 100644 index 618f64f10..000000000 --- a/client/src/assets/images/video/heart.svg +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> | ||
2 | <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> | ||
3 | <g transform="translate(-48.000000, -1046.000000)" fill-rule="nonzero" fill="#000000"> | ||
4 | <g transform="translate(48.000000, 1046.000000)"> | ||
5 | <g id="heart"> | ||
6 | <path d="M12.0174466,21 L20.9041801,11.3556763 C22.6291961,9.13778099 22.2795957,5.90145416 20.1233257,4.12713796 C17.9670557,2.35282175 14.8206518,2.71241362 13.0956358,4.93030888 L12.0174465,6.5 L10.9043642,4.93030888 C9.17934824,2.71241362 6.0329443,2.35282175 3.87667432,4.12713796 C1.72040435,5.90145416 1.37080391,9.13778099 3.09581989,11.3556763 L12.0174466,21 Z"></path> | ||
7 | </g> | ||
8 | </g> | ||
9 | </g> | ||
10 | </g> | ||
11 | </svg> | ||
diff --git a/client/src/assets/images/video/support.svg b/client/src/assets/images/video/support.svg new file mode 100644 index 000000000..351d52b86 --- /dev/null +++ b/client/src/assets/images/video/support.svg | |||
@@ -0,0 +1,14 @@ | |||
1 | <svg xmlns="http://www.w3.org/2000/svg" | ||
2 | version="1.1" | ||
3 | viewBox="0 0 947.70386 999.3125" | ||
4 | width="947.70386" | ||
5 | height="999.3125"> | ||
6 | <g transform="translate(2.669496,27.625894)"> | ||
7 | <g transform="matrix(0.1,0,0,-0.1,0,511)"> | ||
8 | <path d="m 3744.3542,4564.3712 c -217.4,-34.2 -520.3,-200.3 -693.7,-376.2 -263.8,-263.8 -388.4,-571.6 -388.4,-952.6 0,-256.5 44,-437.2 173.4,-684 75.7,-144.1 197.9,-280.9 747.5,-842.7 1106.5,-1133.40001 1138.2,-1165.20001 1253,-1194.50001 188.1,-51.3 214.9,-29.3 1162.7,938.00001 498.3,508.1 911.1,950.2 962.4,1030.8 263.8,415.3 283.3,964.9 48.8,1409.4 -180.8,342 -581.3,620.4 -972.2,676.6 -332.2,48.9 -671.7,-36.6 -967.3,-236.9 l -156.3,-109.9 -119.7,87.9 c -158.8,117.2 -351.8,202.7 -554.5,244.3 -183.1,39.1 -295.4,41.6 -495.7,9.8 z" | ||
9 | fill="#000000"/> | ||
10 | <path d="m 7991.4051,47.633899 c -39.1,-19.5 -473.9,-437.299999 -964.9,-925.800029 l -891.6,-891.59997 h -830.5 c -757.2,0 -837.8,4.9 -913.6,44 -207.6,112.4 -227.2,415.2 -39.1,561.8 66,53.7 83,53.7 950.2,53.7 989.3,0 1008.8,2.5 1094.3,173.49997 56.2,105 56.2,317.50003 4.9,427.50003 -83.1,175.9 4.8,168.5 -1915.1,168.5 h -1722 l -173.4,-63.5 c -95.3,-34.2 -232.1,-102.6 -305.3,-151.5 -73.3,-48.9 -442.1,-400.60003 -823.2,-779.2 l -688.80006,-693.7 664.40006,-647.3 c 366.4,-354.2 779.2,-754.8 918.4,-889.1 l 251.6,-241.8 481.2,481.2 481.2,481.2 h 1487.6 c 1294.6,0 1494.9,4.9 1565.8,39.1 58.6,26.9 339.6,368.8 1028.4,1248.2 522.8,666.89997 964.9,1243.3 982,1284.9 41.5,92.8 2.5,212.499999 -95.3,297.999999 -66,53.7 -95.3,61.1 -273.6,61.1 -132,-0.1 -224.8,-12.3 -273.6,-39.2 z" | ||
11 | fill="#000000"/> | ||
12 | </g> | ||
13 | </g> | ||
14 | </svg> | ||