fvtt-yggdrasill/templates/roll-dialog-galdr.html
2022-01-09 09:33:47 +01:00

89 lines
3.7 KiB
HTML

<form class="skill-roll-dialog">
<h2 class="dialog-roll-title">{{title}} - SD {{sort.data.sd}}</h2>
<div class="floxrow">
<div class="flexrow">
<span class="competence-base flexrow" >Caractéristique : </span>
<span class="competence-base flexrow" id="caracName">TEST</span>
<span class="competence-base flexrow" id="caracValue">TEST</span>
</div>
<div class="flexrow">
<span class="competence-base flexrow" >Compétence : </span>
<span class="competence-base flexrow" id="compName">{{competence.name}}</span>
<span class="competence-base flexrow" id="compNiveau">{{competence.data.niveau}}</span>
</div>
<div class="flexrow">
<span class="competence-base flexrow" >Durée</span>
<select class="competence-base flexrow" type="text" id="dureeGaldr" name="dureeGaldr" value="" data-dtype="String">
{{#select dureeGaldr}}
<option value="1d5a">1d5 Actions</option>
<option value="1d10t">1d10 Tours</option>
<option value="1d10m">1d10 Minutes</option>
<option value="1d10h">1d10 Heures</option>
<option value="1d5j">1d5 journées</option>
{{/select}}
</select>
</div>
<div class="flexrow">
{{#if (eq sort.data.voie "illusion")}}
<span class="competence-base flexrow" >Zone</span>
<select class="competence-base flexrow" type="text" id="zoneGaldr" name="zoneGaldr" value="zoneGaldr" data-dtype="Number">
{{#select zoneGaldr}}
<option value="INS10cm3">INS x 10 cm3 (chat, balle, épée, ...)</option>
<option value="INS50cm3">INS x 50 cm3 (tabouret, enfant, ...)</option>
<option value="INS1m3">INS x 1 m3 (homme, 2 enfants, ...)</option>
<option value="INS5m3">INS x 5 m3 (charrette, 2 cavaliers, ...)</option>
<option value="INS10m3">INS x 10 m3 (maison, kraken, bateau, ...)</option>
{{/select}}
</select>
{{else}}
<span class="competence-base flexrow" >Nombre de cibles </span>
<select class="competence-base flexrow" type="text" id="nbCibles" name="nbCibles" value="nbCibles" data-dtype="Number">
{{#select nbCibles}}
<option value="1">1</option>
<option value="2_4">2 à 4</option>
<option value="5_9">5 à 9</option>
<option value="10_49">10 à 49</option>
<option value="50plus">50 et +</option>
{{/select}}
</select>
{{/if}}
</div>
<div class="flexrow">
<span class="competence-base flexrow" >Bonus/Malus : </span>
<select class="competence-base flexrow" type="text" id="bonusMalus" name="bonusMalus" value="bonusMalus" data-dtype="Number">
{{#select bonusMalus}}
{{{optionsBonusMalus}}}
{{/select}}
</select>
</div>
<div class="flexrow">
<span class="competence-base flexrow">Epuisé (1d) : <input type="checkbox" id="isEpuise" name="isEpuise" {{checked isEpuise}} disabled/></span>
<span class="competence-base flexrow">Blessé (-3) : <input type="checkbox" id="isBlesse" name="isBlesse" {{checked isBlesse}} disabled/></span>
<span class="competence-base flexrow">Epuisé (1d) : <input type="checkbox" id="isMeurtri" name="isMeurtri" {{checked isMeurtri}} disabled/></span>
</div>
<div class="flexrow">
<span class="competence-base flexrow" >Furor à utiliser: </span>
<select class="competence-base flexrow" type="text" id="furorUsage" name="furorUsage" value="furorUsage" data-dtype="Number">
{{#select furorUsage}}
{{{optionsFuror}}}
{{/select}}
</select>
</div>
<div class="flexrow">
<span class="competence-base flexrow" >Seuil de Réussite Total : </span>
<span class="competence-base flexrow" id="srTotal">14</span>
</div>
</div>
</form>