mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-08 23:25:12 +00:00
feat: rehauled console (#3525)
* new console * move npm ci to angular build * rel path for assets * local grpc copy * login policy, rm clear views, features rel path * lock Co-authored-by: Livio Amstutz <[email protected]>
This commit is contained in:
co-authored by
Livio Amstutz
parent
00f7dbe875
commit
08ae39ae19
@@ -3,20 +3,20 @@
|
||||
<div class="icon-wrapper" *ngIf="data.icon">
|
||||
<i class="icon {{data.icon}}"></i>
|
||||
</div>
|
||||
<p class="desc"> {{data.descriptionKey | translate: data.descriptionParam}}</p>
|
||||
<p class="desc cnsl-secondary-text"> {{data.descriptionKey | translate: data.descriptionParam}}</p>
|
||||
|
||||
<cnsl-form-field *ngIf="data.confirmation && data.confirmationKey" class="formfield">
|
||||
<cnsl-label>{{data.confirmationKey | translate: {value: data.confirmation} }}</cnsl-label>
|
||||
<input cnslInput [(ngModel)]="confirm" />
|
||||
<input cnslInput [(ngModel)]="confirm" [attr.e2e-data]="'confirm-dialog-input'"/>
|
||||
</cnsl-form-field>
|
||||
</div>
|
||||
<div mat-dialog-actions class="action">
|
||||
<button *ngIf="data.cancelKey" mat-button (click)="closeDialog()">
|
||||
<button *ngIf="data.cancelKey" mat-stroked-button (click)="closeDialog()">
|
||||
{{data.cancelKey | translate}}
|
||||
</button>
|
||||
<span class="fill-space"></span>
|
||||
<button color="warn" [disabled]="data.confirmation && confirm !== data.confirmation" mat-raised-button
|
||||
class="ok-button" (click)="closeDialogWithSuccess()">
|
||||
class="ok-button" (click)="closeDialogWithSuccess()" [attr.e2e-data]="'confirm-dialog-button'">
|
||||
{{data.confirmKey | translate}}
|
||||
</button>
|
||||
</div>
|
||||
@@ -16,19 +16,18 @@
|
||||
}
|
||||
|
||||
.desc {
|
||||
color: var(--grey);
|
||||
font-size: .9rem;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.action {
|
||||
display: flex;
|
||||
|
||||
button {
|
||||
border-radius: .5rem;
|
||||
border-radius: 0.5rem;
|
||||
}
|
||||
|
||||
.ok-button {
|
||||
margin-left: .5rem;
|
||||
margin-left: 0.5rem;
|
||||
}
|
||||
|
||||
.fill-space {
|
||||
|
||||
Reference in New Issue
Block a user