X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=webapp%2Fsrc%2Fapp%2Fhome%2Fhome.component.ts;h=66a2f307c10281033d122efe4f8fcce898117b58;hb=b0d130807fb9bf36f5ac1abe21cbd558eb86d5cc;hp=0e3c9958cd5ec08cf23df94fd24e800365a44ee2;hpb=97ca1f277dc8b6973d6fa67add5593a9c395ce60;p=src%2Fxds%2Fxds-agent.git
diff --git a/webapp/src/app/home/home.component.ts b/webapp/src/app/home/home.component.ts
index 0e3c995..66a2f30 100644
--- a/webapp/src/app/home/home.component.ts
+++ b/webapp/src/app/home/home.component.ts
@@ -12,70 +12,35 @@ export interface ISlide {
}
@Component({
- selector: 'home',
- moduleId: module.id,
- template: `
-
-
-
-
-
-
-
-
{{ sl.hText }}
-
-
{{ sl.text }}
-
-
-
-
-
- `
+ selector: 'xds-home',
+ templateUrl: 'home.component.html',
+ styleUrls: ['home.component.css']
})
export class HomeComponent {
- public carInterval: number = 4000;
+ public carInterval = 4000;
+ public activeSlideIndex = 0;
// FIXME SEB - Add more slides and info
public slides: ISlide[] = [
{
img: 'assets/images/iot-graphx.jpg',
- imgAlt: "iot graphx image",
- hText: "Welcome to XDS Dashboard !",
- text: "X(cross) Development System allows developers to easily cross-compile applications.",
+ imgAlt: 'iot graphx image',
+ hText: 'Welcome to XDS Dashboard !',
+ text: 'X(cross) Development System allows developers to easily cross-compile applications.',
},
{
img: 'assets/images/iot-graphx.jpg',
- imgAlt: "iot graphx image",
- hText: "Create, Build, Deploy, Enjoy !",
+ imgAlt: 'iot graphx image',
+ hText: 'Create, Build, Deploy, Enjoy !',
},
{
img: 'assets/images/iot-graphx.jpg',
- imgAlt: "iot graphx image",
- hHtml: 'To Start: click on icon and add new folder
',
+ imgAlt: 'iot graphx image',
+ hHtml: 'To Start: click on icon and add new folder
',
}
];
constructor() { }
-}
\ No newline at end of file
+}