diff options
author | Chocobozzz <me@florianbigard.com> | 2022-06-10 15:58:38 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-06-10 15:58:38 +0200 |
commit | a70bf3bd3337406704af5907a015ba385df0483d (patch) | |
tree | 5c64314edae6dc68339116b26b7d0480cdb65e4e /client/src/app/+my-account | |
parent | b15fcd49bff880a8246cb48292af3ae8d66f0699 (diff) | |
download | PeerTube-a70bf3bd3337406704af5907a015ba385df0483d.tar.gz PeerTube-a70bf3bd3337406704af5907a015ba385df0483d.tar.zst PeerTube-a70bf3bd3337406704af5907a015ba385df0483d.zip |
Rename input toggle hidden to input text
It's more than just an hidden toggle
Diffstat (limited to 'client/src/app/+my-account')
5 files changed, 13 insertions, 13 deletions
diff --git a/client/src/app/+my-account/my-account-applications/my-account-applications.component.html b/client/src/app/+my-account/my-account-applications/my-account-applications.component.html index 8f3a55be5..2fc691707 100644 --- a/client/src/app/+my-account/my-account-applications/my-account-applications.component.html +++ b/client/src/app/+my-account/my-account-applications/my-account-applications.component.html | |||
@@ -17,12 +17,12 @@ | |||
17 | 17 | ||
18 | <div class="form-group"> | 18 | <div class="form-group"> |
19 | <label i18n for="feed-url">Feed URL</label> | 19 | <label i18n for="feed-url">Feed URL</label> |
20 | <my-input-toggle-hidden [value]="feedUrl" [withToggle]="false" [withCopy]="true" [show]="true" [readonly]="true"></my-input-toggle-hidden> | 20 | <my-input-text [value]="feedUrl" [withToggle]="false" [withCopy]="true" [show]="true" [readonly]="true"></my-input-text> |
21 | </div> | 21 | </div> |
22 | 22 | ||
23 | <div class="form-group"> | 23 | <div class="form-group"> |
24 | <label i18n for="feed-token">Feed Token</label> | 24 | <label i18n for="feed-token">Feed Token</label> |
25 | <my-input-toggle-hidden [value]="feedToken" [withCopy]="true" [readonly]="true"></my-input-toggle-hidden> | 25 | <my-input-text [value]="feedToken" [withCopy]="true" [readonly]="true"></my-input-text> |
26 | 26 | ||
27 | <div class="form-group-description" i18n>⚠️ Never share your feed token with anyone.</div> | 27 | <div class="form-group-description" i18n>⚠️ Never share your feed token with anyone.</div> |
28 | </div> | 28 | </div> |
diff --git a/client/src/app/+my-account/my-account-settings/my-account-change-email/my-account-change-email.component.html b/client/src/app/+my-account/my-account-settings/my-account-change-email/my-account-change-email.component.html index 6d2d7d46e..b0a9dbb38 100644 --- a/client/src/app/+my-account/my-account-settings/my-account-change-email/my-account-change-email.component.html +++ b/client/src/app/+my-account/my-account-settings/my-account-change-email/my-account-change-email.component.html | |||
@@ -23,11 +23,11 @@ | |||
23 | </div> | 23 | </div> |
24 | 24 | ||
25 | <div class="form-group"> | 25 | <div class="form-group"> |
26 | <my-input-toggle-hidden formControlName="password" | 26 | <my-input-text formControlName="password" |
27 | id="password" | 27 | id="password" |
28 | i18n-placeholder placeholder="Current password" | 28 | i18n-placeholder placeholder="Current password" |
29 | [ngClass]="{ 'input-error': formErrors['password'] }" | 29 | [ngClass]="{ 'input-error': formErrors['password'] }" |
30 | autocomplete="current-password"></my-input-toggle-hidden> | 30 | autocomplete="current-password"></my-input-text> |
31 | <div *ngIf="formErrors['password']" class="form-error"> | 31 | <div *ngIf="formErrors['password']" class="form-error"> |
32 | {{ formErrors['password'] }} | 32 | {{ formErrors['password'] }} |
33 | </div> | 33 | </div> |
diff --git a/client/src/app/+my-account/my-account-settings/my-account-change-email/my-account-change-email.component.scss b/client/src/app/+my-account/my-account-settings/my-account-change-email/my-account-change-email.component.scss index 788db02ad..9be9056b8 100644 --- a/client/src/app/+my-account/my-account-settings/my-account-change-email/my-account-change-email.component.scss +++ b/client/src/app/+my-account/my-account-settings/my-account-change-email/my-account-change-email.component.scss | |||
@@ -6,7 +6,7 @@ label { | |||
6 | font-size: 100%; | 6 | font-size: 100%; |
7 | } | 7 | } |
8 | 8 | ||
9 | my-input-toggle-hidden { | 9 | my-input-text { |
10 | width: 340px; | 10 | width: 340px; |
11 | display: block; | 11 | display: block; |
12 | } | 12 | } |
diff --git a/client/src/app/+my-account/my-account-settings/my-account-change-password/my-account-change-password.component.html b/client/src/app/+my-account/my-account-settings/my-account-change-password/my-account-change-password.component.html index 43facb7ed..f1deb4273 100644 --- a/client/src/app/+my-account/my-account-settings/my-account-change-password/my-account-change-password.component.html +++ b/client/src/app/+my-account/my-account-settings/my-account-change-password/my-account-change-password.component.html | |||
@@ -3,29 +3,29 @@ | |||
3 | <form role="form" (ngSubmit)="changePassword()" [formGroup]="form"> | 3 | <form role="form" (ngSubmit)="changePassword()" [formGroup]="form"> |
4 | 4 | ||
5 | <label i18n for="current-password">Change password</label> | 5 | <label i18n for="current-password">Change password</label> |
6 | <my-input-toggle-hidden formControlName="current-password" | 6 | <my-input-text formControlName="current-password" |
7 | inputId="current-password" | 7 | inputId="current-password" |
8 | i18n-placeholder placeholder="Current password" | 8 | i18n-placeholder placeholder="Current password" |
9 | [ngClass]="{ 'input-error': formErrors['current-password'] }" | 9 | [ngClass]="{ 'input-error': formErrors['current-password'] }" |
10 | autocomplete="current-password"></my-input-toggle-hidden> | 10 | autocomplete="current-password"></my-input-text> |
11 | <div *ngIf="formErrors['current-password']" class="form-error"> | 11 | <div *ngIf="formErrors['current-password']" class="form-error"> |
12 | {{ formErrors['current-password'] }} | 12 | {{ formErrors['current-password'] }} |
13 | </div> | 13 | </div> |
14 | 14 | ||
15 | <my-input-toggle-hidden formControlName="new-password" | 15 | <my-input-text formControlName="new-password" |
16 | inputId="new-password" | 16 | inputId="new-password" |
17 | i18n-placeholder placeholder="New password" | 17 | i18n-placeholder placeholder="New password" |
18 | [ngClass]="{ 'input-error': formErrors['new-password'] }" | 18 | [ngClass]="{ 'input-error': formErrors['new-password'] }" |
19 | autocomplete="new-password"></my-input-toggle-hidden> | 19 | autocomplete="new-password"></my-input-text> |
20 | <div *ngIf="formErrors['new-password']" class="form-error"> | 20 | <div *ngIf="formErrors['new-password']" class="form-error"> |
21 | {{ formErrors['new-password'] }} | 21 | {{ formErrors['new-password'] }} |
22 | </div> | 22 | </div> |
23 | 23 | ||
24 | <my-input-toggle-hidden formControlName="new-confirmed-password" | 24 | <my-input-text formControlName="new-confirmed-password" |
25 | inputId="new-confirmed-password" | 25 | inputId="new-confirmed-password" |
26 | i18n-placeholder placeholder="Confirm new password" | 26 | i18n-placeholder placeholder="Confirm new password" |
27 | [ngClass]="{ 'input-error': formErrors['new-confirmed-password'] }" | 27 | [ngClass]="{ 'input-error': formErrors['new-confirmed-password'] }" |
28 | autocomplete="new-password"></my-input-toggle-hidden> | 28 | autocomplete="new-password"></my-input-text> |
29 | <div *ngIf="formErrors['new-confirmed-password']" class="form-error"> | 29 | <div *ngIf="formErrors['new-confirmed-password']" class="form-error"> |
30 | {{ formErrors['new-confirmed-password'] }} | 30 | {{ formErrors['new-confirmed-password'] }} |
31 | </div> | 31 | </div> |
diff --git a/client/src/app/+my-account/my-account-settings/my-account-change-password/my-account-change-password.component.scss b/client/src/app/+my-account/my-account-settings/my-account-change-password/my-account-change-password.component.scss index c46aae266..ab6a43b57 100644 --- a/client/src/app/+my-account/my-account-settings/my-account-change-password/my-account-change-password.component.scss +++ b/client/src/app/+my-account/my-account-settings/my-account-change-password/my-account-change-password.component.scss | |||
@@ -6,12 +6,12 @@ label { | |||
6 | font-size: 100%; | 6 | font-size: 100%; |
7 | } | 7 | } |
8 | 8 | ||
9 | my-input-toggle-hidden { | 9 | my-input-text { |
10 | width: 340px; | 10 | width: 340px; |
11 | display: block; | 11 | display: block; |
12 | } | 12 | } |
13 | 13 | ||
14 | my-input-toggle-hidden + my-input-toggle-hidden { | 14 | my-input-text + my-input-text { |
15 | margin-top: 15px; | 15 | margin-top: 15px; |
16 | } | 16 | } |
17 | 17 | ||