Compare commits

...

2 Commits

3 changed files with 29 additions and 19 deletions

View File

@ -1,14 +1,17 @@
<div class="template-container"> <div class="template-container">
<div mat-dialog-title class="row d-flex mb-4"> <div mat-dialog-title class="mb-3">
<div class="col p-0"> <div class="row">
<div class="col">
<span class="title">{{'USER-PROFILE.ACTIONS.LINK-NEW-ACCOUNT' | translate}}</span> <span class="title">{{'USER-PROFILE.ACTIONS.LINK-NEW-ACCOUNT' | translate}}</span>
</div> </div>
<div class="col-auto p-0"> <div class="col-auto">
<mat-icon class="close-icon" (click)="closeDialog()">close</mat-icon> <mat-icon class="close-icon" (click)="closeDialog()">close</mat-icon>
</div> </div>
</div> </div>
</div>
<!-- <app-login *ngIf="hasEmail" [mergeUsers]="true" redirect="false"></app-login> --> <!-- <app-login *ngIf="hasEmail" [mergeUsers]="true" redirect="false"></app-login> -->
<!-- <div *ngIf="!hasEmail"> --> <!-- <div *ngIf="!hasEmail"> -->
<div mat-dialog-content class="mb-3">
<div class="row mt-2 mb-4"> <div class="row mt-2 mb-4">
<div class="col-12"> <div class="col-12">
<mat-form-field class="w-100"> <mat-form-field class="w-100">
@ -16,12 +19,19 @@
</mat-form-field> </mat-form-field>
</div> </div>
</div> </div>
<div class="row justify-content-end"> </div>
<div mat-dialog-actions class="mb-2">
<div class="container-fluid">
<div class="row justify-content-center">
<div class="col-xl"></div>
<div class="col-auto"> <div class="col-auto">
<button mat-raised-button type="button" class="cancel-btn ml-auto" (click)="cancel()">{{'USER-PROFILE.ACTIONS.CANCEL' | translate}}</button> <button mat-raised-button type="button" class="cancel-btn ml-auto" (click)="cancel()">{{'USER-PROFILE.ACTIONS.CANCEL' | translate}}</button>
</div> </div>
<div class="col-auto"> <div class="col-auto">
<button mat-raised-button type="button" class="add-btn ml-4" (click)="add()" [disabled]="!form.valid">{{'USER-PROFILE.ACTIONS.ADD' | translate}}</button> <button mat-raised-button type="button" class="add-btn" (click)="add()" [disabled]="!form.valid">{{'USER-PROFILE.ACTIONS.ADD' | translate}}</button>
</div>
</div>
</div> </div>
</div> </div>
</div> </div>

View File

@ -1,5 +1,4 @@
.template-container { .template-container {
padding: 2.0rem;
.header { .header {
display: flex; display: flex;
@ -23,7 +22,6 @@
.close-icon { .close-icon {
cursor: pointer; cursor: pointer;
margin-right: 20px;
} }
.close-icon:hover { .close-icon:hover {

View File

@ -362,6 +362,8 @@ export class UserProfileComponent extends BaseComponent implements OnInit, OnDes
autoFocus: false, autoFocus: false,
// width: '653px', // width: '653px',
// maxHeight: '90vh', // maxHeight: '90vh',
width: '30%',
minWidth: 'fit-content',
data: { data: {
email: '' email: ''
} }