From b044631e0f171ee48a6a530c227b0a923e38f0f2 Mon Sep 17 00:00:00 2001 From: saravanakumarkandasami Date: Mon, 22 Oct 2018 17:58:32 +0530 Subject: [PATCH] UI In PD Team and dashboard --- .../app/dashboard/dashboard.component.html | 30 +++------ .../src/app/dashboard/dashboard.component.ts | 67 ++++++++++++++++++- .../component/company/company.component.html | 15 +++-- .../pd-team-add/pd-team-add.component.html | 11 +-- .../pd-team-edit/pd-team-edit.component.html | 9 ++- .../questions/list/list.component.html | 21 +++--- .../questions/list/list.component.scss | 4 +- ng6-seed/src/index.html | 6 +- 8 files changed, 113 insertions(+), 50 deletions(-) diff --git a/ng6-seed/src/app/dashboard/dashboard.component.html b/ng6-seed/src/app/dashboard/dashboard.component.html index 0d79a7448..a0a678d0f 100644 --- a/ng6-seed/src/app/dashboard/dashboard.component.html +++ b/ng6-seed/src/app/dashboard/dashboard.component.html @@ -21,51 +21,43 @@ Full -
- - +
- +
-
-
+
Smart -
- +
- +
-
-
+
Tele -
- - +
- +
-
-
+
@@ -81,7 +73,7 @@

{{item.lendername}} / {{item.billingaddr}}

-

Full -{{item.fullpd}} / Smart -{{item.smartpd}}

+

Full -{{item.fullpd}} / Smart -{{item.smartpd}} / Tele - {{item.telepd}}

@@ -96,7 +88,7 @@

{{item.cityname}}

-

Full -{{item.fullpd}} / Smart -{{item.smartpd}}

+

Full -{{item.fullpd}} / Smart -{{item.smartpd}} / Tele - {{item.telepd}}

diff --git a/ng6-seed/src/app/dashboard/dashboard.component.ts b/ng6-seed/src/app/dashboard/dashboard.component.ts index c2b5fa838..8df0e2279 100644 --- a/ng6-seed/src/app/dashboard/dashboard.component.ts +++ b/ng6-seed/src/app/dashboard/dashboard.component.ts @@ -20,11 +20,12 @@ export class DashboardComponent { public colorScheme = { domain: ['#673ab7', '#f44336', '#009688 ', '#2196f3', '#234278 ', '#2a1653'] }; - public autoScale = true; + public autoScale = false; constructor() { } - single: Object[] = [ + //Full Pd Data + full: Object[] = [ { name: 'Triggered', value: 45 @@ -50,22 +51,79 @@ export class DashboardComponent { value: 81 } ]; + //smart PD data + smart: Object[] = [ + { + name: 'Triggered', + value: 65 + }, + { + name: 'Allocated', + value: 20 + }, + { + name: 'Scheduled', + value: 80 + }, + { + name: 'InProgress', + value: 60 + }, + { + name: 'Completed', + value: 26 + }, + { + name: 'QC Completed', + value: 51 + } + ]; + //Tele PD Data + tele: Object[] = [ + { + name: 'Triggered', + value: 95 + }, + { + name: 'Allocated', + value: 59 + }, + { + name: 'Scheduled', + value: 45 + }, + { + name: 'InProgress', + value: 25 + }, + { + name: 'Completed', + value: 36 + }, + { + name: 'QC Completed', + value: 49 + } + ]; // //Lender wise PD Triggered lenderpd: Object[] = [{ lendername:'ICICI', billingaddr:'Bangalore', - fullpd:'9', + fullpd:'19', smartpd:'6', + telepd:'10', }, { lendername:'IOB', billingaddr:'Chennai', fullpd:'10', smartpd:'5', + telepd:'7', }, { lendername:'SBI', billingaddr:'Pune', fullpd:'16', smartpd:'3', + telepd:'33', }, ]; @@ -74,14 +132,17 @@ export class DashboardComponent { cityname: 'Bangalore', fullpd:'45', smartpd:'17', + telepd:'10', }, { cityname: 'Chennai', fullpd:'33', smartpd:'16', + telepd:'8', }, { cityname: 'Salem', fullpd:'22', smartpd:'12', + telepd:'2', } ]; // //Same status diff --git a/ng6-seed/src/app/settings/masters/component/company/company.component.html b/ng6-seed/src/app/settings/masters/component/company/company.component.html index a2cd3386f..5ebbeb333 100644 --- a/ng6-seed/src/app/settings/masters/component/company/company.component.html +++ b/ng6-seed/src/app/settings/masters/component/company/company.component.html @@ -1,6 +1,6 @@ + -

Company                                                 

- +
@@ -16,21 +16,21 @@
- +
- +
- +
@@ -48,7 +48,7 @@
- + {{ sd.name }} @@ -58,7 +58,7 @@
- pincode should be in 6 digit format + Pincode should be in 6 digit format - +
diff --git a/ng6-seed/src/app/template/questions/list/list.component.scss b/ng6-seed/src/app/template/questions/list/list.component.scss index fa863a272..813f91b02 100644 --- a/ng6-seed/src/app/template/questions/list/list.component.scss +++ b/ng6-seed/src/app/template/questions/list/list.component.scss @@ -15,7 +15,9 @@ font-size: 14px; // width: 100%; } - +.mat-card-title{ + font-size:24px !important; +} .mat-table { overflow: auto; max-height: 500px; diff --git a/ng6-seed/src/index.html b/ng6-seed/src/index.html index de6c3b18d..e2f577376 100644 --- a/ng6-seed/src/index.html +++ b/ng6-seed/src/index.html @@ -121,11 +121,11 @@ transform: scale3D(0, 0, 1); } } - .mat-cell{ - font-size:1.2em !important; + .mat-cell,.mat-form-field{ + font-size:1.2rem !important; } .mat-header-cell{ - font-size:1.2em !important; + font-size:1.2rem !important; font-weight:800 !important; }