Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MOSIP-25193 : Reliability bugs on Admin-Ui Module #296

Merged
merged 1 commit into from
Mar 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,20 @@
<p class="packet-status__header-text">{{'download-card.header' | translate}}</p>
<mat-card style="border-radius: 0;">
<table style="width: 100%;">
<caption>Download Card Table</caption>
<thead>
<tr>
<td style="width: 50%;"><strong><span style=" font-family: Roboto, sans-serif; margin-left:30px; font-size: 12px;">{{'download-card.text' | translate}}</span></strong></td>
<td style="width: 50%;text-align: right;" *ngIf="searchLimitCount"><strong><span style=" font-family: Roboto, sans-serif; margin-left:30px; font-size: 12px;">{{'download-card.searchLimit' | translate}}&nbsp;{{searchLimitCount}}&nbsp;{{'download-card.outof' | translate}}&nbsp;{{searchLimitMaxCount}}&nbsp;{{'download-card.dailylimit' | translate}}</span></strong></td>
<th id="textColumn" style="width: 50%;">
<strong><span style="font-family: Roboto, sans-serif; margin-left:30px; font-size: 12px;">{{'download-card.text' | translate}}</span></strong>
</th>
<th id="limitColumn" style="width: 50%; text-align: right;" *ngIf="searchLimitCount">
<strong><span style="font-family: Roboto, sans-serif; margin-left:30px; font-size: 12px;">{{'download-card.searchLimit' | translate}}&nbsp;{{searchLimitCount}}&nbsp;{{'download-card.outof' | translate}}&nbsp;{{searchLimitMaxCount}}&nbsp;{{'download-card.dailylimit' | translate}}</span></strong>
</th>
</tr>
<tr>
<td colspan="2">
<th id="downloadCard" colspan="2">
<span style="font-family: Roboto, sans-serif; margin-left: 30px; font-size: 10px;">Download Card</span>
</td>
</th>
</tr>
</thead>
</table><br>
Expand All @@ -27,8 +32,8 @@
<caption>Download Card Information</caption>
<thead>
<tr>
<th>Download Card DOB</th>
<th>Download Card Verify</th>
<th id="dobHeader">Download Card DOB</th>
<th id="verifyHeader">Download Card Verify</th>
</tr>
</thead>
<tr>
Expand All @@ -37,13 +42,13 @@
<table>
<caption>Download Card Details</caption>
<tr>
<th>{{ 'download-card.dob' | translate }}</th>
<th id="dateOfBirthHeader">{{ 'download-card.dob' | translate }}</th>
</tr>
<tr>
<th>{{ data.dateOfBirth }}</th>
<th id="dateOfBirth">{{ data.dateOfBirth }}</th>
</tr>
<tr>
<th>{{ 'download-card.verify' | translate }}</th>
<th id="verificationHeader">{{ 'download-card.verify' | translate }}</th>
</tr>
<tr>
<td><strong>{{'download-card.dob' | translate}} :</strong> {{data.dateOfBirth}}</td>
Expand All @@ -58,7 +63,7 @@
<mat-button-toggle (click)="captureSelection('false')" value="flase"><mat-icon style="color:red;">clear</mat-icon>&nbsp;&nbsp;{{'download-card.reject' | translate}}</mat-button-toggle>
</mat-button-toggle-group>
</td>
<th>Action</th>
<th id="actionHeader">Action</th>
</tr>
<tr>
<td>
Expand Down
4 changes: 1 addition & 3 deletions admin-ui/src/app/shared/dialog/dialog.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -387,9 +387,7 @@ export class DialogComponent implements OnInit {
const filterValue = this.filterGroup.controls[key].value.toString();
if (filterValue.endsWith('*') || filterValue.startsWith('*') || filterValue.includes('*')) {
filterType = 'contains';
} else {
filterType = 'contains';
}
}
} else if (
filter[0].dropdown === 'true' &&
filter[0].autocomplete === 'false'
Expand Down
1 change: 1 addition & 0 deletions admin-ui/src/app/shared/table/table.component.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<div class="container">
<table class="mat-table">
<caption>Table Data</caption>
<tr class="mat-row sticky-header">
<th *ngIf="showRadioButton" id="tableData"></th>
<th
Expand Down
2 changes: 1 addition & 1 deletion admin-ui/src/app/shared/toolbar/toolbar.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
'filter-button-style': button.buttonName.eng === 'Filter'
}"
>
<img [src]="button.imagePath"/>
<img [src]="button.imagePath" alt="img"/>
<span class="button-name">{{ button.buttonName[lang]}}</span>
<span class="filter-placer" *ngIf="button.buttonName.eng === 'Filter' && filtersAppliedFlag">
<em style="font-size: 16px;" class="material-icons">fiber_manual_record</em>
Expand Down
Loading