fvtt-te-deum/templates/items/item-armure-sheet.hbs

49 lines
1.7 KiB
Handlebars
Raw Normal View History

2024-02-29 22:35: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>
</header>
{{> systems/fvtt-te-deum/templates/items/partial-item-nav.hbs}}
{{!-- Sheet Body --}}
<section class="sheet-body">
{{> systems/fvtt-te-deum/templates/items/partial-item-description.hbs}}
<div class="tab details" data-group="primary" data-tab="details">
<div class="tab" data-group="primary">
<ul>
{{#each system.localisation as |armure armId|}}
<li class="flexrow">
<label class="item-name-label-long">{{getConfigLabel "LOCALISATION" armId}}</label>
<input type="checkbox" name="system.localisation.{{armId}}.protege" {{checked armure.protege}} />
</li>
{{/each}}
<li class="flexrow">
<label class="item-name-label-long">Protection</label>
<input type="text" class="padd-right numeric-input item-field-label-short"
name="system.protection" value="{{system.protection}}" data-dtype="Number" />
</li>
<li class="flexrow">
<label class="item-name-label-long">Prix</label>
<input type="text" class="padd-right numeric-input item-field-label-short"
name="system.prix" value="{{system.prix}}" data-dtype="Number" />
<select name="system.monnaie">
{{selectOptions config.monnaie selected=system.monnaie labelAttr="label" blank="denier"}}
</select>
</li>
</ul>
</div>
</div>
</section>
</form>