Adjust labels, css and add img placeholder
This commit is contained in:
@@ -4,10 +4,12 @@
|
|||||||
<mat-card-content>
|
<mat-card-content>
|
||||||
<form [formGroup]="loginForm" (ngSubmit)="login()">
|
<form [formGroup]="loginForm" (ngSubmit)="login()">
|
||||||
|
|
||||||
|
<img src='https://dummyimage.com/200x65.png' alt='' />
|
||||||
|
|
||||||
<h2>Anmelden</h2>
|
<h2>Anmelden</h2>
|
||||||
|
|
||||||
<mat-form-field>
|
<mat-form-field>
|
||||||
<mat-label>Username</mat-label>
|
<mat-label>Benutzername</mat-label>
|
||||||
<input matInput placeholder="Username" formControlName="userName" name="username" required>
|
<input matInput placeholder="Username" formControlName="userName" name="username" required>
|
||||||
<mat-error>
|
<mat-error>
|
||||||
Please provide a valid email address
|
Please provide a valid email address
|
||||||
@@ -15,7 +17,7 @@
|
|||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
|
|
||||||
<mat-form-field>
|
<mat-form-field>
|
||||||
<mat-label>Password</mat-label>
|
<mat-label>Passwort</mat-label>
|
||||||
<input matInput type="password" placeholder="Password" formControlName="userPass" name="password" required>
|
<input matInput type="password" placeholder="Password" formControlName="userPass" name="password" required>
|
||||||
<mat-error>
|
<mat-error>
|
||||||
Please provide a valid password
|
Please provide a valid password
|
||||||
|
|||||||
@@ -8,7 +8,8 @@ mat-card.login-card {
|
|||||||
.mat-mdc-card-content {
|
.mat-mdc-card-content {
|
||||||
padding: 25px;
|
padding: 25px;
|
||||||
h2 {
|
h2 {
|
||||||
margin-top: 0;
|
margin-top: 10px;
|
||||||
|
margin-bottom: 30px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user