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

165 lines
7.4 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="generic-label item-field-label-long2">Masqué/Démasque </label>
<select class="status-small-label color-class-common item-field-label-long" type="text"
name="system.masquetype" value="{{system.masquetype}}" data-dtype="string">
{{#select system.masquetype}}
{{#each config.masquePouvoir as |categ cKey|}}
<option value="{{cKey}}">{{categ}}</option>
{{/each}}
{{/select}}
</select>
</li>
<li class="flexrow item">
<label class="generic-label item-field-label-long2">Type </label>
<select class="status-small-label color-class-common item-field-label-long" type="text"
name="system.pouvoirtype" value="{{system.pouvoirtype}}" data-dtype="string">
{{#select system.pouvoirtype}}
{{#each config.typePouvoir as |categ cKey|}}
<option value="{{cKey}}">{{categ}}</option>
{{/each}}
{{/select}}
</select>
</li>
<li class="flexrow item">
<label class="generic-label item-field-label-long2">Niveau </label>
<select class="status-small-label color-class-common item-field-label-long" type="text"
name="system.niveau" value="{{system.niveau}}" data-dtype="string">
{{#select system.niveau}}
{{#each config.niveauPouvoir as |categ cKey|}}
<option value="{{cKey}}">{{categ}}</option>
{{/each}}
{{/select}}
</select>
</li>
<li class="flexrow item">
<label class="generic-label item-field-label-long2">Activation </label>
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long3"
name="system.activation" value="{{system.activation}}" data-dtype="String" />
</li>
<li class="flexrow item">
<label class="generic-label item-field-label-long2">Jet nécessaire ? </label>
<input type="checkbox" class="padd-right status-small-label color-class-common item-field-label-short"
name="system.istest" {{checked system.istest}}/>
</li>
{{#if system.istest}}
<li class="flexrow item">
<label class="generic-label item-field-label-long2">Base </label>
<select class="status-small-label color-class-common item-field-label-long" type="text"
name="system.feeriemasque" value="{{system.feeriemasque}}" data-dtype="string">
{{#select system.feeriemasque}}
{{#each config.baseTestPouvoir as |categ cKey|}}
<option value="{{cKey}}">{{categ}}</option>
{{/each}}
{{/select}}
</select>
</li>
{{#if (eq system.feeriemasque "autre")}}
<li class="flexrow item">
<label class="generic-label item-field-label-long2">Jet </label>
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long3" name="system.testautre" value="{{system.testautre}}" data-dtype="String" />
</li>
{{else}}
<li class="flexrow item">
<label class="generic-label item-field-label-long2">+ Carac </label>
<select class="status-small-label color-class-common item-field-label-long" type="text"
name="system.carac" value="{{system.carac}}" data-dtype="string">
{{#select system.carac}}
{{#each config.caracList as |categ cKey|}}
<option value="{{cKey}}">{{categ}}</option>
{{/each}}
{{/select}}
</select>
</li>
{{/if}}
{{/if}}
<li class="flexrow item">
<label class="generic-label item-field-label-long2">Cibles </label>
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long3"
name="system.cibles" value="{{system.cibles}}" data-dtype="String" />
</li>
<li class="flexrow item">
<label class="generic-label item-field-label-long2">Durée </label>
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long3" name="system.duree" value="{{system.duree}}" data-dtype="String" />
</li>
<li class="flexrow item">
<label class="generic-label item-field-label-long2">Effet </label>
<textarea rows="6" type="text" class="padd-right color-class-common item-field-label-long3" name="system.effet"
data-dtype="String">{{system.effet}}</textarea>
</li>
<li class="flexrow item">
<label class="generic-label item-field-label-long2">Portée </label>
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long3"
name="system.portee" value="{{system.portee}}" data-dtype="String" />
</li>
<li class="flexrow item">
<label class="generic-label item-field-label-long2">Résistance</label>
<select class="status-small-label color-class-common item-field-label-long" type="text"
name="system.resistance" value="{{system.resistance}}" data-dtype="string">
{{#select system.resistance}}
{{#each config.resistancePouvoir as |categ cKey|}}
<option value="{{cKey}}">{{categ}}</option>
{{/each}}
{{/select}}
</select>
</li>
{{#if (eq system.resistance "autre")}}
<li class="flexrow item">
<label class="generic-label item-field-label-long2">Résistance (Autre) </label>
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long3"
name="system.resistanceautre" value="{{system.resistanceautre}}" data-dtype="String" />
</li>
{{/if}}
<li class="flexrow item">
<label class="generic-label item-field-label-long2">Zone d'effet </label>
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long3"
name="system.zoneeffet" value="{{system.zoneeffet}}" data-dtype="String" />
</li>
<li class="flexrow item">
<label class="generic-label item-field-label-long2">Virulence (ie Poison) ? </label>
<input type="checkbox" class="padd-right status-small-label color-class-common item-field-label-short"
name="system.isvirulence" {{checked system.isvirulence}}/>
</li>
{{#if system.isvirulence}}
<li class="flexrow item">
<label class="generic-label item-field-label-long2">Virulence </label>
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long3"
name="system.virulence" value="{{system.virulence}}" data-dtype="String" />
</li>
{{/if}}
</ul>
</div>
</section>
</form>