fvtt-imperium5/templates/roll-dialog-generic.html

75 lines
2.6 KiB
HTML

<form class="skill-roll-dialog">
<header class="roll-dialog-header">
{{#if actorImg}}
<img class="actor-icon" src="{{actorImg}}" data-edit="img" title="{{name}}" />
{{/if}}
<h1 class="dialog-roll-title roll-dialog-header">{{ame.label}} ({{ame.value}})</h1>
</header>
<div class="flexcol sheet-box color-bg-ame">
<div class="flexrow">
<span class="roll-dialog-label">Ruptures : {{ameMalus}}</span>
</div>
<div class="flexrow">
<span class="roll-dialog-label">Utiliser l'Archetype ? : </span>
<input class="ame-checkbox" id="select-use-archetype" type="checkbox" {{checked useArchetype}}>
</div>
<div class="flexrow">
<span class="roll-dialog-label">Aides ? : </span>
<select class="roll-dialog-label" id="select-aide-pj" type="text" name="nbAide" value="{{nbAide}}"
data-dtype="Number">
{{#select nbAide}}
<option value="0">0</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
{{/select}}
</select>
</div>
{{#if karma}}
<div class="flexrow">
<span class="roll-dialog-label">Utiliser une capacité : </span>
<select class="roll-dialog-label" id="select-capacite" type="text" name="usedCapacite" value="{{usedCapacite}}"
data-dtype="Number">
{{#select usedCapacite}}
<option value="none">Aucune</option>
{{#each capacites as |capa key|}}
<option value="{{capa._id}}">{{capa.name}} ({{capa.system.aide}})</option>
{{/each}}
{{/select}}
</select>
</div>
<div class="flexrow">
<span class="roll-dialog-label">Utiliser 1 Point de Karma ? : </span>
<input class="ame-checkbox" id="select-use-karma" type="checkbox" {{checked useKarma}}>
</div>
{{/if}}
<div class="flexrow">
<span class="roll-dialog-label">Total : <span id="ame-total">{{ame.value}}</span>d8</span>
</div>
</div>
<div class="flexcol sheet-box color-bg-archetype">
<div class="flexrow">
<span class="roll-dialog-label">Dés de Réalité : </span>
<select class="roll-dialog-label" id="select-realite-dice" type="text" name="realiteDice" value="{{realiteDice}}"
data-dtype="Number">
{{#select realiteDice}}
<option value="0">0</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
{{/select}}
</select>
</div>
</div>
</div>
</form>