Moved Dashboad webapp on Angular 5 !
[src/xds/xds-agent.git] / webapp / src / app / home / home.component.html
diff --git a/webapp/src/app/home/home.component.html b/webapp/src/app/home/home.component.html
new file mode 100644 (file)
index 0000000..568fb9b
--- /dev/null
@@ -0,0 +1,13 @@
+<div class="wide">
+    <carousel [interval]="carInterval" [(activeSlide)]="activeSlideIndex">
+        <slide *ngFor="let sl of slides; let index=index">
+            <img [src]="sl.img" [alt]="sl.imgAlt">
+            <div class="carousel-caption">
+                <h1 *ngIf="sl.hText">{{ sl.hText }}</h1>
+                <h1 *ngIf="sl.hHtml" class="html-inner" [innerHtml]="sl.hHtml"></h1>
+                <p   *ngIf="sl.text">{{ sl.text }}</p>
+                <div *ngIf="sl.html" class="html-inner" [innerHtml]="sl.html"></div>
+            </div>
+        </slide>
+    </carousel>
+</div>