From 338e11564621d67cc71663274fe6369cf3275fe6 Mon Sep 17 00:00:00 2001 From: saravanakumarkandasami Date: Tue, 23 Oct 2018 18:11:07 +0530 Subject: [PATCH] Dashboard UI --- .../app/dashboard/dashboard.component.html | 11 +- .../src/app/dashboard/dashboard.component.ts | 16 +- .../list-pd/add-pd/add-pd.component.html | 8 +- .../manage-pd/list-pd/list-pd.component.html | 271 +++++++++--------- 4 files changed, 155 insertions(+), 151 deletions(-) diff --git a/ng6-seed/src/app/dashboard/dashboard.component.html b/ng6-seed/src/app/dashboard/dashboard.component.html index a0a678d0f..0d806f948 100644 --- a/ng6-seed/src/app/dashboard/dashboard.component.html +++ b/ng6-seed/src/app/dashboard/dashboard.component.html @@ -24,8 +24,7 @@
- - +
@@ -35,12 +34,10 @@ Smart -
- +
- - +
@@ -54,7 +51,7 @@
- +
diff --git a/ng6-seed/src/app/dashboard/dashboard.component.ts b/ng6-seed/src/app/dashboard/dashboard.component.ts index 8df0e2279..7d56ca23f 100644 --- a/ng6-seed/src/app/dashboard/dashboard.component.ts +++ b/ng6-seed/src/app/dashboard/dashboard.component.ts @@ -11,19 +11,25 @@ export class DashboardComponent { public showXAxis = true; public showYAxis = true; - public gradient = false; + public gradient = true; public showLegend = false; public showXAxisLabel = true; public xAxisLabel = 'Status'; public showYAxisLabel = true; - public yAxisLabel = 'PD'; + public yAxisLabel = 'PD'; + view: any[]; + width = 350; + height= 250; public colorScheme = { domain: ['#673ab7', '#f44336', '#009688 ', '#2196f3', '#234278 ', '#2a1653'] }; - public autoScale = false; + public autoScale = true; constructor() { - - } + } + ngOnInit(){ + this.view = [this.width, this.height]; + + } //Full Pd Data full: Object[] = [ { diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/add-pd/add-pd.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/add-pd/add-pd.component.html index 4735d7a7e..b856fec45 100644 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/add-pd/add-pd.component.html +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/add-pd/add-pd.component.html @@ -1,4 +1,4 @@ - +
@@ -212,7 +212,7 @@
Co-Applicant
- + @@ -267,11 +267,11 @@ (click)="onReset()">settings_backup_restore - + -
+ \ No newline at end of file diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/list-pd.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/list-pd.component.html index 7e47340fc..0af9a232e 100644 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/list-pd.component.html +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/list-pd.component.html @@ -1,141 +1,142 @@ - -
-
- - - + +
+
+ + + +
+ +
+ +
- -
- - -
-
- - - - All - -
- - - - -

{{details.applicat_details[0].applicant_name}}

+
+ + + + All + +
+ + + + +

{{details.applicat_details[0].applicant_name}}

+ +

{{details.lender_full_name}} {{details.lender_applicant_id}}{{details.pd_date_of_initiation}}

+

{{details.product_abbr}}/{{details.subproduct_abbr}}/{{details.customer_segment_abbr}} {{details.loan_amount}}  {{details.city_name}}/{{details.state_name}}-{{details.pincode}}

+ + + +
-

{{details.lender_full_name}} {{details.lender_applicant_id}}{{details.pd_date_of_initiation}}

-

{{details.product_abbr}}/{{details.subproduct_abbr}}/{{details.customer_segment_abbr}} {{details.loan_amount}}  {{details.city_name}}/{{details.state_name}}-{{details.pincode}}

- - - -
- - - - -
- - - - - - -

No Record Found ...

- -
-
-
- - - - - - - - + + + +
+ + + + + + +

No Record Found ...

+ +
+
+
+ + + + + + + + + + In Progress + + + + - In Progress - - - - - - Scheduled - - - - - - Completed - - - - - - + Scheduled + + + + + + Completed + + + + + + + + + + + - - - - - - + + \ No newline at end of file