view more map updates

This commit is contained in:
gandhimathi 2018-11-28 20:29:17 +05:30
parent a0b87eb0fc
commit 7f00423bb1
3 changed files with 7 additions and 4 deletions

View File

@ -23,7 +23,7 @@
<mat-card *ngFor="let moreDat of data.pd_details; let z=index;"> <mat-card *ngFor="let moreDat of data.pd_details; let z=index;">
<mat-card-content> <mat-card-content>
<ol> <ol>
<li>{{moreDat.pd_status | titlecase}} ( {{moreDat.applicant_name | titlecase}} )</li> <li [style.color]="moreDat.pd_status=='ALLOCATED' ? allocated_color : moreDat.pd_status=='SCHEDULED' ? scheduled_color : inprogress_color">{{moreDat.pd_status | titlecase}} ( {{moreDat.applicant_name | titlecase}} )</li>
<li>{{moreDat.scheduled_on | titlecase}} </li> <li>{{moreDat.scheduled_on | titlecase}} </li>
<!-- <li>{{moreDat.pd_status}}</li> --> <!-- <li>{{moreDat.pd_status}}</li> -->
<li>{{moreDat.pd_type_name | titlecase}} ( Id : {{moreDat.pd_id}} ) </li> <li>{{moreDat.pd_type_name | titlecase}} ( Id : {{moreDat.pd_id}} ) </li>

View File

@ -4,9 +4,9 @@
ol { ol {
list-style-type: none; list-style-type: none;
} }
ol li:first-child { // ol li:first-child {
color: #62B013; // color: #62B013;
} // }
@import "../../../../../assets/styles/scss/material.variables"; @import "../../../../../assets/styles/scss/material.variables";

View File

@ -9,6 +9,9 @@ import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material';
export class AllocationViewMoreComponent implements OnInit { export class AllocationViewMoreComponent implements OnInit {
lat = -34.397; lat = -34.397;
lng = 150.644; lng = 150.644;
allocated_color: string = '#ffa500';
scheduled_color: string = '#3f51b5';
inprogress_color: string = '#4caf50';
constructor(private dialogRef: MatDialogRef<AllocationViewMoreComponent>, constructor(private dialogRef: MatDialogRef<AllocationViewMoreComponent>,
@Inject(MAT_DIALOG_DATA) public data: any) { @Inject(MAT_DIALOG_DATA) public data: any) {
} }