fvtt-hero-system-6/templates/items/item-equipment-sheet.hbs

69 lines
2.7 KiB
Handlebars

<form class="{{cssClass}}" autocomplete="off">
<header class="sheet-header">
<img class="item-sheet-img" src="{{img}}" data-edit="img" title="{{name}}" />
<div class="header-fields">
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name" /></h1>
</div>
</header>
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-nav.hbs}}
{{!-- Sheet Body --}}
<section class="sheet-body">
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-description.hbs}}
<div class="tab details" data-group="primary" data-tab="details">
<ul>
<li class="flexrow"><label class="item-field-label-long">Equipped ?</label>
<label class="item-field-label-medium"><input type="checkbox" name="system.equipped" {{checked
system.equipped}} /></label>
</li>
<li class="flexrow"><label class="item-field-label-long">Quantity</label>
<input type="text" class="item-field-label-short" name="system.quantity" value="{{system.quantity}}"
data-dtype="Number" />
</li>
<li class="flexrow">
<label class="item-field-label-long">Value</label>
<input type="text" class="item-field-label-medium input-numeric-short padd-right" name="system.value"
value="{{system.value}}" data-dtype="Number" />
&nbsp;
<label class="item-field-label-long">Total Value</label>
<label class="item-field-label-long">{{mul system.value system.quantity}}</label>
</li>
<li class="flexrow"><label class="item-field-label-long">Weight</label>
<input type="text" class="item-field-label-medium input-numeric-short padd-right" name="system.weight"
value="{{system.weight}}" data-dtype="Number" />
&nbsp;
<label class="item-field-label-long">Total Weight</label>
<label class="item-field-label-long">{{mul system.weight system.quantity}}</label>
</li>
{{> systems/fvtt-hero-system-6/templates/partials/partial-power-equipment-cost.hbs quantityDone=1}}
<li class="flexrow"><label class="item-field-label-long">Subtype</label>
<select class="item-field-label-long" type="text" name="system.subtype" value="{{system.subtype}}"
data-dtype="String">
{{#select system.subtype}}
{{#each config.equipmentSubType as |name key|}}
<option value="{{key}}">{{name}}</option>
{{/each}}
{{/select}}
</select>
</li>
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-hasroll.hbs}}
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-cost.hbs}}
</ul>
</div>
</section>
</form>