fvtt-malefices/templates/items/item-weapon-sheet.hbs

65 lines
2.5 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-avd12/templates/items/partial-item-nav.hbs}}
{{!-- Sheet Body --}}
<section class="sheet-body">
{{> systems/fvtt-avd12/templates/items/partial-item-description.hbs}}
<div class="tab details" data-group="primary" data-tab="details">
<div class="tab" data-group="primary">
<ul>
<li class="flexrow">
<label class="item-field-label-long">Type d'arme</label>
<select class="item-field-label-long" type="text" name="system.armetype" value="{{system.armetype}}" data-dtype="String">
{{#select system.category}}
{{#each config.armeTypes as |type key| }}
<option value="{{key}}">type</option>
{{/each}}
{{/select}}
</select>
</li>
<li class="flexrow">
<label class="item-field-label-long">Dommages normaux</label>
<input type="text" class="item-field-label-short" name="system.dommagenormale" value="{{system.dommagenormale}}" data-dtype="Number"/>
</li>
<li class="flexrow">
<label class="item-field-label-long">Dommages particuliers</label>
<input type="text" class="item-field-label-short" name="system.dommagepart" value="{{system.dommagepart}}" data-dtype="Number"/>
</li>
<li class="flexrow">
<label class="item-field-label-long">Critiques Mortels ?</label>
<input type="checkbox" class="item-field-label-short" name="system.dommagecritiquemort" {{checked system.dommagecritiquemort}} />
<label class="item-field-label-short">&nbsp;</label>
<label class="item-field-label-long">Critiques KO ?</label>
<input type="checkbox" class="item-field-label-short" name="system.dommagecritiqueKO" {{checked system.dommagecritiqueKO}} />
</li>
<li class="flexrow">
<label class="item-field-label-long">Dommages critiques</label>
<input type="text" class="item-field-label-short" name="system.dommagecritique" value="{{system.dommagecritique}}" data-dtype="Number"/>
</li>
</ul>
</div>
</div>
</section>
</form>