Revize 6bd78e65
Přidáno uživatelem Jakub Hlaváč před více než 3 roky(ů)
src/app/dashboard/components/dashboard.component.html | ||
---|---|---|
9 | 9 |
<div class="col-md-6 text-right"> |
10 | 10 |
<p-button label="Sensors graph" icon="pi pi-chart-line" [routerLink]="['/dashboard/unit', unit.unit.unitId]"></p-button> |
11 | 11 |
<div class="dashboard-button-separator"></div> |
12 |
<p-button label="Add sensor" icon="pi pi-plus-circle" styleClass="p-button-success" (onClick)="insertSensorPopup($event, unit.unit)"></p-button> |
|
13 |
<p-splitButton *ngIf="loggedUser?.userInfo?.rightsId == 0 || loggedUser?.userInfo?.rightsId == 1" (onClick)="showItems($event, unit.unit)" |
|
14 |
icon="pi pi-cog" (onDropdownClick)="showItems($event, unit.unit)" [model]="items" styleClass="p-button-warning"></p-splitButton> |
|
12 |
<p-button icon="pi pi-cog" styleClass="p-button-warning" (click)="showItems($event, unit.unit); menu.toggle($event)"></p-button> |
|
13 |
<p-menu #menu [popup]="true" [model]="items" [appendTo]="'body'" [baseZIndex]="50"></p-menu> |
|
15 | 14 |
</div> |
16 | 15 |
</div> |
17 | 16 |
</p-header> |
Také k dispozici: Unified diff
Re #8915 - Zapracování požadavků ze schůzky