webnaplo-gulbaba-frontend/src/app/shared/calendar/calendar.component.html
Danyi Dávid 3ad9cc8b9e * maintenance calendar view added
* production api url fixed
2018-11-19 21:35:50 +01:00

12 lines
559 B
HTML

<h1 class="ui dividing header">{{formattedMonthHeader}}</h1>
<div class="y-calendar">
<div *ngFor="let a of loopable(affixDayCount)" class="y-item affix-day" [attr.data-value]="a"></div>
<div *ngFor="let d of loopable(daysInMonth)" class="y-item day" [class.weekend]="isWeekend(d)" [attr.data-value]="d">
<div>{{d}}</div>
<div *ngFor="let task of dailyData(d)">
{{task.device.work}}
</div>
</div>
<div *ngFor="let s of loopable(suffixDayCount)" class="y-item suffix-day" [attr.data-value]="s"></div>
</div>