-
Notifications
You must be signed in to change notification settings - Fork 62
/
Copy pathcalendar-nav.component.html
53 lines (52 loc) · 1.76 KB
/
calendar-nav.component.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<div class="dp-calendar-nav-container">
<div class="dp-nav-header">
<span [hidden]="isLabelClickable"
[attr.data-hidden]="isLabelClickable"
[innerText]="label">
</span>
<button type="button"
class="dp-nav-header-btn"
[hidden]="!isLabelClickable"
[attr.data-hidden]="!isLabelClickable"
(click)="labelClicked()"
[innerText]="label | pNumber">
</button>
</div>
<div class="dp-nav-btns-container">
<div class="dp-calendar-nav-container-left">
<button type="button"
class="dp-calendar-secondary-nav-left"
*ngIf="showLeftSecondaryNav"
[disabled]="leftSecondaryNavDisabled"
(click)="leftSecondaryNavClicked()">
</button>
<button type="button"
class="dp-calendar-nav-left"
[hidden]="!showLeftNav"
[attr.data-hidden]="!showLeftNav"
[disabled]="leftNavDisabled"
(click)="leftNavClicked()">
</button>
</div>
<button type="button"
class="dp-current-location-btn"
*ngIf="showGoToCurrent"
(click)="goToCurrent.emit()">
</button>
<div class="dp-calendar-nav-container-right">
<button type="button"
class="dp-calendar-nav-right"
[hidden]="!showRightNav"
[attr.data-hidden]="!showRightNav"
[disabled]="rightNavDisabled"
(click)="rightNavClicked()">
</button>
<button type="button"
class="dp-calendar-secondary-nav-right"
*ngIf="showRightSecondaryNav"
[disabled]="rightSecondaryNavDisabled"
(click)="rightSecondaryNavClicked()">
</button>
</div>
</div>
</div>