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

74 lines
3.1 KiB
Handlebars
Raw Normal View History

2023-02-01 14:28:08 +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>
2023-02-01 19:48:35 +01:00
{{> systems/fvtt-malefices/templates/items/partial-item-nav.hbs}}
2023-02-01 14:28:08 +01:00
{{!-- Sheet Body --}}
<section class="sheet-body">
2023-02-01 19:48:35 +01:00
{{> systems/fvtt-malefices/templates/items/partial-item-description.hbs}}
2023-02-01 14:28:08 +01:00
<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">
2023-02-01 19:48:35 +01:00
{{#select system.armetype}}
2023-02-01 14:28:08 +01:00
{{#each config.armeTypes as |type key| }}
2023-02-01 19:48:35 +01:00
<option value="{{key}}">{{type}}</option>
2023-02-01 14:28:08 +01:00
{{/each}}
{{/select}}
</select>
</li>
2023-02-02 22:20:35 +01:00
<li class="flexrow">
<label class="item-field-label-long">Portee courte (max)</label>
<input type="text" class="item-field-label-short" name="system.porteecourte" value="{{system.porteecourte}}" data-dtype="Number"/>
</li>
<li class="flexrow">
<label class="item-field-label-long">Portee moyenne (max)</label>
<input type="text" class="item-field-label-short" name="system.porteemoyenne" value="{{system.porteemoyenne}}" data-dtype="Number"/>
</li>
2023-02-01 14:28:08 +01:00
<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>