Skip to content

Commit

Permalink
Reliability bugs on Admin-Ui Module
Browse files Browse the repository at this point in the history
Signed-off-by: GOKULRAJ136 <[email protected]>
  • Loading branch information
GOKULRAJ136 committed Mar 13, 2024
1 parent e3b027a commit 4ed9031
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 14 deletions.
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

0 comments on commit 4ed9031

Please sign in to comment.