fvtt-les-heritiers/templates/item-arme-sheet.html
2023-02-19 19:32:21 +01:00

137 lines
5.9 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">Catégorie : </label>
<select class="item-field-label-long" type="text" name="system.categorie"
value="{{system.categorie}}" data-dtype="string">
{{#select system.categorie}}
{{#each config.categorieArme as |categ key|}}
<option value="{{key}}">{{categ}}</option>
{{/each}}
{{/select}}
</select>
</li>
<li class="flexrow item">
<label class="item-field-label-long">Type : </label>
<select class="item-field-label-long" type="text" name="system.armetype"
value="{{system.armetype}}" data-dtype="string">
{{#select system.armetype}}
{{#each config.typeArme as |type key|}}
<option value="{{key}}">{{type}}</option>
{{/each}}
{{/select}}
</select>
</li>
<li class="flexrow item">
<label class="item-field-label-long">Degats : </label>
<input type="text" class="item-field-label-short" name="system.degats" value="{{system.degats}}" data-dtype="Number" />
</li>
<li class="flexrow item">
<label class="generic-label item-field-label-long">Precision : </label>
<input type="text" class="item-field-label-short" name="system.precision"
value="{{system.precision}}" data-dtype="Number" />
</li>
<li class="flexrow item">
<label class="generic-label item-field-label-long">Cadence : </label>
<input type="text" class="item-field-label-short" name="system.cadence"
value="{{system.cadence}}" data-dtype="String" />
</li>
<li class="flexrow item">
<label class="generic-label item-field-label-long">Enraiement : </label>
<input type="text" class="item-field-label-short" name="system.enraiement"
value="{{system.enraiement}}" data-dtype="String" />
</li>
<li class="flexrow item">
<label class="generic-label item-field-label-long">Magasin : </label>
<input type="text" class="item-field-label-short" name="system.magasin"
value="{{system.magasin}}" data-dtype="Number" />
</li>
<li class="flexrow item">
<label class="generic-label item-field-label-long">Charge : </label>
<input type="text" class="item-field-label-short" name="system.charge"
value="{{system.charge}}" data-dtype="Number" />
</li>
<li class="flexrow item">
<label class="generic-label item-field-label-long">Portée : </label>
<input type="text" class="item-field-label-short" name="system.portee"
value="{{system.portee}}" data-dtype="String" />
</li>
<li class="flexrow item">
<label class="generic-label item-field-label-long">Légalité : </label>
<select class="item-field-label-long" type="text" name="system.legalite"
value="{{system.legalite}}" data-dtype="string">
{{#select system.legalite}}
{{#each config.armeLegalite as |legal key|}}
<option value="{{key}}">{{legal}}</option>
{{/each}}
{{/select}}
</select>
</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">Zone : </label>
<input type="text" class="item-field-label-short" name="system.zone"
value="{{system.zone}}" data-dtype="Number" />
</li>
<li class="flexrow item">
<label class="generic-label item-field-label-long">Temps : </label>
<input type="text" class="item-field-label-long" name="system.temps"
value="{{system.temps}}" data-dtype="String" />
</li>
<li class="flexrow item">
<label class="generic-label item-field-label-long">Allumage : </label>
<input type="text" class="item-field-label-long" name="system.allumage"
value="{{system.allumage}}" data-dtype="String" />
</li>
<li class="flexrow item">
<label class="generic-label item-field-label-long">Special : </label>
<input type="text" class="item-field-label-long" name="system.special"
value="{{system.special}}" data-dtype="String" />
</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>