fvtt-les-heritiers/templates/item-protection-sheet.html

72 lines
3.0 KiB
HTML

<form class="{{cssClass}}" autocomplete="off">
{{> systems/fvtt-les-heritiers/templates/partial-item-header.html}}
{{> systems/fvtt-les-heritiers/templates/partial-item-nav.html}}
{{!-- Sheet Body --}}
<section class="sheet-body">
{{> systems/fvtt-les-heritiers/templates/partial-item-description.html}}
<div class="tab details" data-group="primary" data-tab="details">
<ul class="item-list alternate-list">
<li class="flexrow item">
<label class="item-field-label-long">Type : </label>
<select class="item-field-label-long" type="text" name="system.protectiontype"
value="{{system.protectiontype}}" data-dtype="string">
{{#select system.protectiontype}}
{{#each config.typeProtection as |prot key|}}
<option value="{{key}}">{{prot}}</option>
{{/each}}
{{/select}}
</select>
</li>
<li class="flexrow item">
<label class="item-field-label-long">Valeur de protection : </label>
<input type="text" class="item-field-label-short" name="system.points" value="{{system.points}}" data-dtype="Number" />
</li>
<li class="flexrow item">
<label class="generic-label item-field-label-long">Effets secondaires : </label>
<input type="text" class="item-field-label-long" name="system.effetsecondaire"
value="{{system.effetsecondaire}}" data-dtype="String" />
</li>
<li class="flexrow item">
<label class="generic-label item-field-label-long">Malus d'agilité : </label>
<input type="text" class="item-field-label-short" name="system.malusagilite"
value="{{system.malusagilite}}" data-dtype="Number" />
</li>
<li class="flexrow item">
<label class="generic-label item-field-label-long">Dissimulation : </label>
<select class="item-field-label-long" type="text" name="system.dissimulation"
value="{{system.dissimulation}}" data-dtype="string">
{{#select system.dissimulation}}
{{#each config.armeDissimulation as |diss key|}}
<option value="{{key}}">{{diss}}</option>
{{/each}}
{{/select}}
</select>
</li>
<li class="flexrow item">
<label class="generic-label item-field-label-long">Prix : </label>
<input type="text" class="item-field-label-short" name="system.prix"
value="{{system.prix}}" data-dtype="Number" />
</li>
<li class="flexrow item">
<label class="generic-label item-field-label-long">Quantité : </label>
<input type="text" class="item-field-label-short" name="system.quantite"
value="{{system.quantite}}" data-dtype="Number" />
</li>
<li class="flexrow item">
<label class="generic-label item-field-label-long">Equipé ? : </label>
<input type="checkbox" class="padd-right status-small-label color-class-common item-field-label-short"
name="system.equipped" {{checked system.equipped}}/>
</li>
</div>
</section>
</form>