Revize a3ae1cab
Přidáno uživatelem Jakub Hlaváč před více než 3 roky(ů)
src/app/dashboard/components/dashboard.component.html | ||
---|---|---|
1 | 1 |
<app-nav-bar></app-nav-bar> |
2 | 2 |
|
3 | 3 |
<div class="container dashboard"> |
4 |
<div class="row"> |
|
5 |
<div class="col-md-6"></div> |
|
6 |
<div class="col-md-6 text-right"> |
|
7 |
<p-button label="Add unit" icon="pi pi-cog" (onClick)="insertUnitPopup()"></p-button> |
|
8 |
</div> |
|
9 |
</div> |
|
4 | 10 |
<p-accordion> |
5 | 11 |
<p-accordionTab *ngFor="let unit of units"> |
6 | 12 |
<p-header [className]="'dashboard-unit-wrapper'"> |
... | ... | |
20 | 26 |
</p-accordion> |
21 | 27 |
</div> |
22 | 28 |
|
23 |
<app-unit-popup [(isVisible)]="showUnitPopup" [unit]="editedUnit"></app-unit-popup> |
|
29 |
<app-unit-popup *ngIf="editedUnit" [(isVisible)]="showEditUnitPopup" [unit]="editedUnit"></app-unit-popup> |
|
30 |
<app-unit-insert-popup [(isVisible)]="showInsertUnitPopup" [phenomenons]="phenomenons"></app-unit-insert-popup> |
Také k dispozici: Unified diff
Re #8794 - Přidat unit - formulář, endpoint
+ new form for adding unit
+ new endpoint in OpenAPI