This repository has been archived by the owner on Nov 21, 2024. It is now read-only.
-
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 bootstrap styles from @rucken/core move it to @rucken/web
- Loading branch information
1 parent
049f1bf
commit 215f892
Showing
17 changed files
with
301 additions
and
336 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
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
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
51 changes: 22 additions & 29 deletions
51
libs/rucken/web/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,30 +1,23 @@ | ||
<form | ||
[formGroup]="form" | ||
*ngIf="form" | ||
novalidate> | ||
<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"> | ||
<span *ngFor="let key of keys; let i = index"> | ||
<form-group | ||
[checkIsDirty]="checkIsDirty" | ||
[form]="form" | ||
[name]="key" | ||
[title]="strings[key]"> | ||
<input | ||
[formControlName]="key" | ||
[readonly]="readonly" | ||
[autofocus]="i===0"> | ||
</form-group> | ||
</span> | ||
</prompt-form-modal> | ||
<form [formGroup]="form" *ngIf="form" novalidate> | ||
<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" | ||
[yesClass]="yesClass" | ||
[noClass]="noClass" | ||
> | ||
<span *ngFor="let key of keys; let i = index"> | ||
<form-group [checkIsDirty]="checkIsDirty" [form]="form" [name]="key" [title]="strings[key]"> | ||
<input [formControlName]="key" [readonly]="readonly" [autofocus]="i === 0" /> | ||
</form-group> | ||
</span> | ||
</prompt-form-modal> | ||
</form> |
58 changes: 23 additions & 35 deletions
58
...n/web/src/lib/entities/content-types/content-type-modal/content-type-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,36 +1,24 @@ | ||
<form | ||
[formGroup]="form" | ||
novalidate> | ||
<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"> | ||
<form-group | ||
[checkIsDirty]="checkIsDirty" | ||
[form]="form" | ||
name="name" | ||
[title]="strings.name"> | ||
<input | ||
formControlName="name" | ||
[readonly]="readonly" | ||
focused> | ||
</form-group> | ||
<form-group | ||
[checkIsDirty]="checkIsDirty" | ||
[form]="form" | ||
name="title" | ||
[title]="strings.title"> | ||
<input | ||
formControlName="title" | ||
[readonly]="readonly"> | ||
</form-group> | ||
</prompt-form-modal> | ||
<form [formGroup]="form" novalidate> | ||
<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" | ||
[yesClass]="yesClass" | ||
[noClass]="noClass" | ||
> | ||
<form-group [checkIsDirty]="checkIsDirty" [form]="form" name="name" [title]="strings.name"> | ||
<input formControlName="name" [readonly]="readonly" focused /> | ||
</form-group> | ||
<form-group [checkIsDirty]="checkIsDirty" [form]="form" name="title" [title]="strings.title"> | ||
<input formControlName="title" [readonly]="readonly" /> | ||
</form-group> | ||
</prompt-form-modal> | ||
</form> |
71 changes: 30 additions & 41 deletions
71
libs/rucken/web/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,42 +1,31 @@ | ||
<form | ||
[formGroup]="form" | ||
novalidate> | ||
<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"> | ||
<form-group | ||
[checkIsDirty]="checkIsDirty" | ||
[form]="form" | ||
name="name" | ||
[title]="strings.name"> | ||
<input | ||
formControlName="name" | ||
[readonly]="readonly" | ||
focused> | ||
</form-group> | ||
<form-group | ||
[checkIsDirty]="checkIsDirty" | ||
[form]="form" | ||
name="title" | ||
[title]="strings.title"> | ||
<input | ||
formControlName="title" | ||
[readonly]="readonly"> | ||
</form-group> | ||
<group-permissions-grid | ||
[mockedItems]="data.permissions" | ||
(mockedItemsChange)="onPermissionsChange($event)" | ||
[readonly]="readonly" | ||
[title]="strings.permissions" | ||
[apiUrl]="apiUrl"></group-permissions-grid> | ||
</prompt-form-modal> | ||
<form [formGroup]="form" novalidate> | ||
<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" | ||
[yesClass]="yesClass" | ||
[noClass]="noClass" | ||
> | ||
<form-group [checkIsDirty]="checkIsDirty" [form]="form" name="name" [title]="strings.name"> | ||
<input formControlName="name" [readonly]="readonly" focused /> | ||
</form-group> | ||
<form-group [checkIsDirty]="checkIsDirty" [form]="form" name="title" [title]="strings.title"> | ||
<input formControlName="title" [readonly]="readonly" /> | ||
</form-group> | ||
<group-permissions-grid | ||
[mockedItems]="data.permissions" | ||
(mockedItemsChange)="onPermissionsChange($event)" | ||
[readonly]="readonly" | ||
[title]="strings.permissions" | ||
[apiUrl]="apiUrl" | ||
></group-permissions-grid> | ||
</prompt-form-modal> | ||
</form> |
Oops, something went wrong.