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

158 lines
7.1 KiB
HTML
Raw Normal View History

2022-12-29 23:23:38 +01:00
<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">
2022-12-30 09:21:52 +01:00
<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>
2022-12-29 23:23:38 +01:00
<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>
2022-12-30 09:21:52 +01:00
<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>
2022-12-29 23:23:38 +01:00
<li class="flexrow item">
<label class="generic-label item-field-label-long2">Activation </label>
2022-12-30 12:07:44 +01:00
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long3"
2022-12-29 23:23:38 +01:00
name="system.activation" value="{{system.activation}}" data-dtype="String" />
</li>
2022-12-30 09:21:52 +01:00
<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>
2023-03-07 20:33:31 +01:00
{{#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}}
2022-12-30 09:21:52 +01:00
{{/if}}
2022-12-29 23:23:38 +01:00
<li class="flexrow item">
<label class="generic-label item-field-label-long2">Cibles </label>
2022-12-30 12:07:44 +01:00
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long3"
2022-12-29 23:23:38 +01:00
name="system.cibles" value="{{system.cibles}}" data-dtype="String" />
</li>
2023-03-07 20:33:31 +01:00
<li class="flexrow item">
<label class="generic-label item-field-label-long2">Durée </label>
2023-03-07 20:36:02 +01:00
<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" />
2023-03-07 20:33:31 +01:00
</li>
2022-12-29 23:23:38 +01:00
<li class="flexrow item">
<label class="generic-label item-field-label-long2">Effet </label>
2022-12-30 12:07:44 +01:00
<textarea rows="6" type="text" class="padd-right color-class-common item-field-label-long3" name="system.effet"
data-dtype="String">{{system.effet}}</textarea>
2022-12-29 23:23:38 +01:00
</li>
<li class="flexrow item">
<label class="generic-label item-field-label-long2">Portée </label>
2022-12-30 12:07:44 +01:00
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long3"
2022-12-29 23:23:38 +01:00
name="system.portee" value="{{system.portee}}" data-dtype="String" />
</li>
<li class="flexrow item">
2022-12-30 09:21:52 +01:00
<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>
2022-12-29 23:23:38 +01:00
</li>
2022-12-30 09:21:52 +01:00
{{#if (eq system.resistance "autre")}}
<li class="flexrow item">
<label class="generic-label item-field-label-long2">Résistance (Autre) </label>
2022-12-30 12:07:44 +01:00
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long3"
2022-12-30 09:21:52 +01:00
name="system.resistanceautre" value="{{system.resistanceautre}}" data-dtype="String" />
</li>
{{/if}}
2022-12-30 12:13:15 +01:00
<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}}
2022-12-29 23:23:38 +01:00
</ul>
</div>
</section>
</form>