aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/app/_elements/carousel/carousel.component.html
diff options
context:
space:
mode:
authorSonja Galovic <galovicsonja@gmail.com>2022-03-15 21:32:58 +0100
committerSonja Galovic <galovicsonja@gmail.com>2022-03-15 21:32:58 +0100
commitd6c8dc0a22cfe3cb0ed1579f5dc7c4c0e6d9b3de (patch)
treed5e8d368d08f2168e66438f486706af530b3b9c4 /frontend/src/app/_elements/carousel/carousel.component.html
parentca592566e80a7a83fff85e0b5a11bcca06f7e017 (diff)
parentf6496f86182902f2a6e5e34554ae93116d04c5b6 (diff)
Merge branch 'dev' of http://gitlab.pmf.kg.ac.rs/igrannonica/neuronstellar into dev
# Conflicts: # frontend/src/app/_pages/add-model/add-model.component.html
Diffstat (limited to 'frontend/src/app/_elements/carousel/carousel.component.html')
-rw-r--r--frontend/src/app/_elements/carousel/carousel.component.html14
1 files changed, 14 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..755899a7
--- /dev/null
+++ b/frontend/src/app/_elements/carousel/carousel.component.html
@@ -0,0 +1,14 @@
+<div class="container">
+ <div class="row d-flex align-items-stretch flex-row mx-5 align-items-stretch">
+ <div class="col my-1" *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 [predictor]="item">
+ </app-item-predictor>
+ </ng-template>
+ </div>
+ </div>
+</div> \ No newline at end of file