aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/app/_elements/item-predictor/item-predictor.component.html
blob: 7ae26fd3abb5507944766ee0eadf86df78ec6f2b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<div class="card" style="min-width: 12rem;">
    <div class="card-header">
        {{predictor.name}}
    </div>
    <div class="card-body">
        <p class="card-text">
            {{predictor.description}}
        </p>
        <div class="d-flex flex-column align-items-center">
            <table class="table table-bordered table-sm">
                <thead>
                    <th class="text-center" *ngFor="let column of predictor.inputs">{{column}}</th>
                </thead>
            </table>
            <mat-icon>arrow_downward</mat-icon>
            <p>
                {{predictor.output}}
            </p>
        </div>
    </div>
    <div class="card-footer text-center">
        <button class="btn btn-lg col-4" style="background-color:#003459; color:white;"
        (click)="openPredictor();">Iskoristi</button>
        <!--<a routerLink="/predict" mat-raised-button color="primary">Iskoristi</a>-->
    </div>
</div>