frontend: send customer password
This commit is contained in:
@@ -12,4 +12,3 @@
|
||||
</ng-container>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -1,31 +1,29 @@
|
||||
<div class="container h-100">
|
||||
<div class="row h-100">
|
||||
<div class="col-lg-6 col-sm-12 offset-lg-3 " >
|
||||
<div class="col-lg-4 col-sm-12 offset-lg-4 p-3 ">
|
||||
<div class="d-flex align-items-center justify-content-center h-100 flex-column ">
|
||||
|
||||
<img class="mw2-sm-50 mw2-100" src="/assets/images/cutlercross-logo-light.svg">
|
||||
|
||||
<form class="login-form w-100" [formGroup]="loginForm" (ngSubmit)="onSubmit()">
|
||||
<div class="form-group">
|
||||
<label for="inputUsername">Felhasználónév</label>
|
||||
<input type="text" formControlName="username" class="form-control" id="inputUsername"
|
||||
placeholder="E-mail cím megadása">
|
||||
<div *ngIf="submitted && username.errors" class="text-danger">
|
||||
<div *ngIf="username.errors.required">Felhasználónév megadása kötelező</div>
|
||||
<img class="mw2-sm-80 mw2-80" src="/assets/images/cutlercross-logo-dark.svg">
|
||||
<form class="login-form w-100" [formGroup]="loginForm" (ngSubmit)="onSubmit()">
|
||||
<div class="form-group mt-2">
|
||||
<label for="inputUsername">E-mail cím</label>
|
||||
<input type="text" formControlName="username" class="form-control" id="inputUsername"
|
||||
placeholder="E-mail cím">
|
||||
<div *ngIf="submitted && username.errors" class="text-danger">
|
||||
<div *ngIf="username.errors.required">Felhasználónév megadása kötelező</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="inputPassword1">Jelszó</label>
|
||||
<input type="password" formControlName="password" class="form-control" id="inputPassword1"
|
||||
placeholder="Jelszó">
|
||||
<div *ngIf="submitted && f.password.errors" class="text-danger">
|
||||
<div *ngIf="f.password.errors.required">Jelszó megadása kötelezú</div>
|
||||
<div class="form-group mt-2">
|
||||
<label for="inputPassword1">Jelszó</label>
|
||||
<input type="password" formControlName="password" class="form-control" id="inputPassword1"
|
||||
placeholder="Jelszó">
|
||||
<div *ngIf="submitted && f.password.errors" class="text-danger">
|
||||
<div *ngIf="f.password.errors.required">Jelszó megadása kötelezú</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<button [disabled]="loading" class="btn btn-primary ">Bejelentkezés</button>
|
||||
<div *ngIf="error" class="alert alert-danger mt-2">{{error}}</div>
|
||||
</form>
|
||||
</div>
|
||||
<button [disabled]="loading" class="btn btn-primary mt-2 ">Bejelentkezés</button>
|
||||
<div *ngIf="error" class="alert alert-danger mt-2">{{error}}</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -21,7 +21,7 @@ $utilities: map-merge(
|
||||
property: max-width,
|
||||
responsive: true,
|
||||
class: mw2,
|
||||
values: ( 25: 25%, 50: 50%, 100: 100%)
|
||||
values: ( 25: 25%, 50: 50%, 80: 80%, 100: 100%)
|
||||
),
|
||||
),
|
||||
$utilities
|
||||
|
||||
Reference in New Issue
Block a user