From cdf853d74b86244e9784a56c315091f71514ae59 Mon Sep 17 00:00:00 2001 From: sriram-at-840620226347 Date: Wed, 4 Sep 2019 17:48:03 +0530 Subject: [PATCH] changes by suren --- .../contribute/contribute.component.html | 10 ++-- .../projects/projects.component.html | 56 +++++++++---------- .../components/projects/projects.component.ts | 49 ++++++++++++++++ 3 files changed, 82 insertions(+), 33 deletions(-) diff --git a/ng8-seed/src/app/components/contribute/contribute.component.html b/ng8-seed/src/app/components/contribute/contribute.component.html index 630546c..a257e81 100644 --- a/ng8-seed/src/app/components/contribute/contribute.component.html +++ b/ng8-seed/src/app/components/contribute/contribute.component.html @@ -35,7 +35,7 @@   Requirement - Quantity Cost Per Unit + Quantity Sponsor @@ -49,7 +49,7 @@ Student Benches required at Govt Girls School, Panruti, Villupuram Dt. - 25
23.00
+ 25
@@ -69,7 +69,7 @@ Student Benches required at Govt Girls School, Panruti, Villupuram Dt. - 20
23.00
+ 20
@@ -89,7 +89,7 @@ Student Benches required at Govt Girls School, Panruti, Villupuram Dt. - 20
23.00
+ 28
@@ -109,7 +109,7 @@ Student Benches required at Govt Girls School, Panruti, Villupuram Dt. - 20
23.00
+ 38
diff --git a/ng8-seed/src/app/components/projects/projects.component.html b/ng8-seed/src/app/components/projects/projects.component.html index 62878ee..315ec95 100644 --- a/ng8-seed/src/app/components/projects/projects.component.html +++ b/ng8-seed/src/app/components/projects/projects.component.html @@ -6,34 +6,34 @@
- - - - {{ drink.viewValue }} - - - - - - - {{ drink.viewValue }} - - - - - - - {{ drink.viewValue }} - - - - - - - {{ drink.viewValue }} - - - + + + + {{ item.value }} + + + + + + + {{ item.value }} + + + + + + + {{ item.value }} + + + + + + + {{ item.value }} + + +
diff --git a/ng8-seed/src/app/components/projects/projects.component.ts b/ng8-seed/src/app/components/projects/projects.component.ts index 203880f..815bd71 100644 --- a/ng8-seed/src/app/components/projects/projects.component.ts +++ b/ng8-seed/src/app/components/projects/projects.component.ts @@ -1,4 +1,5 @@ import { Component, OnInit } from '@angular/core'; +import { values } from 'd3'; @Component({ selector: 'app-projects', @@ -38,6 +39,54 @@ export class ProjectsComponent implements OnInit { value: 'milk-8', viewValue: 'Milk' }]; + districtList=[{ + id:"1", + value:"Chennai" + },{ + id:"2", + value:"Vellore" + },{ + id:"3", + value:"Thiruvannamalai" + },{ + id:"4", + value:"Kanchipuram" + },{ + id:"5", + value:"Nagapattinam" + },] + schoolList=[{ + id:"1", + value:"Govt High School" + }, + { + id:"2", + value:"Govt Primary School" + }] + categoryList=[{ + id:"1", + value:"Building" + }, + { + id:"2", + value:"Furnitures" + }, + { + id:"2", + value:"Students kit" + }] + blockList=[{ + id:"1", + value:"Adyar" + }, + { + id:"2", + value:"Mylapore" + }, + { + id:"3", + value:"Royapuram" + }]; constructor() { } ngOnInit() {