aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/account/account-settings
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/account/account-settings')
-rw-r--r--client/src/app/account/account-settings/account-change-password/account-change-password.component.html8
-rw-r--r--client/src/app/account/account-settings/account-change-password/account-change-password.component.scss7
-rw-r--r--client/src/app/account/account-settings/account-details/account-details.component.html2
-rw-r--r--client/src/app/account/account-settings/account-details/account-details.component.scss1
4 files changed, 12 insertions, 6 deletions
diff --git a/client/src/app/account/account-settings/account-change-password/account-change-password.component.html b/client/src/app/account/account-settings/account-change-password/account-change-password.component.html
index c57e705f9..b0e3cada4 100644
--- a/client/src/app/account/account-settings/account-change-password/account-change-password.component.html
+++ b/client/src/app/account/account-settings/account-change-password/account-change-password.component.html
@@ -4,15 +4,15 @@
4 4
5 <label for="new-password">Change password</label> 5 <label for="new-password">Change password</label>
6 <input 6 <input
7 type="password" class="form-control" id="new-password" placeholder="Old password" 7 type="password" id="new-password" placeholder="New password"
8 formControlName="new-password" 8 formControlName="new-password" [ngClass]="{ 'input-error': formErrors['new-password'] }"
9 > 9 >
10 <div *ngIf="formErrors['new-password']" class="alert alert-danger"> 10 <div *ngIf="formErrors['new-password']" class="form-error">
11 {{ formErrors['new-password'] }} 11 {{ formErrors['new-password'] }}
12 </div> 12 </div>
13 13
14 <input 14 <input
15 type="password" id="new-confirmed-password" placeholder="New password" 15 type="password" id="new-confirmed-password" placeholder="Confirm new password"
16 formControlName="new-confirmed-password" 16 formControlName="new-confirmed-password"
17 > 17 >
18 18
diff --git a/client/src/app/account/account-settings/account-change-password/account-change-password.component.scss b/client/src/app/account/account-settings/account-change-password/account-change-password.component.scss
index 593355b70..75827abbf 100644
--- a/client/src/app/account/account-settings/account-change-password/account-change-password.component.scss
+++ b/client/src/app/account/account-settings/account-change-password/account-change-password.component.scss
@@ -1,9 +1,14 @@
1input[type=password] { 1input[type=password] {
2 @include peertube-input-text(340px); 2 @include peertube-input-text(340px);
3 display: block; 3 display: block;
4 margin-bottom: 10px; 4
5 &#new-confirmed-password {
6 margin-top: 15px;
7 }
5} 8}
6 9
7input[type=submit] { 10input[type=submit] {
8 @include peertube-button; 11 @include peertube-button;
12 margin-top: 15px;
9} 13}
14
diff --git a/client/src/app/account/account-settings/account-details/account-details.component.html b/client/src/app/account/account-settings/account-details/account-details.component.html
index c3cf6b629..bc18b39b4 100644
--- a/client/src/app/account/account-settings/account-details/account-details.component.html
+++ b/client/src/app/account/account-settings/account-details/account-details.component.html
@@ -10,5 +10,5 @@
10 {{ formErrors['displayNSFW'] }} 10 {{ formErrors['displayNSFW'] }}
11 </div> 11 </div>
12 12
13 <input type="submit" value="Update" [disabled]="!form.valid"> 13 <input type="submit" value="Save" [disabled]="!form.valid">
14</form> 14</form>
diff --git a/client/src/app/account/account-settings/account-details/account-details.component.scss b/client/src/app/account/account-settings/account-details/account-details.component.scss
index b1810d4f9..687166d9e 100644
--- a/client/src/app/account/account-settings/account-details/account-details.component.scss
+++ b/client/src/app/account/account-settings/account-details/account-details.component.scss
@@ -8,4 +8,5 @@ input[type=submit] {
8 @include peertube-button; 8 @include peertube-button;
9 9
10 display: block; 10 display: block;
11 margin-top: 15px;
11} 12}