~hokiegeek/biologist-web

ref: b6f62f29b8cef976d01932042d5eb079098ec37a biologist-web/src/app/controls/controls.component.html -rw-r--r-- 1.6 KiB
b6f62f29HokieGeek GUI simplication 3 years ago
                                                                                
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
<div>
    <div class="btn-group w-100" role="group">
        <button type="button" class="btn btn-primary btn-block rounded-0" (click)="create()">Study Life!</button>
        <button type="button" class="btn rounded-0 btn-primary settings-toggle"
            data-toggle="collapse" data-target="#defaultSettings" title="default settings">
            <i class="fa fa-bars"></i>
            </button>
    </div>
    <div id="defaultSettings" class="collapse mt-1" role="tabpanel" aria-labelledby="settingsHeading">
        <div id="options" class="w-100 d-flex flex-row justify-content-center">
            <div class="input-group">
                <div class="input-group-prepend">
                    <span class="input-group-text">Rows</span>
                </div>
                <input type="text" class="form-control" size="3" placeholder="rows" [(ngModel)]="defaultRows">
            </div>
            <div class="input-group ml-1">
                <div class="input-group-prepend">
                    <span class="input-group-text">Cols</span>
                </div>
                <input type="text" class="form-control" size="3" placeholder="columns" [(ngModel)]="defaultColumns">
            </div>
            <div class="input-group ml-1">
                <div class="input-group-prepend">
                    <span class="input-group-text">Density</span>
                </div>
                <span class="range rounded-right">
                    <input type="range" class="form-control" min="10" max="90" [(ngModel)]="defaultDensity" [title]="defaultDensity + '%'">
                </span>
            </div>
        </div>
    </div>
</div>