refactor: resturcture files so that lincensing info can be bundled properly
This commit is contained in:
parent
699ba74840
commit
1aa284311f
484 changed files with 119 additions and 179 deletions
31
templates/sheets/item/components/properties/weapon.hbs
Normal file
31
templates/sheets/item/components/properties/weapon.hbs
Normal file
|
@ -0,0 +1,31 @@
|
|||
{{!--
|
||||
SPDX-FileCopyrightText: 2021 Johannes Loher
|
||||
|
||||
SPDX-License-Identifier: MIT
|
||||
--}}
|
||||
|
||||
<div class="ds4-item-properties ds4-item-properties--weapon">
|
||||
<h4 class="ds4-item-properties__title">{{localize 'DS4.ItemPropertiesWeapon'}}</h4>
|
||||
<div class="form-group">
|
||||
<label for="data.attackType-{{data._id}}">{{localize "DS4.AttackType"}}</label>
|
||||
<div class="form-fields">
|
||||
<select id="data.attackType-{{data._id}}" name="data.attackType" data-dtype="String">
|
||||
{{#select data.data.attackType}}
|
||||
{{#each config.i18n.attackTypes as |value key|}}
|
||||
<option value="{{key}}">{{value}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="data.weaponBonus-{{data._id}}">{{localize "DS4.WeaponBonus"}}</label>
|
||||
<input id="data.weaponBonus-{{data._id}}" data-dtype="Number" type="number" name="data.weaponBonus"
|
||||
placeholder="0" value="{{data.data.weaponBonus}}" />
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="data.opponentDefense-{{data._id}}">{{localize "DS4.OpponentDefense"}}</label>
|
||||
<input id="data.opponentDefense-{{data._id}}" data-dtype="Number" type="number" name="data.opponentDefense"
|
||||
placeholder="0" value="{{data.data.opponentDefense}}" />
|
||||
</div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue