Skip to content

Commit

Permalink
Merge pull request #728 from MadhuMosip/develop
Browse files Browse the repository at this point in the history
MOSIP-34303 Added IDs for popup messages
  • Loading branch information
aranaravi authored Jul 8, 2024
2 parents 9db6762 + 6099717 commit a438227
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions resident-ui/src/app/shared/dialog/dialog.component.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!-- Missing Data-->
<div dir="{{sitealignment}}">
<span *ngIf="input.case === 'missingData'">
<span *ngIf="input.case === 'missingData'" id="messagePopup">
<div class="table-container">
<h2 class="filter-heading">{{ input.title[primaryLangCode] }}</h2>
<mat-divider></mat-divider>
Expand Down Expand Up @@ -31,7 +31,7 @@ <h2 class="filter-heading">{{ input.title[primaryLangCode] }}</h2>

<!-- UnlockConfirmation PopUp -->

<div class="pop-up" *ngIf="input.case === 'UNLOCKCONFIRMATION'">
<div class="pop-up" *ngIf="input.case === 'UNLOCKCONFIRMATION'" id="messagePopup">
<div class="pop-up-header">
<b mat-dialog-title>{{ input.title }}</b>
<div mat-dialog-content>
Expand Down Expand Up @@ -73,7 +73,7 @@ <h2 class="filter-heading">{{ input.title[primaryLangCode] }}</h2>

<!-- Confirmation PopUp -->

<div class="pop-up" *ngIf="input.case === 'CONFIRMATION'">
<div class="pop-up" *ngIf="input.case === 'CONFIRMATION'" id="messagePopup">
<div class="pop-up-header">
<b mat-dialog-title>{{ input.title }}</b>
<div mat-dialog-content>
Expand All @@ -92,7 +92,7 @@ <h2 class="filter-heading">{{ input.title[primaryLangCode] }}</h2>

<!-- Message PopUp -->
<div class="pop-up" *ngIf="input.case === 'MESSAGE'" [style.backgroundColor]="popMsgbgColor"
[style.color]="popMsgColor" [style.borderColor]="popMsgColor">
[style.color]="popMsgColor" [style.borderColor]="popMsgColor" id="messagePopup">
<div class="infro-card">
<img alt="" [src]="icon" height="35px" width="35px" class="pop-up-icon" />
<div class="pop-up-header">
Expand Down Expand Up @@ -146,7 +146,7 @@ <h2 class="filter-heading">{{ input.title[primaryLangCode] }}</h2>
</div>

<!-- errorMessageWithClickHere -->
<div *ngIf="input.case === 'errorMessageWithClickHere'" class="warning-message-container">
<div *ngIf="input.case === 'errorMessageWithClickHere'" class="warning-message-container" id="messagePopup">
<div style="display: flex; align-items: start;">
<img alt="" src="./assets/cancel_icon.png" height="35px" width="35px" class="pop-up-icon" />
<div [style.font-size]="fontSize.lableText" style="margin-left: 12px; margin-top: 8px;">
Expand All @@ -163,7 +163,7 @@ <h2 class="filter-heading">{{ input.title[primaryLangCode] }}</h2>
</div>

<!-- Access denied -->
<div *ngIf="input.case === 'accessDenied'" class="warning-message-container">
<div *ngIf="input.case === 'accessDenied'" class="warning-message-container" id="messagePopup">
<div style="display: flex; align-items: start;">
<img alt="" src="./assets/cancel_icon.png" height="35px" width="35px" class="pop-up-icon" />
<div [style.font-size]="fontSize.lableText" style="margin-left: 12px; margin-top: 8px;">
Expand All @@ -180,7 +180,7 @@ <h2 class="filter-heading">{{ input.title[primaryLangCode] }}</h2>

<!-- login and logout messages -->
<div class="pop-up" *ngIf="input.case === 'LoginLogoutSuccessMessages'" [style.backgroundColor]="popMsgbgColor"
[style.color]="popMsgColor" [style.borderColor]="popMsgColor">
[style.color]="popMsgColor" [style.borderColor]="popMsgColor" id="messagePopup">
<div class="infro-card">
<img alt="" [src]="icon" height="35px" width="35px" class="pop-up-icon" />
<div class="pop-up-header">
Expand All @@ -203,7 +203,7 @@ <h2 class="filter-heading">{{ input.title[primaryLangCode] }}</h2>

<!-- ERROR -->

<div class="pop-up" *ngIf="input.case === 'ERROR'">
<div class="pop-up" *ngIf="input.case === 'ERROR'" id="messagePopup">
<div class="infro-card">
<img alt="" [src]="icon" height="35px" width="35px" class="success-img" />
<div class="pop-up-header">
Expand All @@ -216,7 +216,7 @@ <h2 class="filter-heading">{{ input.title[primaryLangCode] }}</h2>
</div>
</div>

<div class="pop-up" *ngIf="input.case === 'STEPS-MESSAGE'">
<div class="pop-up" *ngIf="input.case === 'STEPS-MESSAGE'" id="messagePopup">
<div class="pop-up-header">
<b mat-dialog-title>{{ createUpdateSteps.title }}</b>
<div mat-dialog-content>
Expand All @@ -230,7 +230,7 @@ <h2 class="filter-heading">{{ input.title[primaryLangCode] }}</h2>
</div>
</div>

<div class="pop-up" *ngIf="input.case === 'NOZONE'">
<div class="pop-up" *ngIf="input.case === 'NOZONE'" id="messagePopup">
<div class="pop-up-header">
<b mat-dialog-title>{{ input.title }}</b>
<div mat-dialog-content>
Expand All @@ -245,7 +245,7 @@ <h2 class="filter-heading">{{ input.title[primaryLangCode] }}</h2>
</div>

<!-- terms and Conditions for share with partner-->
<div [style.font-size]="fontSize.paragraph" style="padding: 1rem;" *ngIf="input.case === 'termsAndConditions'">
<div [style.font-size]="fontSize.paragraph" style="padding: 1rem;" *ngIf="input.case === 'termsAndConditions'" id="shareWithPartnerTCPopup">
<h4>{{ input.title }}</h4>
<ol class="conditions-card">
<ng-container *ngFor="let condition of input.conditions">
Expand All @@ -265,7 +265,7 @@ <h4>{{ input.title }}</h4>
</div>

<!-- termsAndConditionsForUpdateMyData -->
<div [style.font-size]="fontSize.paragraph" style="padding: 1rem;" *ngIf="input.case === 'termsAndConditionsForUpdateMyData'">
<div [style.font-size]="fontSize.paragraph" style="padding: 1rem;" *ngIf="input.case === 'termsAndConditionsForUpdateMyData'" id="updateMyDataTCPopup">
<h4>{{ input.title }}</h4>
<ol class="conditions-card">
<ng-container *ngFor="let condition of input.conditions">
Expand All @@ -286,7 +286,7 @@ <h4>{{ input.title }}</h4>


<!-- In active log out -->
<div class="pop-up log-out-warning-popup" *ngIf="input.case === 'LOGOUTWARNINGPOPUP'">
<div class="pop-up log-out-warning-popup" *ngIf="input.case === 'LOGOUTWARNINGPOPUP'" id="messagePopup">
<div class="infro-card">
<img src="./assets/icons/iconfont/info_black_24dp (1).svg" height="35px" width="35px" class="success-img" alt="" />
<div style="margin-left: 8px;">
Expand All @@ -297,7 +297,7 @@ <h4>{{ input.title }}</h4>
</div>
</div>

<div class="pop-up inactive-log-out-popup" *ngIf="input.case === 'INACTIVELOGOUTPOPUP'">
<div class="pop-up inactive-log-out-popup" *ngIf="input.case === 'INACTIVELOGOUTPOPUP'" id="messagePopup">
<div class="infro-card">
<img src="./assets/cancel_icon.png" height="35px" width="35px" class="success-img" alt="" />
<div style="margin-left: 8px;">
Expand All @@ -311,7 +311,7 @@ <h4>{{ input.title }}</h4>
</div>

<!-- Track service login after verify phone Number -->
<div class="pop-up trackService-log-in-popup" *ngIf="input.case === 'logInForTrackService'">
<div class="pop-up trackService-log-in-popup" *ngIf="input.case === 'logInForTrackService'" id="messagePopup">
<div class="infro-card">
<img alt="" src="./assets/sucess_icon.png" height="35px" width="35px" class="success-img" />
<div style="margin-left: 8px;">
Expand All @@ -330,7 +330,7 @@ <h4>{{ input.title }}</h4>
</div>

<!-- OTP Message-->
<div class="pop-up" *ngIf="input.case === 'OTP'">
<div class="pop-up" *ngIf="input.case === 'OTP'" id="Otppopup">
<div class="pop-up-header otp-popup">
<p class="otp-time-heading">{{'verifyuinvid.subTitle' | translate}}<span class="otp-expire-time">
0{{otpTimeMinutes}}:{{displaySeconds}}</span>
Expand Down Expand Up @@ -358,7 +358,7 @@ <h4>{{ input.title }}</h4>
</div>

<!-- show preview image -->
<div style="height: 50%;" *ngIf="input.case === 'previewImage'">
<div style="height: 50%;" *ngIf="input.case === 'previewImage'" id="imagePreviewPopup">
<div width="100%" class="preview-file-name-card" >
<p>{{input.fileName}}</p>
<span (click)="dismiss()" style="cursor: pointer;">
Expand All @@ -369,7 +369,7 @@ <h4>{{ input.title }}</h4>
</div>

<!-- message for Language change -->
<div class="pop-up log-out-warning-popup lang-change-msg" *ngIf="input.case === 'MESSAGEFORLANGCHANGE'">
<div class="pop-up log-out-warning-popup lang-change-msg" *ngIf="input.case === 'MESSAGEFORLANGCHANGE'" id="messagePopup">
<div class="infro-card">
<img src="./assets/icons/iconfont/info_black_24dp (1).svg" height="35px" width="35px" class="success-img"
alt="" />&nbsp;
Expand All @@ -392,7 +392,7 @@ <h4>{{ input.title }}</h4>

<!-- updateMyDataInprogress -->
<div [style.font-size]="fontSize.lableText" *ngIf="input.case === 'updateMyDataInprogress'"
class="data-inprogress-main-card">
class="data-inprogress-main-card" id="messagePopup">
<div width="100%">
<h4 class="data-inprogress-heading" style="margin: 0;">{{input.message.heading}}</h4>
<p class="data-inprogress-description">{{input.message.descriptionDetails}}</p>
Expand Down

0 comments on commit a438227

Please sign in to comment.