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

159 lines
7.5 KiB
HTML
Raw Permalink 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">
2024-05-23 11:25:51 +02:00
{{selectOptions config.masquePouvoir selected=system.masquetype}}
2022-12-30 09:21:52 +01:00
</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">
2024-05-23 11:25:51 +02:00
{{selectOptions config.typePouvoir selected=system.pouvoirtype}}
2022-12-29 23:23:38 +01:00
</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">
2024-05-23 11:25:51 +02:00
{{selectOptions config.niveauPouvoir selected=system.niveau}}
2022-12-30 09:21:52 +01:00
</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">
2024-05-23 11:25:51 +02:00
{{selectOptions config.baseTestPouvoir selected=system.feeriemasque}}
2022-12-30 09:21:52 +01:00
</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">
2024-05-23 11:25:51 +02:00
{{selectOptions config.caracList selected=system.carac}}
2023-03-07 20:33:31 +01:00
</select>
</li>
{{/if}}
2022-12-30 09:21:52 +01:00
{{/if}}
2024-03-23 11:37:15 +01:00
<li class="flexrow item">
<label class="generic-label item-field-label-long2">Points d'usage max/jour </label>
{{#if (eq usageMax -1)}}
<label class="generic-label item-field-label-short">Inconnu</label>
{{else}}
<label class="generic-label item-field-label-short">{{usageMax}}</label>
{{/if}}
</li>
<li class="flexrow item">
<label class="generic-label item-field-label-long2">Points d'usage restants </label>
<input type="text" class="padd-right status-small-label color-class-common item-field-label-short"
name="system.pointsusagecourant" value="{{system.pointsusagecourant}}" data-dtype="Number" />
</li>
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">
2024-05-23 11:25:51 +02:00
{{selectOptions config.resistancePouvoir selected=system.resistance}}
2022-12-30 09:21:52 +01:00
</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}}
2023-03-07 21:50:07 +01:00
<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>
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>