fvtt-crucible-rpg/templates/partial-actor-equipment.html

38 lines
1.3 KiB
HTML
Raw Normal View History

2022-07-19 23:16:03 +02:00
<li class="item flexrow list-item list-item-shadow" data-item-id="{{equip._id}}">
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img" src="{{equip.img}}" /></a>
{{#if (eq level 1)}}
<span class="item-name-label">{{equip.name}}</span>
{{else}}
<span class="item-name-label-level2">{{equip.name}}</span>
{{/if}}
<span class="item-field-label-long"><label>
2022-08-16 22:29:27 +02:00
{{equip.system.quantity}}
2022-07-19 23:16:03 +02:00
(<a class="quantity-minus plus-minus-button">&nbsp;-</a>/<a class="quantity-plus plus-minus-button">+</a>)
</label>
</span>
<span class="item-field-label-medium">
2022-08-05 10:04:42 +02:00
&nbsp;-&nbsp;
2022-07-19 23:16:03 +02:00
</span>
<span class="item-field-label-short">
2022-08-16 22:29:27 +02:00
{{#if equip.system.iscontainer}}
{{equip.system.contentsEnc}}
2022-07-19 23:16:03 +02:00
{{else}}
2022-08-16 22:29:27 +02:00
{{mul equip.system.weight equip.system.quantity}}
2022-07-19 23:16:03 +02:00
{{/if}}
</span>
<span class="item-field-label-medium">
&nbsp;-&nbsp;
</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
{{#if (eq level 1)}}
2022-08-16 22:29:27 +02:00
<a class="item-control item-equip" title="Worn">{{#if equip.system.equipped}}<i
2022-07-19 23:16:03 +02:00
class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
{{/if}}
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
</li>