aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
authorspf <spf@sanspseudofix.fr>2018-06-08 15:18:39 +0200
committerChocobozzz <me@florianbigard.com>2018-06-08 15:18:39 +0200
commit696fa4c06b2351983740eb617ad46eb8eeb2c4e8 (patch)
tree40462917cd246ec98298590662d5886b13a949f6 /client/src/app
parent6d272f396c269b62537b3719fed4e2f2119b05d7 (diff)
downloadPeerTube-696fa4c06b2351983740eb617ad46eb8eeb2c4e8.tar.gz
PeerTube-696fa4c06b2351983740eb617ad46eb8eeb2c4e8.tar.zst
PeerTube-696fa4c06b2351983740eb617ad46eb8eeb2c4e8.zip
Enable default link behavior and accessibility for login page (#636)
* enable default link behavior and accessibility for login page * alt for link: great idea, but the world is not ready
Diffstat (limited to 'client/src/app')
-rw-r--r--client/src/app/login/login.component.html4
-rw-r--r--client/src/app/login/login.component.scss10
2 files changed, 4 insertions, 10 deletions
diff --git a/client/src/app/login/login.component.html b/client/src/app/login/login.component.html
index 1f6cfdb90..1846fd19e 100644
--- a/client/src/app/login/login.component.html
+++ b/client/src/app/login/login.component.html
@@ -17,7 +17,7 @@
17 or create an account 17 or create an account
18 </a> 18 </a>
19 19
20 <a i18n *ngIf="signupAllowed === false" href="https://joinpeertube.org/en/#getting-started" target="_blank" class="create-an-account"> 20 <a i18n *ngIf="signupAllowed === false" href="https://joinpeertube.org/en/#getting-started" target="_blank" title="Click here to see how to get started!" class="create-an-account">
21 or create an account on another instance 21 or create an account on another instance
22 </a> 22 </a>
23 23
@@ -39,7 +39,7 @@
39 type="password" name="password" id="password" i18n-placeholder placeholder="Password" required tabindex="2" 39 type="password" name="password" id="password" i18n-placeholder placeholder="Password" required tabindex="2"
40 formControlName="password" [ngClass]="{ 'input-error': formErrors['password'] }" 40 formControlName="password" [ngClass]="{ 'input-error': formErrors['password'] }"
41 > 41 >
42 <div i18n class="forgot-password-button" (click)="openForgotPasswordModal()">I forgot my password</div> 42 <a i18n class="forgot-password-button" (click)="openForgotPasswordModal()" title="Click here to reset your password">I forgot my password</a>
43 </div> 43 </div>
44 <div *ngIf="formErrors.password" class="form-error"> 44 <div *ngIf="formErrors.password" class="form-error">
45 {{ formErrors.password }} 45 {{ formErrors.password }}
diff --git a/client/src/app/login/login.component.scss b/client/src/app/login/login.component.scss
index 4a37ee961..900b2467a 100644
--- a/client/src/app/login/login.component.scss
+++ b/client/src/app/login/login.component.scss
@@ -17,13 +17,7 @@ input[type=submit] {
17 @include orange-button; 17 @include orange-button;
18} 18}
19 19
20.forgot-password-button { 20.create-an-account, .forgot-password-button {
21 display: inline-block;
22 cursor: pointer;
23}
24
25.create-an-account {
26 @include disable-default-a-behaviour;
27
28 color: #000; 21 color: #000;
22 cursor: pointer;
29} 23}