aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/app/_elements/carousel/carousel.component.html
diff options
context:
space:
mode:
authorNevena Bojovic <nenabojov@gmail.com>2022-03-16 20:15:27 +0100
committerNevena Bojovic <nenabojov@gmail.com>2022-03-16 20:15:27 +0100
commit8ac9eb2404ac00397be35fce4aee7adc1f261875 (patch)
tree979fc626207a2911a54ac18a2859c0a81e57918f /frontend/src/app/_elements/carousel/carousel.component.html
parent39228ed08db5aa56e6a1c02ddbfc6691e1d0eef0 (diff)
parent0f06229fa6a112b5299ac5182d938adb7ef39bde (diff)
Merge branch 'dev' 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.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