AJout icones, rework items

This commit is contained in:
2023-01-06 17:45:36 +01:00
parent 794bc9460e
commit ec0cfb6c43
116 changed files with 176 additions and 77 deletions

View File

@ -19,7 +19,7 @@
<div class="tab" data-group="primary">
<ul>
<li class="flexrow"><label class="item-field-label-medium ">Type</label>
<select class="item-field-label-medium " type="text" name="system.armortype" value="{{system.armortype}}" data-dtype="String">
<select class="item-field-label-medium" type="text" name="system.armortype" value="{{system.armortype}}" data-dtype="String">
{{#select system.armortype}}
{{#each config.armorTypes as |type key|}}
<option value="{{key}}">{{localize type.label}}</option>
@ -28,13 +28,11 @@
</select>
</li>
<li class="flexrow"><label class="item-field-label-medium ">Equipped ?</label>
<label class="item-field-label-medium checkbox"><input type="checkbox" name="system.equipped" {{checked system.equipped}}/></label>
<li class="flexrow"><label class="item-field-label-medium ">Damage reduction</label>
<input type="text" class="item-field-label-medium " name="system.damagereduction" value="{{system.damagereduction}}" data-dtype="Number"/>
</li>
<li class="flexrow"><label class="item-field-label-medium ">Cost</label>
<input type="text" class="item-field-label-medium " name="system.cost" value="{{system.cost}}" data-dtype="Number"/>
</li>
{{> systems/fvtt-warhero/templates/partial-item-common-equipment.html}}
</ul>
</div>