diff --git a/ng8-seed/src/app/components/contribute/contribute.component.scss b/ng8-seed/src/app/components/contribute/contribute.component.scss
index d98078a..394aaa7 100644
--- a/ng8-seed/src/app/components/contribute/contribute.component.scss
+++ b/ng8-seed/src/app/components/contribute/contribute.component.scss
@@ -1,6 +1,12 @@
.calculated-shipping[_ngcontent-gen-c13]{
padding: 0px !important;
}
+.sidescroll{
+ right: 45px !important;
+ height: fit-content;
+ position: fixed;
+ z-index: 1;
+}
a {
text-decoration: underline;
color: #4CAF50;
@@ -16,7 +22,7 @@ a {
td, th {
width: 25%;
- text-align: center;
+ // text-align: center;
}
table.shop-table {
// border-collapse: separate;
diff --git a/ng8-seed/src/app/components/contribute/contribute.component.ts b/ng8-seed/src/app/components/contribute/contribute.component.ts
index 9f37ba9..115b405 100644
--- a/ng8-seed/src/app/components/contribute/contribute.component.ts
+++ b/ng8-seed/src/app/components/contribute/contribute.component.ts
@@ -4,6 +4,7 @@ import { ApiService } from '../../shared/api.service';
import { FormGroup, FormBuilder, FormControl, Validators, } from '@angular/forms';
import { MatTableDataSource, MatPaginator, MatSort } from '@angular/material';
import { Router } from '@angular/router';
+import { SchoolDetailsService } from 'app/shared/school-details.service';
@@ -58,6 +59,13 @@ export class ContributeComponent implements OnInit {
this.initForm();
this.getSchoolReqList();
this.getSchoolReqList2();
+
+ // this.schInfo.schReqId.subscribe(res=>
+ // {
+ // this.schRquId = res;
+ // // console.log(res);
+
+ // })
// window.localStorage.clear();
}
@@ -140,7 +148,7 @@ export class ContributeComponent implements OnInit {
}
-
+
getSchoolReqList2()
{
@@ -186,6 +194,10 @@ export class ContributeComponent implements OnInit {
})
// console.log('mat'+this.material_category);
}
+
+ reset(){
+ this.Contribute.reset();
+ }
ngAfterViewInit() {
// Hack: Scrolls to top of Page after page view initialized
@@ -285,6 +297,9 @@ export class ContributeComponent implements OnInit {
goToProjectDet(curr_array){
this.router.navigate(['home','project-detail',{schoolreqid:curr_array.school_id}])
}
+ refresh(): void {
+ window.location.reload();
+}
}
diff --git a/ng8-seed/src/app/components/project-detail/project-detail.component.html b/ng8-seed/src/app/components/project-detail/project-detail.component.html
index 1cbbaa3..1a1c65a 100644
--- a/ng8-seed/src/app/components/project-detail/project-detail.component.html
+++ b/ng8-seed/src/app/components/project-detail/project-detail.component.html
@@ -104,7 +104,7 @@
-
+
@@ -184,7 +184,7 @@