36 lines
1.1 KiB
HTML
36 lines
1.1 KiB
HTML
|
|
|
|
<h2 mat-dialog-title>{{ system?.name }} - Manager</h2>
|
|
<mat-dialog-content>
|
|
<div style="display: flex; flex-direction: column; height: calc(100% - 4px);" class="gap-2">
|
|
<div class="flex-auto">
|
|
@if(myTheme) {
|
|
<ag-grid-angular
|
|
style="width: 100%; height: 100%;"
|
|
(gridReady)="onGridReady($event)"
|
|
[gridOptions]="gridOptions!"
|
|
[theme]="myTheme"
|
|
/>
|
|
}
|
|
</div>
|
|
|
|
<div class="flex gap-2 items-center p-4 bg-gray-50 rounded-md shadow-sm">
|
|
<mat-form-field class="flex-1">
|
|
<mat-label>Email</mat-label>
|
|
<input matInput [(ngModel)]="email" placeholder="beispiel@email.com">
|
|
<mat-hint>Emailadresse des Benutzers eingeben</mat-hint>
|
|
<mat-icon matPrefix class="text-gray-400 mr-2">email</mat-icon>
|
|
</mat-form-field>
|
|
<button matButton="elevated"
|
|
color="primary"
|
|
(click)="addManagerByEmail()"
|
|
[disabled]="email == '' || email == null">
|
|
<mat-icon>person_add</mat-icon>
|
|
Hinzufügen
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</mat-dialog-content>
|
|
<mat-dialog-actions>
|
|
<button matButton [mat-dialog-close]="true">Schließen</button>
|
|
</mat-dialog-actions> |