aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/app/_elements/carousel/carousel.component.html
diff options
context:
space:
mode:
authorDanijel Andjelkovic <adanijel99@gmail.com>2022-03-15 16:06:39 +0100
committerDanijel Andjelkovic <adanijel99@gmail.com>2022-03-15 16:06:39 +0100
commit6938b1f8fd0a8d27b9fdcc5bc114ffabcd4bac68 (patch)
tree0725c5ffedd201603b574294be6218b754cdd898 /frontend/src/app/_elements/carousel/carousel.component.html
parent4791e1ba6d4c3c737e675f54a947251c3d42163d (diff)
parenta9287af015228a73b5053acdef421d9d63ba766b (diff)
Merge branch 'frontendNaslovna' of http://gitlab.pmf.kg.ac.rs/igrannonica/neuronstellar into dev
Diffstat (limited to 'frontend/src/app/_elements/carousel/carousel.component.html')
-rw-r--r--frontend/src/app/_elements/carousel/carousel.component.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/frontend/src/app/_elements/carousel/carousel.component.html b/frontend/src/app/_elements/carousel/carousel.component.html
new file mode 100644
index 00000000..ea522626
--- /dev/null
+++ b/frontend/src/app/_elements/carousel/carousel.component.html
@@ -0,0 +1,12 @@
+<div class="d-flex flex-row">
+ <div class="mx-2" *ngFor="let item of items" [ngSwitch]="item.constructor.name">
+ <ng-template ngSwitchCase="Dataset">
+ <app-item-dataset [dataset]="item">
+ </app-item-dataset>
+ </ng-template>
+ <ng-template ngSwitchCase="Predictor">
+ <app-item-predictor>
+ </app-item-predictor>
+ </ng-template>
+ </div>
+</div> \ No newline at end of file