Projekt

Obecné

Profil

Stáhnout (1.63 KB) Statistiky
| Větev: | Tag: | Revize:
1 558c8d57 Václav Jirák
<div class="container-fluid h-100">
2
  <div class="row">
3
    <div class="col-lg-8 mid-panel">
4
5
      <div class="dashboard-user-approval"
6
           *ngIf="authorizationRequests && authorizationRequests.length > 0 && isEmployer()">
7
        <app-user-approval
8
          [authorizationRequests]="authorizationRequests"
9
          (userApprovalEvent)="userApproved($event.requestId, $event.approved)"
10
        ></app-user-approval>
11
      </div>
12
13
      <div class="dashboard-vacation-approval"
14
           *ngIf="vacationRequests && vacationRequests.length > 0 && isEmployer()">
15
        <app-days-off-approval
16
          [vacationRequests]="vacationRequests"
17
          (vacationApprovalEvent)="vacationApproved($event.requestId, $event.approved)"
18
        ></app-days-off-approval>
19
      </div>
20
21
      <div class="dashboard-oncoming-vacation"
22
           *ngIf="oncomingVacation && oncomingVacation.length > 0">
23
        <app-coming-days-off
24
          [oncomingVacation]="oncomingVacation"
25
          (vacationRemove)="removeVacation($event)"
26
        ></app-coming-days-off>
27
      </div>
28
29
      <div class="dashboard-day-picker">
30
        <app-day-picker #dayPicker
31
                        (selectedDate)="onDateSelect($event)"
32
                        (selectedMonth)="onSelectedMonthChange($event)"
33
        ></app-day-picker>
34
      </div>
35
36
    </div>
37
38
    <div class="col-lg-4 right-panel">
39
40
      <div class="days-off-info" *ngIf="profile">
41
        <app-vacation-info
42
          [sickDaysRemaining]="profile.sickDayCount - profile.takenSickDayCount"
43
          [extraVacationRemaining]="profile.vacationCount"
44
        ></app-vacation-info>
45
      </div>
46
47
    </div>
48
  </div>
49
</div>