Enhance employee and qualification forms with hints and improved layouts (#37)

- Added hints to input fields in create and edit employee forms for better user guidance.
- Updated the layout of dialog actions in employee and qualification forms for improved usability.
- Enhanced delete confirmation dialogs for qualifications and employees with better styling and error handling.
- Improved the display of employee details and qualifications with better formatting and structure.

These changes aim to improve user experience and accessibility across the application.

Reviewed-on: http://git.simonis.lol/angular/ems-frontend/pulls/37
Co-authored-by: Jan-Marlon Leibl <jleibl@proton.me>
Co-committed-by: Jan-Marlon Leibl <jleibl@proton.me>
This commit is contained in:
2025-01-15 10:34:10 +00:00
committed by Hop In, I Have Puppies AND WiFi
parent 37b5c27a50
commit 95bf76f9c1
18 changed files with 354 additions and 144 deletions

View File

@ -9,10 +9,11 @@ import {
MatDialogTitle
} from "@angular/material/dialog";
import {MatButton} from "@angular/material/button";
import {MatError, MatFormField, MatLabel} from "@angular/material/form-field";
import {MatError, MatFormField, MatHint, MatLabel} from "@angular/material/form-field";
import {MatInput} from "@angular/material/input";
import {NgIf} from "@angular/common";
import {Qualification} from "../Qualification";
import {MatIcon} from "@angular/material/icon";
@Component({
selector: 'app-edit-qualification',
@ -28,7 +29,9 @@ import {Qualification} from "../Qualification";
MatLabel,
NgIf,
ReactiveFormsModule,
MatDialogClose
MatDialogClose,
MatHint,
MatIcon
],
templateUrl: './edit.component.html',
styleUrl: './edit.component.css'