-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
backoffice UI: home page link + use of fieldset
- Loading branch information
Showing
4 changed files
with
49 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68 changes: 40 additions & 28 deletions
68
...peni40-backoffice-ui/src/lib/ui-configurable/search-ui-form/search-ui-form.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,44 @@ | ||
<ui-navigation></ui-navigation> | ||
<div class="content" [formGroup]="frmGroup" *ngIf="frmGroup" #mainContent> | ||
<p-blockUI [target]="mainContent" [blocked]="loading"> | ||
<i class="pi pi-lock" style="font-size: 3rem"></i> | ||
</p-blockUI> | ||
<h1>{{config.title}}</h1> | ||
<h2>Search filters</h2> | ||
<div class="row"> | ||
<ui-configured-form [formGroup]="frmGroup" [config]="config.formGroup" [formTemplate]="formTemplate"> | ||
|
||
</ui-configured-form> | ||
<div class="col-2"> | ||
<p-button label="Search" (onClick)="doSearch()" [disabled]="disabledSearch"></p-button> | ||
</div> | ||
<p-blockUI [target]="mainContent" [blocked]="loading"> | ||
<i class="pi pi-lock" style="font-size: 3rem"></i> | ||
</p-blockUI> | ||
<h1>{{ config.title }}</h1> | ||
|
||
<p-fieldset legend="Search filters"> | ||
|
||
|
||
<div class="row"> | ||
<ui-configured-form | ||
[formGroup]="frmGroup" | ||
[config]="config.formGroup" | ||
[formTemplate]="formTemplate" | ||
> | ||
</ui-configured-form> | ||
<div class="col-2"> | ||
<p-button | ||
label="Search" | ||
(onClick)="doSearch()" | ||
[disabled]="disabledSearch" | ||
></p-button> | ||
</div> | ||
<div class="row"> | ||
<div class="col-12"> | ||
|
||
<ui-configurable-grid | ||
[columnsConfig]="columnsConfig" | ||
[actualPage]="actualPage" | ||
[externalPagingManagement]="true" | ||
[paged]="true" | ||
[data]="results" | ||
[gotoDetailService]="gotoDetailService" | ||
(actualPageChange)="pageChange($event)" | ||
[entitiesReferences]="config?.entitiesReferences"> | ||
</ui-configurable-grid> | ||
|
||
</div> | ||
</div> | ||
</p-fieldset> | ||
<p-fieldset legend="Search results"> | ||
<div class="grid"> | ||
<div class="col-12"> | ||
<ui-configurable-grid | ||
[columnsConfig]="columnsConfig" | ||
[actualPage]="actualPage" | ||
[externalPagingManagement]="true" | ||
[paged]="true" | ||
[data]="results" | ||
[gotoDetailService]="gotoDetailService" | ||
(actualPageChange)="pageChange($event)" | ||
[entitiesReferences]="config?.entitiesReferences" | ||
> | ||
</ui-configurable-grid> | ||
</div> | ||
</div> | ||
</div> | ||
</p-fieldset> | ||
</div> |