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

69 lines
2.7 KiB
Handlebars
Raw Normal View History

2022-12-15 21:44:23 +01:00
<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>
2022-12-15 21:44:23 +01:00
</header>
2022-12-21 15:17:58 +01:00
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-nav.hbs}}
2022-12-15 21:44:23 +01:00
{{!-- Sheet Body --}}
<section class="sheet-body">
2022-12-21 15:17:58 +01:00
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-description.hbs}}
2022-12-15 21:44:23 +01:00
<div class="tab details" data-group="primary" data-tab="details">
<ul>
2022-12-28 10:30:56 +01:00
<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>
2023-02-21 20:22:08 +01:00
<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>
2023-02-21 20:22:08 +01:00
<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>
2023-02-21 20:22:08 +01:00
</li>
2022-12-28 10:30:56 +01:00
2023-02-21 20:22:08 +01:00
<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>
2023-02-21 20:22:08 +01:00
</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>
2023-02-21 20:22:08 +01:00
</li>
2022-12-28 10:30:56 +01:00
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-hasroll.hbs}}
2023-02-21 20:22:08 +01:00
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-cost.hbs}}
2022-12-28 10:30:56 +01:00
2022-12-15 21:44:23 +01:00
</ul>
</div>
</section>
</form>