41 lines
2 KiB
Handlebars
41 lines
2 KiB
Handlebars
|
{{!--
|
||
|
SPDX-FileCopyrightText: 2021 Johannes Loher
|
||
|
//
|
||
|
SPDX-License-Identifier: MIT
|
||
|
--}}
|
||
|
|
||
|
<form class="{{cssClasses}}" autocomplete="off">
|
||
|
|
||
|
<div class="form-group">
|
||
|
<label>{{ localize 'DDV.DimVisionDarknessRange' }}</label>
|
||
|
<div class="form-fields">
|
||
|
<label for="flags.darkness-dependent-vision.dimVisionDarknessMin">{{ localize "Between" }}</label>
|
||
|
<input type="number" name="flags.darkness-dependent-vision.dimVisionDarknessMin"
|
||
|
value="{{object.flags.darkness-dependent-vision.dimVisionDarknessMin}}" min="0" max="1" step="any"
|
||
|
placeholder="0" />
|
||
|
<label for="flags.darkness-dependent-vision.dimVisionDarknessMax">{{ localize "and" }}</label>
|
||
|
<input type="number" name="flags.darkness-dependent-vision.dimVisionDarknessMax"
|
||
|
value="{{object.flags.darkness-dependent-vision.dimVisionDarknessMax}}" min="0" max="1" step="any"
|
||
|
placeholder="1" />
|
||
|
</div>
|
||
|
<p class="hint">{{ localize "DDV.DimVisionDarknessRangeHint" }}</p>
|
||
|
</div>
|
||
|
|
||
|
<div class="form-group">
|
||
|
<label>{{ localize 'DDV.BrightVisionDarknessRange' }}</label>
|
||
|
<div class="form-fields">
|
||
|
<label for="flags.darkness-dependent-vision.brightVisionDarknessMin">{{ localize "Between" }}</label>
|
||
|
<input type="number" name="flags.darkness-dependent-vision.brightVisionDarknessMin"
|
||
|
value="{{object.flags.darkness-dependent-vision.brightVisionDarknessMin}}" min="0" max="1" step="any"
|
||
|
placeholder="0" />
|
||
|
<label for="flags.darkness-dependent-vision.brightVisionDarknessMax">{{ localize "and" }}</label>
|
||
|
<input type="number" name="flags.darkness-dependent-vision.brightVisionDarknessMax"
|
||
|
value="{{object.flags.darkness-dependent-vision.brightVisionDarknessMax}}" min="0" max="1" step="any"
|
||
|
placeholder="1" />
|
||
|
</div>
|
||
|
<p class="hint">{{ localize "DDV.BrightVisionDarknessRangeHint" }}</p>
|
||
|
</div>
|
||
|
|
||
|
<button type="submit" name="submit" value="1"><i class="far fa-save"></i> {{localize "TOKEN.Update"}}</button>
|
||
|
</form>
|