diff --git a/src/app/authentication/authentication.component.html b/src/app/authentication/authentication.component.html
index b21624b..c497239 100644
--- a/src/app/authentication/authentication.component.html
+++ b/src/app/authentication/authentication.component.html
@@ -1,28 +1,32 @@
-
-
-
Log In
-
-
-
- The Kinsley Group is a leading energy solutions supplier with a 50 plus year legacy of sales, rental and
- service of quality energy systems. Our commercial businesses include Kinsley Power Systems, a top distributor
- of industrial and residential KOHLER® generators for over 50 years and Kinsley Energy Systems, representing
- prime movers for co-generation, biomass and landfill applications.
-
+
+
+
Log In
+
+
+
+
+ The Kinsley Group is a leading energy solutions supplier with a 50 plus year legacy of sales, rental and
+ service of quality energy systems. Our commercial businesses include Kinsley Power Systems, a top distributor
+ of industrial and residential KOHLER® generators for over 50 years and Kinsley Energy Systems, representing
+ prime movers for co-generation, biomass and landfill applications.
+
+
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/src/app/generator-search/generator-search.component.css b/src/app/generator-search/generator-search.component.css
index d6194eb..66b75b5 100644
--- a/src/app/generator-search/generator-search.component.css
+++ b/src/app/generator-search/generator-search.component.css
@@ -1,6 +1,6 @@
-div {
+/* div {
position: absolute;
top: 40%;
left: 50%;
transform: translate(-50%,-50%);
-}
\ No newline at end of file
+} */
\ No newline at end of file
diff --git a/src/app/generator-search/generator-search.component.html b/src/app/generator-search/generator-search.component.html
index bc59121..8e57740 100644
--- a/src/app/generator-search/generator-search.component.html
+++ b/src/app/generator-search/generator-search.component.html
@@ -1,8 +1,25 @@
+
+
Search for a Generator
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/app/generator-search/generator-search.component.ts b/src/app/generator-search/generator-search.component.ts
index 8ea3791..5e7dd09 100644
--- a/src/app/generator-search/generator-search.component.ts
+++ b/src/app/generator-search/generator-search.component.ts
@@ -7,11 +7,25 @@ import { Router } from '@angular/router';
templateUrl: './generator-search.component.html',
styleUrls: ['./generator-search.component.css']
})
+
export class GeneratorSearchComponent implements OnInit {
- constructor(private data: GeneratorService, private router: Router) { }
+ constructor(public data: GeneratorService, private router: Router) { }
+
+ public generators$: Object;
ngOnInit() {
+ const jsonToken = localStorage.getItem('auth_token');
+ try {
+ this.data.getGenerators(jsonToken).subscribe((data) => {
+ // console.log(data);
+ this.generators$ = data;
+ return this.generators$;
+ });
+ } catch (err) {
+ return err;
+ }
+ // this.generators$ = this.getGeneratorName();
}
}