1
|
<h1 mat-dialog-title>
|
2
|
<img
|
3
|
[src]="data.photo"
|
4
|
alt="photo"
|
5
|
style="width: 35px; height: 35px; margin-right: 5px"
|
6
|
>
|
7
|
{{data.firstName + ' ' + data.lastName}}
|
8
|
</h1>
|
9
|
<hr>
|
10
|
<div mat-dialog-content>
|
11
|
<div>
|
12
|
<mat-radio-group
|
13
|
aria-labelledby="example-radio-group-label"
|
14
|
class="example-radio-group"
|
15
|
[(ngModel)]="_userType"
|
16
|
>
|
17
|
<mat-radio-button
|
18
|
class="example-radio-button"
|
19
|
*ngFor="let type of _userTypes" [value]="type"
|
20
|
>
|
21
|
{{type}}
|
22
|
</mat-radio-button>
|
23
|
</mat-radio-group>
|
24
|
</div>
|
25
|
<div>
|
26
|
<mat-form-field class="example-margin">
|
27
|
<input
|
28
|
matInput
|
29
|
type="number"
|
30
|
placeholder="Sickdays"
|
31
|
min="1"
|
32
|
step="0.5"
|
33
|
[(ngModel)]="_sickDaysCount"
|
34
|
>
|
35
|
</mat-form-field>
|
36
|
</div>
|
37
|
<div>
|
38
|
|
39
|
</div>
|
40
|
<mat-form-field class="example-margin">
|
41
|
<input
|
42
|
matInput
|
43
|
type="number"
|
44
|
placeholder="Dovolená"
|
45
|
min="1"
|
46
|
step="0.5"
|
47
|
[(ngModel)]="_vacationDaysCount"
|
48
|
>
|
49
|
</mat-form-field>
|
50
|
</div>
|
51
|
<div mat-dialog-actions>
|
52
|
<button class="btn btn-primary" style="margin-right: 5px" (click)="onConfirmClick()">Potvrdit</button>
|
53
|
<button class="btn btn-danger" (click)="onCloseClick()">Zavřít</button>
|
54
|
</div>
|