ds4/src/templates/sheets/item/armor-sheet.hbs

43 lines
1.7 KiB
Handlebars
Raw Normal View History

2021-06-26 22:02:00 +02:00
{{!--
SPDX-FileCopyrightText: 2021 Johannes Loher
SPDX-FileCopyrightText: 2021 Gesina Schwalbe
SPDX-License-Identifier: MIT
--}}
2020-10-29 22:01:13 +01:00
<form class="{{cssClass}}" autocomplete="off">
2021-04-13 21:40:52 +02:00
{{#> systems/ds4/templates/sheets/item/components/sheet-header.hbs}}
2021-06-30 14:24:23 +02:00
<div class="grid grid-3col basic-properties">
<div class="basic-property">
<label>{{localize "DS4.ArmorType"}}</label>
<select name="data.armorType" data-type="String">
{{#select data.data.armorType}}
{{#each config.i18n.armorTypes as |value key|}}
<option value="{{key}}">{{value}}</option>
{{/each}}
{{/select}}
</select>
</div>
<div class="basic-property">
<label for="data.armorMaterialType">{{localize "DS4.ArmorMaterialType"}}</label>
<select name="data.armorMaterialType" data-type="String">
{{#select data.data.armorMaterialType}}
{{#each config.i18n.armorMaterialTypes as |value key|}}
<option value="{{key}}">{{value}}</option>
{{/each}}
{{/select}}
</select>
</div>
<div class="basic-property">
<label>{{localize "DS4.ArmorValue"}}</label>
<input type="text" name="data.armorValue" value="{{data.data.armorValue}}" placeholder="0"
data-dtype="Number" />
</div>
</div>
2021-04-13 21:40:52 +02:00
{{/systems/ds4/templates/sheets/item/components/sheet-header.hbs}}
2020-10-29 22:01:13 +01:00
{{!-- Common Item body --}}
2021-06-30 14:24:23 +02:00
{{#>
systems/ds4/templates/sheets/item/components/body.hbs}}{{/systems/ds4/templates/sheets/item/components/body.hbs}}
2021-04-13 21:40:52 +02:00
</form>