diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-12-04 15:58:55 +0100 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2020-12-04 16:01:53 +0100 |
commit | f8b530e0a523a0d9ff469ef716838374c395a360 (patch) | |
tree | a55d49365e539582dd5000a2c73b9351df93a52d /client/src/app/shared/shared-share-modal/video-share.component.html | |
parent | aa5ee5017a83b280352f8dbcfed2d4741709a4fd (diff) | |
download | PeerTube-f8b530e0a523a0d9ff469ef716838374c395a360.tar.gz PeerTube-f8b530e0a523a0d9ff469ef716838374c395a360.tar.zst PeerTube-f8b530e0a523a0d9ff469ef716838374c395a360.zip |
unify inputs requiring buttons like password inputs
Diffstat (limited to 'client/src/app/shared/shared-share-modal/video-share.component.html')
-rw-r--r-- | client/src/app/shared/shared-share-modal/video-share.component.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/client/src/app/shared/shared-share-modal/video-share.component.html b/client/src/app/shared/shared-share-modal/video-share.component.html index 80b4e446a..bcb1db4c4 100644 --- a/client/src/app/shared/shared-share-modal/video-share.component.html +++ b/client/src/app/shared/shared-share-modal/video-share.component.html | |||
@@ -18,7 +18,7 @@ | |||
18 | <ng-template ngbNavContent> | 18 | <ng-template ngbNavContent> |
19 | <div class="nav-content"> | 19 | <div class="nav-content"> |
20 | 20 | ||
21 | <my-input-readonly-copy [value]="getPlaylistUrl()"></my-input-readonly-copy> | 21 | <my-input-toggle-hidden [value]="getPlaylistUrl()" [withToggle]="false" [withCopy]="true" [show]="true" [readonly]="true"></my-input-toggle-hidden> |
22 | </div> | 22 | </div> |
23 | </ng-template> | 23 | </ng-template> |
24 | </ng-container> | 24 | </ng-container> |
@@ -38,7 +38,7 @@ | |||
38 | 38 | ||
39 | <ng-template ngbNavContent> | 39 | <ng-template ngbNavContent> |
40 | <div class="nav-content"> | 40 | <div class="nav-content"> |
41 | <my-input-readonly-copy [value]="getPlaylistIframeCode()"></my-input-readonly-copy> | 41 | <my-input-toggle-hidden [value]="getPlaylistIframeCode()" [withToggle]="false" [withCopy]="true" [show]="true" [readonly]="true"></my-input-toggle-hidden> |
42 | 42 | ||
43 | <div i18n *ngIf="notSecure()" class="alert alert-warning"> | 43 | <div i18n *ngIf="notSecure()" class="alert alert-warning"> |
44 | The url is not secured (no HTTPS), so the embed video won't work on HTTPS websites (web browsers block non secured HTTP requests on HTTPS websites). | 44 | The url is not secured (no HTTPS), so the embed video won't work on HTTPS websites (web browsers block non secured HTTP requests on HTTPS websites). |
@@ -72,7 +72,7 @@ | |||
72 | 72 | ||
73 | <ng-template ngbNavContent> | 73 | <ng-template ngbNavContent> |
74 | <div class="nav-content"> | 74 | <div class="nav-content"> |
75 | <my-input-readonly-copy [value]="getVideoUrl()"></my-input-readonly-copy> | 75 | <my-input-toggle-hidden [value]="getVideoUrl()" [withToggle]="false" [withCopy]="true" [show]="true" [readonly]="true"></my-input-toggle-hidden> |
76 | </div> | 76 | </div> |
77 | </ng-template> | 77 | </ng-template> |
78 | </ng-container> | 78 | </ng-container> |
@@ -92,7 +92,7 @@ | |||
92 | 92 | ||
93 | <ng-template ngbNavContent> | 93 | <ng-template ngbNavContent> |
94 | <div class="nav-content"> | 94 | <div class="nav-content"> |
95 | <my-input-readonly-copy [value]="getVideoIframeCode()"></my-input-readonly-copy> | 95 | <my-input-toggle-hidden [value]="getVideoIframeCode()" [withToggle]="false" [withCopy]="true" [show]="true" [readonly]="true"></my-input-toggle-hidden> |
96 | 96 | ||
97 | <div i18n *ngIf="notSecure()" class="alert alert-warning"> | 97 | <div i18n *ngIf="notSecure()" class="alert alert-warning"> |
98 | The url is not secured (no HTTPS), so the embed video won't work on HTTPS websites (web browsers block non secured HTTP requests on HTTPS websites). | 98 | The url is not secured (no HTTPS), so the embed video won't work on HTTPS websites (web browsers block non secured HTTP requests on HTTPS websites). |