diff options
Diffstat (limited to 'frontend/src/app/_pages/add-model/add-model.component.html')
-rw-r--r-- | frontend/src/app/_pages/add-model/add-model.component.html | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/frontend/src/app/_pages/add-model/add-model.component.html b/frontend/src/app/_pages/add-model/add-model.component.html index e141b228..19d69148 100644 --- a/frontend/src/app/_pages/add-model/add-model.component.html +++ b/frontend/src/app/_pages/add-model/add-model.component.html @@ -124,13 +124,14 @@ <label for="batchSize" class="col-form-label">Broj uzorka po iteraciji: </label> <input type="number" min="1" class="form-control" name="batchSize" [(ngModel)]="newModel.batchSize"> </div> - <div class="col mt-1"> + <div class="col-3 mt-1"> <label for="type" class="form-check-label mb-3"> Podela test skupa: <input class="mx-3 form-check-input" type="checkbox" [checked]="newModel.randomTestSet" (change)="newModel.randomTestSet = !newModel.randomTestSet"> </label> - <input type="range" min="0.1" max="0.9" step="0.1" class="form-control" name="randomTestSetDistribution" - [disabled]="!newModel.randomTestSet" [(ngModel)]="newModel.randomTestSetDistribution"> + <mat-slider min="0.1" max="0.9" step="0.1" value="0.2" name="randomTestSetDistribution" thumbLabel + [disabled]="!newModel.randomTestSet" [(ngModel)]="newModel.randomTestSetDistribution"> + </mat-slider> </div> </div> |