diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-04-02 11:39:14 +0200 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2020-04-02 11:39:14 +0200 |
commit | a6d5ff7604a3c2a94ff8814e2df7ca7bb2b48634 (patch) | |
tree | d8b27f30741ae3c9a2a72c68210644c16cd8d9b3 /client/src/app/login/login.component.html | |
parent | 21973012ab06a93dd901821dbbe078eb793bac4d (diff) | |
download | PeerTube-a6d5ff7604a3c2a94ff8814e2df7ca7bb2b48634.tar.gz PeerTube-a6d5ff7604a3c2a94ff8814e2df7ca7bb2b48634.tar.zst PeerTube-a6d5ff7604a3c2a94ff8814e2df7ca7bb2b48634.zip |
Use form-control to display box-shadow on form inputs/selects upon focus
Diffstat (limited to 'client/src/app/login/login.component.html')
-rw-r--r-- | client/src/app/login/login.component.html | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/client/src/app/login/login.component.html b/client/src/app/login/login.component.html index 38b59a1eb..3a2d4b876 100644 --- a/client/src/app/login/login.component.html +++ b/client/src/app/login/login.component.html | |||
@@ -28,7 +28,7 @@ | |||
28 | <label i18n for="username">User</label> | 28 | <label i18n for="username">User</label> |
29 | <input | 29 | <input |
30 | type="text" id="username" i18n-placeholder placeholder="Username or email address" required tabindex="1" | 30 | type="text" id="username" i18n-placeholder placeholder="Username or email address" required tabindex="1" |
31 | formControlName="username" [ngClass]="{ 'input-error': formErrors['username'] }" #emailInput | 31 | formControlName="username" class="form-control" [ngClass]="{ 'input-error': formErrors['username'] }" #emailInput |
32 | > | 32 | > |
33 | <a i18n *ngIf="signupAllowed === true" routerLink="/signup" class="create-an-account"> | 33 | <a i18n *ngIf="signupAllowed === true" routerLink="/signup" class="create-an-account"> |
34 | or create an account | 34 | or create an account |
@@ -45,7 +45,7 @@ | |||
45 | <div> | 45 | <div> |
46 | <input | 46 | <input |
47 | type="password" name="password" id="password" i18n-placeholder placeholder="Password" required tabindex="2" autocomplete="current-password" | 47 | type="password" name="password" id="password" i18n-placeholder placeholder="Password" required tabindex="2" autocomplete="current-password" |
48 | formControlName="password" [ngClass]="{ 'input-error': formErrors['password'] }" | 48 | formControlName="password" class="form-control" [ngClass]="{ 'input-error': formErrors['password'] }" |
49 | > | 49 | > |
50 | <a i18n-title class="forgot-password-button" (click)="openForgotPasswordModal()" title="Click here to reset your password">I forgot my password</a> | 50 | <a i18n-title class="forgot-password-button" (click)="openForgotPasswordModal()" title="Click here to reset your password">I forgot my password</a> |
51 | </div> | 51 | </div> |
@@ -81,7 +81,10 @@ | |||
81 | </div> | 81 | </div> |
82 | 82 | ||
83 | <div class="modal-footer inputs"> | 83 | <div class="modal-footer inputs"> |
84 | <span i18n class="action-button action-button-cancel" (click)="hideForgotPasswordModal()">Cancel</span> | 84 | <input |
85 | type="button" role="button" i18n-value value="Cancel" class="action-button action-button-cancel" | ||
86 | (click)="hideForgotPasswordModal()" (key.enter)="hideForgotPasswordModal()" | ||
87 | > | ||
85 | 88 | ||
86 | <input | 89 | <input |
87 | type="submit" i18n-value value="Send me an email to reset my password" class="action-button-submit" | 90 | type="submit" i18n-value value="Send me an email to reset my password" class="action-button-submit" |