-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Remove workaroud with change css host height to 100%
- Loading branch information
1 parent
acdb61b
commit 58ba835
Showing
15 changed files
with
332 additions
and
310 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
3 changes: 1 addition & 2 deletions
3
apps/demo/src/app/pages/profile-page/profile-page.component.ts
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
60 changes: 29 additions & 31 deletions
60
libs/rucken/ionic/src/lib/components/entity-modal/entity-modal.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,33 +1,31 @@ | ||
<prompt-form-modal | ||
[title]="title" | ||
[message]="message" | ||
[infoMessage]="infoMessage" | ||
[errorMessage]="errorMessage" | ||
[noTitle]="noTitle" | ||
[yesTitle]="yesTitle" | ||
[readonly]="readonly" | ||
(no)="onNoClick()" | ||
(yes)="onYesClick()" | ||
[data]="data" | ||
[processing]="processing$ | async" | ||
[disabled]="disabled"> | ||
<form | ||
[formGroup]="form" | ||
*ngIf="form" | ||
novalidate> | ||
<ion-list lines="none"> | ||
<ng-container *ngFor="let key of keys; let i = index"> | ||
<form-group | ||
[bindIO] | ||
[name]="key" | ||
[title]="strings[key]"> | ||
<ion-input | ||
[formControlName]="key" | ||
[readonly]="readonly" | ||
[autofocus]="i===0"> | ||
</ion-input> | ||
</form-group> | ||
</ng-container> | ||
</ion-list> | ||
</form> | ||
[bindIO] | ||
[iconTopYes]="data.id?'checkmark':'add'" | ||
[hideFooter]="true"> | ||
</prompt-form-modal> | ||
<ion-content | ||
padding-top | ||
[class.readonly_content]="readonly"> | ||
<prompt-form-modal | ||
[bindIO] | ||
[hideHeader]="true"> | ||
<form | ||
[formGroup]="form" | ||
novalidate> | ||
<ion-list lines="none"> | ||
<ng-container *ngFor="let key of keys; let i = index"> | ||
<form-group | ||
[bindIO] | ||
[name]="key" | ||
[title]="strings[key]"> | ||
<ion-input | ||
[formControlName]="key" | ||
[readonly]="readonly" | ||
[autofocus]="i===0"> | ||
</ion-input> | ||
</form-group> | ||
</ng-container> | ||
</ion-list> | ||
</form> | ||
</prompt-form-modal> | ||
</ion-content> |
20 changes: 5 additions & 15 deletions
20
libs/rucken/ionic/src/lib/components/prompt-form-modal/prompt-form-modal.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
81 changes: 45 additions & 36 deletions
81
libs/rucken/ionic/src/lib/entities/groups/group-modal/group-modal.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,39 +1,48 @@ | ||
<form | ||
[formGroup]="form" | ||
novalidate> | ||
<prompt-form-modal | ||
[bindIO] | ||
[iconTopYes]="data.id?'checkmark':'add'" | ||
[hideFooter]="true"> | ||
</prompt-form-modal> | ||
<ion-content | ||
padding-top | ||
[class.readonly_content]="readonly"> | ||
<prompt-form-modal | ||
[bindIO] | ||
[iconTopYes]="data.id?'checkmark':'add'"> | ||
<form-group | ||
[bindIO] | ||
name="name" | ||
[title]="strings.name"> | ||
<ion-input | ||
formControlName="name" | ||
[disableControl]="readonly"> | ||
</ion-input> | ||
</form-group> | ||
<form-group | ||
[bindIO] | ||
name="title" | ||
[title]="strings.title"> | ||
<ion-input | ||
formControlName="title" | ||
[disableControl]="readonly" | ||
[autofocus]="true"> | ||
</ion-input> | ||
</form-group> | ||
<form-group | ||
[bindIO] | ||
name="permissions" | ||
[title]="strings.permissions"> | ||
<select-input | ||
[items]="permissions$ | async" | ||
formControlName="permissions" | ||
[yesTitle]="'OK'|translate" | ||
[multiple]="true" | ||
[disableControl]="readonly"> | ||
</select-input> | ||
</form-group> | ||
[hideHeader]="true"> | ||
<form | ||
[formGroup]="form" | ||
novalidate> | ||
<form-group | ||
[bindIO] | ||
name="name" | ||
[title]="strings.name"> | ||
<ion-input | ||
formControlName="name" | ||
[disableControl]="readonly"> | ||
</ion-input> | ||
</form-group> | ||
<form-group | ||
[bindIO] | ||
name="title" | ||
[title]="strings.title"> | ||
<ion-input | ||
formControlName="title" | ||
[disableControl]="readonly" | ||
[autofocus]="true"> | ||
</ion-input> | ||
</form-group> | ||
<form-group | ||
[bindIO] | ||
name="permissions" | ||
[title]="strings.permissions"> | ||
<select-input | ||
[items]="permissions$ | async" | ||
formControlName="permissions" | ||
[yesTitle]="'OK'|translate" | ||
[multiple]="true" | ||
[disableControl]="readonly"> | ||
</select-input> | ||
</form-group> | ||
</form> | ||
</prompt-form-modal> | ||
</form> | ||
</ion-content> |
3 changes: 1 addition & 2 deletions
3
libs/rucken/ionic/src/lib/entities/groups/group-modal/group-modal.component.ts
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
59 changes: 33 additions & 26 deletions
59
...ies/groups/groups-list/groups-list-filters-modal/groups-list-filters-modal.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,29 +1,36 @@ | ||
<form | ||
[formGroup]="form" | ||
novalidate> | ||
<prompt-form-modal | ||
[bindIO] | ||
iconTopYes="checkmark" | ||
iconTopNo="close" | ||
[hideFooter]="true"> | ||
</prompt-form-modal> | ||
<ion-content padding-top> | ||
<prompt-form-modal | ||
[bindIO] | ||
iconTopYes="checkmark" | ||
iconTopNo="close"> | ||
<form-group | ||
[bindIO] | ||
name="sortField" | ||
[title]="strings.sortField"> | ||
<select-input | ||
[items]="sortFields" | ||
formControlName="sortField" | ||
[disableControl]="readonly"> | ||
</select-input> | ||
</form-group> | ||
<form-group | ||
[bindIO] | ||
name="sortType" | ||
[title]="strings.sortType"> | ||
<select-input | ||
[items]="sortTypes" | ||
formControlName="sortType" | ||
[disableControl]="readonly"> | ||
</select-input> | ||
</form-group> | ||
[hideHeader]="true"> | ||
<form | ||
[formGroup]="form" | ||
novalidate> | ||
<form-group | ||
[bindIO] | ||
name="sortField" | ||
[title]="strings.sortField"> | ||
<select-input | ||
[items]="sortFields" | ||
formControlName="sortField" | ||
[disableControl]="readonly"> | ||
</select-input> | ||
</form-group> | ||
<form-group | ||
[bindIO] | ||
name="sortType" | ||
[title]="strings.sortType"> | ||
<select-input | ||
[items]="sortTypes" | ||
formControlName="sortType" | ||
[disableControl]="readonly"> | ||
</select-input> | ||
</form-group> | ||
</form> | ||
</prompt-form-modal> | ||
</form> | ||
</ion-content> |
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
Oops, something went wrong.