rename preset dialog

main
Said Gedik 2024-08-08 15:31:07 +02:00
parent 7886227123
commit 1a7da02f18
1 changed files with 12 additions and 9 deletions

View File

@ -1,9 +1,12 @@
<h2>Preset {{preset.name}} umbenennen?</h2>
<mat-form-field class="example-full-width">
<mat-label>Preset Name</mat-label>
<input matInput [(ngModel)]="newName">
</mat-form-field>
<mat-dialog-actions align="end">
<button mat-raised-button style="margin-right: 3px;" matDialogClose>Abbrechen</button>
<button mat-raised-button color = "primary" style="margin-left: 3px;" (click)="renamePreset()" matDialogClose>Umbenennen</button>
</mat-dialog-actions>
<div style="padding: 20px;">
<h2>Preset <span style="color: #ef6c00;">{{preset.name}}</span> umbenennen?</h2>
<mat-form-field style="width: 100%;">
<mat-label>Preset Name</mat-label>
<input matInput [(ngModel)]="newName">
</mat-form-field>
<mat-dialog-actions align="end">
<button mat-raised-button style="margin-right: 3px;" matDialogClose>Abbrechen</button>
<button mat-raised-button color="primary" style="margin-left: 3px;" (click)="renamePreset()"
matDialogClose>Umbenennen</button>
</mat-dialog-actions>
</div>