Adjust labels, css and add img placeholder

This commit is contained in:
Peter Rossa
2023-05-16 14:23:37 +02:00
parent 11f89853bb
commit e0e61a7148
2 changed files with 6 additions and 3 deletions

View File

@@ -4,10 +4,12 @@
<mat-card-content>
<form [formGroup]="loginForm" (ngSubmit)="login()">
<img src='https://dummyimage.com/200x65.png' alt='' />
<h2>Anmelden</h2>
<mat-form-field>
<mat-label>Username</mat-label>
<mat-label>Benutzername</mat-label>
<input matInput placeholder="Username" formControlName="userName" name="username" required>
<mat-error>
Please provide a valid email address
@@ -15,7 +17,7 @@
</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>
<mat-error>
Please provide a valid password

View File

@@ -8,7 +8,8 @@ mat-card.login-card {
.mat-mdc-card-content {
padding: 25px;
h2 {
margin-top: 0;
margin-top: 10px;
margin-bottom: 30px;
}
}