diff options
Diffstat (limited to 'client/src/app/+my-account')
8 files changed, 20 insertions, 18 deletions
diff --git a/client/src/app/+my-account/my-account-ownership/my-account-accept-ownership/my-account-accept-ownership.component.html b/client/src/app/+my-account/my-account-ownership/my-account-accept-ownership/my-account-accept-ownership.component.html index 674a4e8a2..a155d90e0 100644 --- a/client/src/app/+my-account/my-account-ownership/my-account-accept-ownership/my-account-accept-ownership.component.html +++ b/client/src/app/+my-account/my-account-ownership/my-account-accept-ownership/my-account-accept-ownership.component.html | |||
@@ -21,9 +21,10 @@ | |||
21 | 21 | ||
22 | <div class="modal-footer inputs"> | 22 | <div class="modal-footer inputs"> |
23 | <div class="form-group inputs"> | 23 | <div class="form-group inputs"> |
24 | <span i18n class="action-button action-button-cancel" (click)="dismiss()"> | 24 | <input |
25 | Cancel | 25 | type="button" role="button" i18n-value value="Cancel" class="action-button action-button-cancel" |
26 | </span> | 26 | (click)="dismiss()" (key.enter)="dismiss()" |
27 | > | ||
27 | 28 | ||
28 | <input | 29 | <input |
29 | type="submit" i18n-value value="Submit" class="action-button-submit" | 30 | type="submit" i18n-value value="Submit" class="action-button-submit" |
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 76886c73e..f39f66696 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 | |||
@@ -14,7 +14,7 @@ | |||
14 | <div class="form-group"> | 14 | <div class="form-group"> |
15 | <label i18n for="new-email">New email</label> | 15 | <label i18n for="new-email">New email</label> |
16 | <input | 16 | <input |
17 | type="email" id="new-email" i18n-placeholder placeholder="Your new email" | 17 | type="email" id="new-email" i18n-placeholder placeholder="Your new email" class="form-control" |
18 | formControlName="new-email" [ngClass]="{ 'input-error': formErrors['new-email'] }" | 18 | formControlName="new-email" [ngClass]="{ 'input-error': formErrors['new-email'] }" |
19 | > | 19 | > |
20 | <div *ngIf="formErrors['new-email']" class="form-error"> | 20 | <div *ngIf="formErrors['new-email']" class="form-error"> |
@@ -25,7 +25,7 @@ | |||
25 | <div class="form-group"> | 25 | <div class="form-group"> |
26 | <input | 26 | <input |
27 | type="password" id="password" i18n-placeholder placeholder="Your password" autocomplete="off" | 27 | type="password" id="password" i18n-placeholder placeholder="Your password" autocomplete="off" |
28 | formControlName="password" [ngClass]="{ 'input-error': formErrors['password'] }" | 28 | formControlName="password" [ngClass]="{ 'input-error': formErrors['password'] }" class="form-control" |
29 | > | 29 | > |
30 | <div *ngIf="formErrors['password']" class="form-error"> | 30 | <div *ngIf="formErrors['password']" class="form-error"> |
31 | {{ formErrors['password'] }} | 31 | {{ formErrors['password'] }} |
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 cec70c6b5..4756cfecd 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 | |||
@@ -5,7 +5,7 @@ | |||
5 | <label i18n for="current-password">Change password</label> | 5 | <label i18n for="current-password">Change password</label> |
6 | <input | 6 | <input |
7 | type="password" id="current-password" i18n-placeholder placeholder="Current password" autocomplete="current-password" | 7 | type="password" id="current-password" i18n-placeholder placeholder="Current password" autocomplete="current-password" |
8 | formControlName="current-password" [ngClass]="{ 'input-error': formErrors['current-password'] }" | 8 | formControlName="current-password" [ngClass]="{ 'input-error': formErrors['current-password'] }" class="form-control" |
9 | > | 9 | > |
10 | <div *ngIf="formErrors['current-password']" class="form-error"> | 10 | <div *ngIf="formErrors['current-password']" class="form-error"> |
11 | {{ formErrors['current-password'] }} | 11 | {{ formErrors['current-password'] }} |
@@ -13,7 +13,7 @@ | |||
13 | 13 | ||
14 | <input | 14 | <input |
15 | type="password" id="new-password" i18n-placeholder placeholder="New password" autocomplete="new-password" | 15 | type="password" id="new-password" i18n-placeholder placeholder="New password" autocomplete="new-password" |
16 | formControlName="new-password" [ngClass]="{ 'input-error': formErrors['new-password'] }" | 16 | formControlName="new-password" [ngClass]="{ 'input-error': formErrors['new-password'] }" class="form-control" |
17 | > | 17 | > |
18 | <div *ngIf="formErrors['new-password']" class="form-error"> | 18 | <div *ngIf="formErrors['new-password']" class="form-error"> |
19 | {{ formErrors['new-password'] }} | 19 | {{ formErrors['new-password'] }} |
@@ -21,7 +21,7 @@ | |||
21 | 21 | ||
22 | <input | 22 | <input |
23 | type="password" id="new-confirmed-password" i18n-placeholder placeholder="Confirm new password" autocomplete="new-password" | 23 | type="password" id="new-confirmed-password" i18n-placeholder placeholder="Confirm new password" autocomplete="new-password" |
24 | formControlName="new-confirmed-password" | 24 | formControlName="new-confirmed-password" class="form-control" |
25 | > | 25 | > |
26 | <div *ngIf="formErrors['new-confirmed-password']" class="form-error"> | 26 | <div *ngIf="formErrors['new-confirmed-password']" class="form-error"> |
27 | {{ formErrors['new-confirmed-password'] }} | 27 | {{ formErrors['new-confirmed-password'] }} |
diff --git a/client/src/app/+my-account/my-account-settings/my-account-interface/my-account-interface-settings.component.html b/client/src/app/+my-account/my-account-settings/my-account-interface/my-account-interface-settings.component.html index 6f48d8f7d..b12184ddc 100644 --- a/client/src/app/+my-account/my-account-settings/my-account-interface/my-account-interface-settings.component.html +++ b/client/src/app/+my-account/my-account-settings/my-account-interface/my-account-interface-settings.component.html | |||
@@ -3,7 +3,7 @@ | |||
3 | <label i18n for="theme">Theme</label> | 3 | <label i18n for="theme">Theme</label> |
4 | 4 | ||
5 | <div class="peertube-select-container"> | 5 | <div class="peertube-select-container"> |
6 | <select formControlName="theme" id="theme"> | 6 | <select formControlName="theme" id="theme" class="form-control"> |
7 | <option i18n value="instance-default">instance default</option> | 7 | <option i18n value="instance-default">instance default</option> |
8 | <option i18n value="default">peertube default</option> | 8 | <option i18n value="default">peertube default</option> |
9 | 9 | ||
diff --git a/client/src/app/+my-account/my-account-settings/my-account-profile/my-account-profile.component.html b/client/src/app/+my-account/my-account-settings/my-account-profile/my-account-profile.component.html index 14e51f57c..818e34ee0 100644 --- a/client/src/app/+my-account/my-account-settings/my-account-profile/my-account-profile.component.html +++ b/client/src/app/+my-account/my-account-settings/my-account-profile/my-account-profile.component.html | |||
@@ -5,7 +5,7 @@ | |||
5 | <div class="form-group"> | 5 | <div class="form-group"> |
6 | <label i18n for="display-name">Display name</label> | 6 | <label i18n for="display-name">Display name</label> |
7 | <input | 7 | <input |
8 | type="text" id="display-name" | 8 | type="text" id="display-name" class="form-control" |
9 | formControlName="display-name" [ngClass]="{ 'input-error': formErrors['display-name'] }" | 9 | formControlName="display-name" [ngClass]="{ 'input-error': formErrors['display-name'] }" |
10 | > | 10 | > |
11 | <div *ngIf="formErrors['display-name']" class="form-error"> | 11 | <div *ngIf="formErrors['display-name']" class="form-error"> |
@@ -16,7 +16,7 @@ | |||
16 | <div class="form-group"> | 16 | <div class="form-group"> |
17 | <label i18n for="description">Description</label> | 17 | <label i18n for="description">Description</label> |
18 | <textarea | 18 | <textarea |
19 | id="description" formControlName="description" | 19 | id="description" formControlName="description" class="form-control" |
20 | [ngClass]="{ 'input-error': formErrors['description'] }" | 20 | [ngClass]="{ 'input-error': formErrors['description'] }" |
21 | ></textarea> | 21 | ></textarea> |
22 | <div *ngIf="formErrors.description" class="form-error"> | 22 | <div *ngIf="formErrors.description" class="form-error"> |
diff --git a/client/src/app/+my-account/my-account-settings/my-account-video-settings/my-account-video-settings.component.html b/client/src/app/+my-account/my-account-settings/my-account-video-settings/my-account-video-settings.component.html index 7f4437b19..5e95e2f9a 100644 --- a/client/src/app/+my-account/my-account-settings/my-account-video-settings/my-account-video-settings.component.html +++ b/client/src/app/+my-account/my-account-settings/my-account-video-settings/my-account-video-settings.component.html | |||
@@ -10,7 +10,7 @@ | |||
10 | </my-help> | 10 | </my-help> |
11 | 11 | ||
12 | <div class="peertube-select-container"> | 12 | <div class="peertube-select-container"> |
13 | <select id="nsfwPolicy" formControlName="nsfwPolicy"> | 13 | <select id="nsfwPolicy" formControlName="nsfwPolicy" class="form-control"> |
14 | <option i18n value="do_not_list">Do not list</option> | 14 | <option i18n value="do_not_list">Do not list</option> |
15 | <option i18n value="blur">Blur thumbnails</option> | 15 | <option i18n value="blur">Blur thumbnails</option> |
16 | <option i18n value="display">Display</option> | 16 | <option i18n value="display">Display</option> |
diff --git a/client/src/app/+my-account/my-account-video-channels/my-account-video-channel-edit.component.html b/client/src/app/+my-account/my-account-video-channels/my-account-video-channel-edit.component.html index 29d2b935d..59ac5097b 100644 --- a/client/src/app/+my-account/my-account-video-channels/my-account-video-channel-edit.component.html +++ b/client/src/app/+my-account/my-account-video-channels/my-account-video-channel-edit.component.html | |||
@@ -33,7 +33,7 @@ | |||
33 | <div class="input-group"> | 33 | <div class="input-group"> |
34 | <input | 34 | <input |
35 | type="text" id="name" i18n-placeholder placeholder="Example: my_channel" | 35 | type="text" id="name" i18n-placeholder placeholder="Example: my_channel" |
36 | formControlName="name" [ngClass]="{ 'input-error': formErrors['name'] }" | 36 | formControlName="name" [ngClass]="{ 'input-error': formErrors['name'] }" class="form-control" |
37 | > | 37 | > |
38 | <div class="input-group-append"> | 38 | <div class="input-group-append"> |
39 | <span class="input-group-text">@{{ instanceHost }}</span> | 39 | <span class="input-group-text">@{{ instanceHost }}</span> |
@@ -52,7 +52,7 @@ | |||
52 | <div class="form-group"> | 52 | <div class="form-group"> |
53 | <label i18n for="display-name">Display name</label> | 53 | <label i18n for="display-name">Display name</label> |
54 | <input | 54 | <input |
55 | type="text" id="display-name" | 55 | type="text" id="display-name" class="form-control" |
56 | formControlName="display-name" [ngClass]="{ 'input-error': formErrors['display-name'] }" | 56 | formControlName="display-name" [ngClass]="{ 'input-error': formErrors['display-name'] }" |
57 | > | 57 | > |
58 | <div *ngIf="formErrors['display-name']" class="form-error"> | 58 | <div *ngIf="formErrors['display-name']" class="form-error"> |
@@ -63,7 +63,7 @@ | |||
63 | <div class="form-group"> | 63 | <div class="form-group"> |
64 | <label i18n for="description">Description</label> | 64 | <label i18n for="description">Description</label> |
65 | <textarea | 65 | <textarea |
66 | id="description" formControlName="description" | 66 | id="description" formControlName="description" class="form-control" |
67 | [ngClass]="{ 'input-error': formErrors['description'] }" | 67 | [ngClass]="{ 'input-error': formErrors['description'] }" |
68 | ></textarea> | 68 | ></textarea> |
69 | <div *ngIf="formErrors.description" class="form-error"> | 69 | <div *ngIf="formErrors.description" class="form-error"> |
diff --git a/client/src/app/+my-account/my-account-videos/video-change-ownership/video-change-ownership.component.html b/client/src/app/+my-account/my-account-videos/video-change-ownership/video-change-ownership.component.html index 22f127904..9d809d2bf 100644 --- a/client/src/app/+my-account/my-account-videos/video-change-ownership/video-change-ownership.component.html +++ b/client/src/app/+my-account/my-account-videos/video-change-ownership/video-change-ownership.component.html | |||
@@ -18,9 +18,10 @@ | |||
18 | 18 | ||
19 | <div class="modal-footer inputs"> | 19 | <div class="modal-footer inputs"> |
20 | <div class="form-group inputs"> | 20 | <div class="form-group inputs"> |
21 | <span i18n class="action-button action-button-cancel" (click)="dismiss()"> | 21 | <input |
22 | Cancel | 22 | type="button" role="button" i18n-value value="Cancel" class="action-button action-button-cancel" |
23 | </span> | 23 | (click)="dismiss()" (key.enter)="dismiss()" |
24 | > | ||
24 | 25 | ||
25 | <input | 26 | <input |
26 | type="submit" i18n-value value="Submit" class="action-button-submit" | 27 | type="submit" i18n-value value="Submit" class="action-button-submit" |