23 lines
882 B
HTML
23 lines
882 B
HTML
<form>
|
|
<div class="form-check">
|
|
<label class="form-check-label">
|
|
<input type="checkbox" class="form-check-input" data-bind="checked: Stairs.Range.UseScaling"> Use scaling
|
|
</label>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col-sm-2 header">Step</div>
|
|
<div class="col-sm-5 header">Start (min. 0)</div>
|
|
<div class="col-sm-5 header">End (max. 4095)</div>
|
|
</div>
|
|
|
|
<div data-bind="foreach: Stairs.Range.Values">
|
|
<div class="form-group row">
|
|
<div class="col-sm-2" data-bind="text: $parent.Stairs.Range.Values().length - $index()"></div>
|
|
<div class="col-sm-5"><input type="number" class="form-control" data-bind="value: Start"></div>
|
|
<div class="col-sm-5"><input type="number" class="form-control" data-bind="value: End"></div>
|
|
</div>
|
|
</div>
|
|
|
|
<button class="btn btn-warning" data-bind="click: resetRanges">Reset</button>
|
|
</form> |