aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/app/_pages/predict/predict.component.html
blob: 67d047b76871b986f9458d9a75d03627b900a9e7 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<div id="wrapper">
    <br>
    <div id="container" class="container p-5" style="background-color: white; min-height: 100%;">
        
        <div id="header">
            <h1>Iskoristite prediktor</h1>
        </div>
        
        <br>
        
        <div class="form-group row mt-3 mb-2 d-flex justify-content-center">
            <!--justify-content-center-->
            <h2> Izabrani prediktor: </h2>
            <div class="col-3">
                <label for="name" class="col-form-label">Naziv prediktora:</label>
                <input type="text" class="form-control" name="name" [(ngModel)]="predictor.name">
            </div>
            <div class="col-5">
                <label for="desc" class="col-sm-2 col-form-label">Opis:</label>
                <div>
                    <textarea class="form-control" name="desc" rows="3" [(ngModel)]="predictor.description"></textarea>
                </div>
            </div>
        </div>

        

        <div class="col-3 mt-2">
            <label for="type" class="form-check-label">Da li je prediktor javan?</label>
            <input class="mx-3 form-check-input" type="checkbox" [(ngModel)]="predictor.isPublic"
                type="checkbox" value="" >
        </div>
        <div class="col-3 mt-2">
            <label for="type" class="form-check-label">Da li je dostupan za deljenje?</label>
            <input class="mx-3 form-check-input" type="checkbox" [(ngModel)]="predictor.accessibleByLink"
                type="checkbox" value="" >
        </div>
        <div class="col-2">
            <label for="dateCreated" class="col-form-label">Datum:</label> &nbsp;&nbsp;
            <input type="text" class="form-control-plaintext" id="dateCreated" placeholder="--/--/--"
                value="{{predictor.dateCreated | date: 'dd/MM/yyyy'}}" readonly>
        </div>

        <!--
        <br><br>
        <div class="form-group row mt-5 mb-3">
            <div class="col"></div>
            <button class="btn btn-lg col-4" style="background-color:#003459; color:white;"
                (click)="addModel();">Sačuvaj model</button>
            <div class="col"></div>
            <button class="btn btn-lg col-4" style="background-color:#003459; color:white;"
                (click)="trainModel();">Treniraj model</button>
            <div class="col"></div>
        </div>

        -->
        
    </div>
</div>