mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-27 14:48:45 +00:00
feat(console-v2): login policy extension, domain policy, filter and UI fixes (#3644)
* show filter count when set * toast contrast color * fix notification settings, password dialog * app-create, user-create layout * domain policy * login-policy, project grid loader, i18n * login policy * login policy save lifetimes * private labeling optim * granted project grantId * smtp address matching * i18n * i18n * i18n * replace url strategy * fix privatelabeling color picker saving * stylelint Co-authored-by: Livio Amstutz <[email protected]>
This commit is contained in:
co-authored by
Livio Amstutz
parent
8d0cf9f368
commit
8baf0fe08c
+40
@@ -473,6 +473,46 @@ export class PrivateLabelingPolicyComponent implements OnInit, OnDestroy {
|
||||
}
|
||||
}
|
||||
|
||||
public setDarkBackgroundColorAndSave($event: string): void {
|
||||
this.previewData.backgroundColorDark = $event;
|
||||
this.savePolicy();
|
||||
}
|
||||
|
||||
public setDarkPrimaryColorAndSave($event: string): void {
|
||||
this.previewData.primaryColorDark = $event;
|
||||
this.savePolicy();
|
||||
}
|
||||
|
||||
public setDarkWarnColorAndSave($event: string): void {
|
||||
this.previewData.warnColorDark = $event;
|
||||
this.savePolicy();
|
||||
}
|
||||
|
||||
public setDarkFontColorAndSave($event: string): void {
|
||||
this.previewData.fontColorDark = $event;
|
||||
this.savePolicy();
|
||||
}
|
||||
|
||||
public setBackgroundColorAndSave($event: string): void {
|
||||
this.previewData.backgroundColor = $event;
|
||||
this.savePolicy();
|
||||
}
|
||||
|
||||
public setPrimaryColorAndSave($event: string): void {
|
||||
this.previewData.primaryColor = $event;
|
||||
this.savePolicy();
|
||||
}
|
||||
|
||||
public setWarnColorAndSave($event: string): void {
|
||||
this.previewData.warnColor = $event;
|
||||
this.savePolicy();
|
||||
}
|
||||
|
||||
public setFontColorAndSave($event: string): void {
|
||||
this.previewData.fontColor = $event;
|
||||
this.savePolicy();
|
||||
}
|
||||
|
||||
public overwriteValues(req: AddCustomLabelPolicyRequest | UpdateCustomLabelPolicyRequest): void {
|
||||
req.setBackgroundColorDark(this.previewData.backgroundColorDark);
|
||||
req.setBackgroundColor(this.previewData.backgroundColor);
|
||||
|
||||
Reference in New Issue
Block a user