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

75 lines
2.6 KiB
HTML
Raw Permalink Normal View History

2022-03-13 16:17:04 +01:00
<form class="skill-roll-dialog">
<header class="roll-dialog-header">
{{#if actorImg}}
<img class="actor-icon" src="{{actorImg}}" data-edit="img" title="{{name}}" />
2022-03-13 16:17:04 +01:00
{{/if}}
2022-10-21 09:38:43 +02:00
<h1 class="dialog-roll-title roll-dialog-header">{{ame.label}} ({{ame.value}})</h1>
2022-03-13 16:17:04 +01:00
</header>
<div class="flexcol sheet-box color-bg-ame">
2022-03-13 16:17:04 +01:00
2022-10-19 17:30:47 +02:00
<div class="flexrow">
2022-10-31 09:10:23 +01:00
<span class="roll-dialog-label">Ruptures : {{ameMalus}}</span>
2022-10-19 17:30:47 +02:00
</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">
2022-10-31 09:10:23 +01:00
<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>
2022-10-19 17:30:47 +02:00
</div>
{{#if karma}}
2022-10-31 09:10:23 +01:00
<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>
2022-10-19 17:30:47 +02:00
{{/if}}
<div class="flexrow">
<span class="roll-dialog-label">Total : <span id="ame-total">{{ame.value}}</span>d8</span>
2022-03-13 16:17:04 +01:00
</div>
</div>
<div class="flexcol sheet-box color-bg-archetype">
2022-03-13 16:17:04 +01:00
2022-10-19 17:30:47 +02:00
<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>
2022-03-13 16:17:04 +01:00
</div>
</div>
2022-10-19 17:30:47 +02:00
2022-03-13 16:17:04 +01:00
</div>
2022-10-19 17:30:47 +02:00
</form>