diff options
Diffstat (limited to 'client/src/app/+login/login.component.html')
-rw-r--r-- | client/src/app/+login/login.component.html | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/client/src/app/+login/login.component.html b/client/src/app/+login/login.component.html index 49b443a20..40049390e 100644 --- a/client/src/app/+login/login.component.html +++ b/client/src/app/+login/login.component.html | |||
@@ -13,7 +13,7 @@ | |||
13 | </h5> | 13 | </h5> |
14 | 14 | ||
15 | <p *ngIf="signupAllowed" i18n> | 15 | <p *ngIf="signupAllowed" i18n> |
16 | This instance allows registration. However, be careful to check the <a class="link-orange terms-anchor" (click)="onTermsClick($event, instanceInformation)" href='#'>Terms</a><a class="terms-link" target="_blank" routerLink="/about/instance" fragment="terms">Terms</a> before creating an account. | 16 | This instance allows registration. However, be careful to check the <a class="link-orange terms-anchor d-inline" (click)="onTermsClick($event, instanceInformation)" href='#'>Terms</a><a class="terms-link" target="_blank" routerLink="/about/instance" fragment="terms">Terms</a> before creating an account. |
17 | You may also search for another instance to match your exact needs at: <a class="link-orange" href="https://joinpeertube.org/instances" target="_blank" rel="noopener noreferrer">https://joinpeertube.org/instances</a>. | 17 | You may also search for another instance to match your exact needs at: <a class="link-orange" href="https://joinpeertube.org/instances" target="_blank" rel="noopener noreferrer">https://joinpeertube.org/instances</a>. |
18 | </p> | 18 | </p> |
19 | 19 | ||
@@ -38,7 +38,7 @@ | |||
38 | <div class="wrapper"> | 38 | <div class="wrapper"> |
39 | <div class="login-form-and-externals"> | 39 | <div class="login-form-and-externals"> |
40 | 40 | ||
41 | <form myPluginSelector pluginSelectorId="login-form" role="form" (ngSubmit)="login()" [formGroup]="form"> | 41 | <form class="w-100 m-0" myPluginSelector pluginSelectorId="login-form" role="form" (ngSubmit)="login()" [formGroup]="form"> |
42 | <ng-container *ngIf="!otpStep"> | 42 | <ng-container *ngIf="!otpStep"> |
43 | <div class="form-group"> | 43 | <div class="form-group"> |
44 | <div> | 44 | <div> |
@@ -78,20 +78,20 @@ | |||
78 | ></my-input-text> | 78 | ></my-input-text> |
79 | </div> | 79 | </div> |
80 | 80 | ||
81 | <input type="submit" class="peertube-button orange-button" i18n-value value="Login" [disabled]="!form.valid"> | 81 | <input type="submit" class="peertube-button orange-button w-100" i18n-value value="Login" [disabled]="!form.valid"> |
82 | 82 | ||
83 | <div *ngIf="!otpStep" class="additional-links"> | 83 | <div *ngIf="!otpStep" class="additional-links d-flex justify-content-center mt-4 mb-5"> |
84 | <a i18n role="button" class="link-orange" (click)="openForgotPasswordModal()" i18n-title title="Click here to reset your password">I forgot my password</a> | 84 | <a i18n role="button" class="link-orange mx-3" (click)="openForgotPasswordModal()" i18n-title title="Click here to reset your password">I forgot my password</a> |
85 | 85 | ||
86 | <ng-container *ngIf="signupAllowed"> | 86 | <ng-container *ngIf="signupAllowed"> |
87 | <span>·</span> | 87 | <span>·</span> |
88 | <a i18n routerLink="/signup" class="link-orange">Create an account</a> | 88 | <a i18n routerLink="/signup" class="link-orange mx-3">Create an account</a> |
89 | </ng-container> | 89 | </ng-container> |
90 | </div> | 90 | </div> |
91 | </form> | 91 | </form> |
92 | 92 | ||
93 | <div class="external-login-blocks" *ngIf="getExternalLogins().length !== 0"> | 93 | <div class="external-login-blocks" *ngIf="getExternalLogins().length !== 0"> |
94 | <div class="block-title" i18n>Or sign in with</div> | 94 | <div class="fw-semibold" i18n>Or sign in with</div> |
95 | 95 | ||
96 | <div> | 96 | <div> |
97 | <a class="external-login-block" *ngFor="let auth of getExternalLogins()" [href]="getAuthHref(auth)" role="button"> | 97 | <a class="external-login-block" *ngFor="let auth of getExternalLogins()" [href]="getAuthHref(auth)" role="button"> |
@@ -119,13 +119,13 @@ | |||
119 | <my-global-icon iconName="cross" aria-label="Close" role="button" (click)="hideForgotPasswordModal()"></my-global-icon> | 119 | <my-global-icon iconName="cross" aria-label="Close" role="button" (click)="hideForgotPasswordModal()"></my-global-icon> |
120 | </div> | 120 | </div> |
121 | 121 | ||
122 | <div class="modal-body"> | 122 | <div class="modal-body text-start"> |
123 | 123 | ||
124 | <div *ngIf="isEmailDisabled()" class="alert alert-danger" i18n> | 124 | <div *ngIf="isEmailDisabled()" class="alert alert-danger" i18n> |
125 | We are sorry, you cannot recover your password because your instance administrator did not configure the PeerTube email system. | 125 | We are sorry, you cannot recover your password because your instance administrator did not configure the PeerTube email system. |
126 | </div> | 126 | </div> |
127 | 127 | ||
128 | <div *ngIf="!isEmailDisabled()" class="forgot-password-instructions" i18n> | 128 | <div *ngIf="!isEmailDisabled()" class="mb-4" i18n> |
129 | Enter your email address and we will send you a link to reset your password. | 129 | Enter your email address and we will send you a link to reset your password. |
130 | </div> | 130 | </div> |
131 | 131 | ||
@@ -140,7 +140,7 @@ | |||
140 | 140 | ||
141 | <div class="modal-footer inputs"> | 141 | <div class="modal-footer inputs"> |
142 | <input | 142 | <input |
143 | type="button" role="button" i18n-value value="Cancel" class="peertube-button grey-button" | 143 | type="button" role="button" i18n-value value="Cancel" class="peertube-button d-none d-sm-block" |
144 | (click)="hideForgotPasswordModal()" (key.enter)="hideForgotPasswordModal()" | 144 | (click)="hideForgotPasswordModal()" (key.enter)="hideForgotPasswordModal()" |
145 | > | 145 | > |
146 | 146 | ||