refactoring
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<mat-icon color="warn">warning</mat-icon>
|
||||
<p>
|
||||
<b>{{ manager.firstName }} {{ manager.lastName }}</b> wirklich entfernen?
|
||||
Der Benutzer hat dann keinen Zugriff mehr auf das System mit allen seinen Daten.
|
||||
Der Benutzer hat dann keinen Zugriff mehr auf diese Schließanlage mit allen ihren Daten.
|
||||
</p>
|
||||
<p class="additional-info">
|
||||
<!-- Additional information -->
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
.warning-message {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
padding: 1rem;
|
||||
|
||||
mat-icon {
|
||||
font-size: 48px;
|
||||
height: 48px;
|
||||
width: 48px;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.additional-info {
|
||||
margin-top: 1rem;
|
||||
color: rgba(0, 0, 0, 0.6);
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
<h2 mat-dialog-title>Neuen Schlüssel anlegen</h2>
|
||||
<h2 mat-dialog-title>Neue Schließanlage anlegen</h2>
|
||||
<mat-dialog-content>
|
||||
<form [formGroup]="createForm" class="flex flex-col gap-3">
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
@if ((createForm.controls.name.value || '').length > 20) {
|
||||
<mat-hint>{{ (createForm.controls.name.value || '').length }} / 100 Zeichen</mat-hint>
|
||||
} @else {
|
||||
<mat-hint>Wie soll der Schlüssel heißen?</mat-hint>
|
||||
<mat-hint>Wie soll die Anlage heißen?</mat-hint>
|
||||
}
|
||||
</mat-form-field>
|
||||
</form>
|
||||
|
||||
@@ -5,5 +5,5 @@
|
||||
/>
|
||||
|
||||
<div class="floating-btn-container">
|
||||
<button mat-flat-button class="btn-create mat-elevation-z8" (click)="openCreateSystem()" color="accent" >System anlegen</button>
|
||||
<button mat-flat-button class="btn-create mat-elevation-z8" (click)="openCreateSystem()" color="accent" >Schließanlage anlegen</button>
|
||||
</div>
|
||||
Reference in New Issue
Block a user