fvtt-crucible-rpg/templates/roll-dialog-generic.html

69 lines
2.5 KiB
HTML
Raw Normal View History

2022-07-19 23:16:03 +02:00
<form class="skill-roll-dialog">
<header class="roll-dialog-header">
{{#if img}}
<img class="actor-icon" src="{{img}}" data-edit="img" title="{{name}}" />
{{/if}}
<h1 class="dialog-roll-title roll-dialog-header">{{title}}</h1>
</header>
<div class="flexcol">
<div class="flexrow">
2022-07-26 21:40:42 +02:00
<span class="roll-dialog-label">Ability : </span>
<span class="roll-dialog-label">{{ability.value}}d6</span>
2022-07-19 23:16:03 +02:00
</div>
2022-08-01 21:39:17 +02:00
{{#if weapon}}
<div class="flexrow">
<span class="roll-dialog-label">Weapon : </span>
<span class="roll-dialog-label">{{weapon.name}}</span>
</div>
{{/if}}
2022-07-26 21:40:42 +02:00
{{#if skill}}
2022-07-19 23:16:03 +02:00
<div class="flexrow">
2022-07-26 21:40:42 +02:00
<span class="roll-dialog-label">Skill : </span>
2022-08-01 21:39:17 +02:00
<span class="roll-dialog-label">{{skill.name}} - {{skill.data.skilldice}}</span>
</div>
<div class="flexrow">
<span class="roll-dialog-label">Feature die or SL+2? : </span>
<span class="roll-dialog-label">{{#if skill.data.isfeatdie}} Yes {{else}} No {{/if}}</span>
2022-07-19 23:16:03 +02:00
</div>
{{/if}}
2022-07-31 19:32:54 +02:00
<div class="flexrow">
2022-08-01 21:39:17 +02:00
<span class="roll-dialog-label">Advantage : </span>
2022-07-31 19:32:54 +02:00
<select class="status-small-label color-class-common" type="text" id="advantage" value="{{advantage}}" data-dtype="String" >
{{#select advantage}}
<option value="none">None</option>
<option value="advantage1">1 Advantage</option>
<option value="advantage2">2 Advantages</option>
2022-08-01 21:39:17 +02:00
{{/select}}
</select>
</div>
<div class="flexrow">
<span class="roll-dialog-label">Disadvantage : </span>
<select class="status-small-label color-class-common" type="text" id="disadvantage" value="{{disadvantage}}" data-dtype="String" >
{{#select isadvantage}}
<option value="none">None</option>
2022-07-31 19:32:54 +02:00
<option value="disadvantage1">1 Disadvantage</option>
<option value="disadvantage2">2 Disadvantages</option>
{{/select}}
</select>
</div>
<div class="flexrow">
<span class="roll-dialog-label">Roll with Advantage/Disadvantage : </span>
<select class="status-small-label color-class-common" type="text" id="rollAdvantage" value="{{rollAdvantage}}" data-dtype="String" >
{{#select rollAdvantage}}
<option value="none">None</option>
<option value="roll-advantage">Roll with Advantage</option>
<option value="roll-disadvantage">Roll with Disadvantage</option>
{{/select}}
</select>
</div>
2022-07-19 23:16:03 +02:00
</div>
</form>