Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/PSMRI/TM-UI into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
NKOKKILIGADDA87 committed Jul 12, 2024
2 parents 790f2b7 + cf57f43 commit 4a6f584
Show file tree
Hide file tree
Showing 8 changed files with 55 additions and 42 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.select-full-width {
/* .select-full-width {
width: 100%;
white-space: nowrap;
overflow: hidden;
}
} */

.input-full-width {
width: 100%;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ <h4 style="font-size: 18px">
>
<ng-container [formGroupName]="i">
<div class="col-md-3 box">
<mat-form-field>
<mat-form-field [style.width]="'100%'">
<mat-label class="mat-label-text">{{
currentLanguageSet?.historyData?.ancHistory
?.pastIllnessDataANC_OPD_NCD_PNC?.illness
Expand All @@ -66,7 +66,7 @@ <h4 style="font-size: 18px">
class="col-2 box"
*ngIf="pastIllness.value.illnessType?.illnessType === 'Other'"
>
<mat-form-field class="input-full-width">
<mat-form-field [style.width]="'100%'" class="input-full-width">
<mat-label class="mat-label-text">{{
currentLanguageSet?.historyData?.opd_NCD_PNCHistory?.obstetric
?.others
Expand All @@ -84,7 +84,7 @@ <h4 style="font-size: 18px">
</div>

<div class="col-2 box">
<mat-form-field class="input-full-width">
<mat-form-field [style.width]="'100%'" class="input-full-width">
<mat-label class="mat-label-text">{{
currentLanguageSet?.nurseData?.chiefComplaintsDetails?.duration
}}</mat-label>
Expand All @@ -102,7 +102,7 @@ <h4 style="font-size: 18px">
</div>

<div class="col-3 box">
<mat-form-field>
<mat-form-field [style.width]="'100%'">
<mat-label class="mat-label-text">{{
currentLanguageSet?.DurationData?.timeperiodAgo
}}</mat-label>
Expand All @@ -120,7 +120,7 @@ <h4 style="font-size: 18px">
</mat-form-field>
</div>

<div class="col-2 box">
<div class="col-2 box" style="margin-top: 15px">
<button
style="margin-right: 5px"
mat-mini-fab
Expand Down Expand Up @@ -172,7 +172,7 @@ <h4 style="font-size: 18px">
>
<ng-container [formGroupName]="i">
<div class="col-3 box">
<mat-form-field>
<mat-form-field [style.width]="'100%'">
<mat-label class="mat-label-text">{{
currentLanguageSet?.historyData?.ancHistory
?.pastHOSurgeryANC_OPD_NCD_PNC?.hoSurgery
Expand All @@ -198,7 +198,7 @@ <h4 style="font-size: 18px">
class="col-2 box"
*ngIf="pastSurgery.value.surgeryType?.surgeryType === 'Other'"
>
<mat-form-field class="input-full-width">
<mat-form-field [style.width]="'100%'" class="input-full-width">
<mat-label class="mat-label-text">{{
currentLanguageSet?.historyData?.opd_NCD_PNCHistory?.obstetric
?.others
Expand All @@ -216,7 +216,7 @@ <h4 style="font-size: 18px">
</div>

<div class="col-2 box">
<mat-form-field class="input-full-width">
<mat-form-field [style.width]="'100%'" class="input-full-width">
<mat-label class="mat-label-text">{{
currentLanguageSet?.nurseData?.chiefComplaintsDetails?.duration
}}</mat-label>
Expand All @@ -234,7 +234,7 @@ <h4 style="font-size: 18px">
</div>

<div class="col-3 box">
<mat-form-field>
<mat-form-field [style.width]="'100%'">
<mat-label class="mat-label-text">{{
currentLanguageSet?.DurationData?.timeperiodAgo
}}</mat-label>
Expand All @@ -252,7 +252,7 @@ <h4 style="font-size: 18px">
</mat-form-field>
</div>

<div class="col-2 box">
<div class="col-2 box" style="margin-top: 15px">
<button
mat-mini-fab
color="warn"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,13 @@
</div>
</div>
<div class="row m-t-10">
<div
class="col-xs-12 col-sm-6 col-md-4 col-lg-4 box"
style="padding-left: 27px"
>
<div class="col-xs-12 col-sm-6 col-md-4 col-lg-4 box">
<label class="control-label" for="dietaryType">{{
currentLanguageSet?.historyData?.ancHistory
?.personalHistoryANC_OPD_NCD_PNC?.dietaryType
}}</label>
<div class="clearfix"></div>
<mat-radio-group formControlName="dietaryType">
<mat-radio-group formControlName="dietaryType" style="margin-left: -6px">
<mat-radio-button color="primary" value="Vegetarian">{{
currentLanguageSet?.historyData?.ancHistory
?.personalHistoryANC_OPD_NCD_PNC?.vegetarian
Expand All @@ -93,14 +90,17 @@

<div
class="col-xs-12 col-sm-6 col-md-4 col-lg-4 box"
style="padding-left: 27px"
style="margin-left: -8px"
>
<label class="control-label" for="physicalActivityType">{{
currentLanguageSet?.historyData?.ancHistory
?.personalHistoryANC_OPD_NCD_PNC?.physicalActivityType
}}</label>
<div class="clearfix"></div>
<mat-radio-group formControlName="physicalActivityType">
<mat-radio-group
formControlName="physicalActivityType"
style="margin-left: -6px"
>
<mat-radio-button color="primary" value="Sedentary">{{
currentLanguageSet?.historyData?.ancHistory
?.personalHistoryANC_OPD_NCD_PNC?.sedentary
Expand All @@ -114,15 +114,18 @@

<div
class="col-xs-12 col-sm-6 col-md-4 col-lg-4 box"
style="padding-left: 27px"
style="margin-left: -8px"
*ngIf="beneficiary?.ageVal >= 18"
>
<label class="control-label" for="riskySexualPracticesStatus">{{
currentLanguageSet?.historyData?.ancHistory
?.personalHistoryANC_OPD_NCD_PNC?.riskySexualPracticesStatus
}}</label>
<div class="clearfix"></div>
<mat-radio-group formControlName="riskySexualPracticesStatus">
<mat-radio-group
formControlName="riskySexualPracticesStatus"
style="margin-left: -6px"
>
<mat-radio-button color="primary" [value]="true">
{{ currentLanguageSet?.common?.yes }}
</mat-radio-button>
Expand All @@ -136,7 +139,7 @@
class="col-xs-12 col-sm-6 col-md-4 col-lg-4 box"
*ngIf="beneficiary?.ageVal >= 13"
>
<mat-form-field>
<mat-form-field [style.width]="'85%'">
<mat-label class="mat-label-text">{{
currentLanguageSet?.historyData?.ancHistory
?.personalHistoryANC_OPD_NCD_PNC?.tobaccoData?.tobaccoUseStatus
Expand All @@ -155,9 +158,10 @@

<div
class="col-xs-12 col-sm-6 col-md-4 col-lg-4 box"
style="margin-left: -8px"
*ngIf="beneficiary?.ageVal >= 13"
>
<mat-form-field>
<mat-form-field [style.width]="'85%'">
<mat-label class="mat-label-text">{{
currentLanguageSet?.historyData?.ancHistory
?.personalHistoryANC_OPD_NCD_PNC?.alcoholData?.alcoholUseStatus
Expand All @@ -174,8 +178,11 @@
</mat-form-field>
</div>

<div class="col-xs-12 col-sm-6 col-md-4 col-lg-4 box">
<mat-form-field>
<div
class="col-xs-12 col-sm-6 col-md-4 col-lg-4 box"
style="margin-left: -8px"
>
<mat-form-field [style.width]="'85%'">
<mat-label class="mat-label-text">{{
currentLanguageSet?.historyData?.ancHistory
?.personalHistoryANC_OPD_NCD_PNC?.allergicStatus?.allergicStatus
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,13 @@
<div class="row m-t-10 m-b-40">
<div class="col-sm-12">
<mat-card>
<section class="table-responsive">
<div class="mat-elevation-z8 responsiveTable">
<section class="">
<div class="">
<table
mat-table
[dataSource]="dataSource"
aria-describedby="nurseWorklist"
class="table table-striped"
>
<ng-container matColumnDef="sno">
<th
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,13 @@
<div class="row m-t-10 m-b-40">
<div class="col-sm-12">
<mat-card>
<section class="table-responsive">
<div class="mat-elevation-z8 responsiveTable">
<section class="">
<div class=" ">
<table
mat-table
[dataSource]="dataSource"
aria-describedby="nurseWorklist"
class="table table-striped"
>
<ng-container matColumnDef="sno">
<th
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,13 @@
<div class="row m-t-10 m-b-40">
<div class="col-sm-12">
<mat-card>
<section class="table-responsive">
<div class="mat-elevation-z8 responsiveTable">
<section class="">
<div class="">
<table
mat-table
[dataSource]="dataSource"
aria-describedby="nurseWorklist"
class="table table-striped"
>
<ng-container matColumnDef="sno">
<th
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<ng-container matColumnDef="sno">
<th
mat-header-cell
style="border-bottom: none; text-align: center"
style="border-bottom: none"
*matHeaderCellDef
mat-sort-header
>
Expand All @@ -72,7 +72,7 @@
<ng-container matColumnDef="beneficiaryID">
<th
mat-header-cell
style="border-bottom: none; text-align: center"
style="border-bottom: none"
*matHeaderCellDef
mat-sort-header
>
Expand All @@ -89,7 +89,7 @@
<ng-container matColumnDef="beneficiaryName">
<th
mat-header-cell
style="border-bottom: none; text-align: center"
style="border-bottom: none"
*matHeaderCellDef
mat-sort-header
>
Expand All @@ -106,7 +106,7 @@
<ng-container matColumnDef="gender">
<th
mat-header-cell
style="border-bottom: none; text-align: center"
style="border-bottom: none"
*matHeaderCellDef
mat-sort-header
>
Expand All @@ -123,7 +123,7 @@
<ng-container matColumnDef="age">
<th
mat-header-cell
style="border-bottom: none; text-align: center"
style="border-bottom: none"
*matHeaderCellDef
mat-sort-header
>
Expand All @@ -140,7 +140,7 @@
<ng-container matColumnDef="status">
<th
mat-header-cell
style="border-bottom: none; text-align: center"
style="border-bottom: none"
*matHeaderCellDef
mat-sort-header
>
Expand All @@ -157,7 +157,7 @@
<ng-container matColumnDef="fatherName">
<th
mat-header-cell
style="border-bottom: none; text-align: center"
style="border-bottom: none"
*matHeaderCellDef
mat-sort-header
>
Expand All @@ -174,7 +174,7 @@
<ng-container matColumnDef="district">
<th
mat-header-cell
style="border-bottom: none; text-align: center"
style="border-bottom: none"
*matHeaderCellDef
mat-sort-header
>
Expand All @@ -192,7 +192,7 @@
<ng-container matColumnDef="phoneNo">
<th
mat-header-cell
style="border-bottom: none; text-align: center"
style="border-bottom: none"
*matHeaderCellDef
mat-sort-header
>
Expand All @@ -209,7 +209,7 @@
<ng-container matColumnDef="image">
<th
mat-header-cell
style="border-bottom: none; text-align: center"
style="border-bottom: none"
*matHeaderCellDef
mat-sort-header
>
Expand Down
5 changes: 4 additions & 1 deletion src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ mat-mdc-form-field-label-always-float {
color: block !important;
font-family: unset !important;
line-height: var(--mat-table-header-headline-line-height);
font-size: unset !important;
font-size: 14px !important;
font-weight: var(--mat-table-header-headline-weight, 500);
}

Expand Down Expand Up @@ -750,3 +750,6 @@ control.mat-mdc-form-field-input-control {
background: #0277bd !important;

}
.mdc-text-field--outlined .mdc-notched-outline {
height: 40px !important;
}

0 comments on commit 4a6f584

Please sign in to comment.