fvtt-hero-system-6/templates/apps/roll-dialog-generic.hbs

56 lines
1.9 KiB
Handlebars
Raw Normal View History

2022-12-15 21:44:23 +01: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>
2023-02-01 12:16:04 +01:00
<div class="flexcol">
2022-12-15 21:44:23 +01:00
2023-02-01 12:16:04 +01:00
{{#if charac}}
<div class="flexrow">
<span class="item-field-label-long margin-item-list">Characteristic : </span>
<span class="item-field-label-medium margin-item-list">{{charac.roll}}-</span>
</div>
{{/if}}
2022-12-15 21:44:23 +01:00
2023-02-14 15:34:37 +01:00
{{#if item}}
<div class="flexrow">
<span class="item-field-label-long margin-item-list">{{upperFirst item.type}} : </span>
<span class="item-field-label-medium margin-item-list">{{item.system.roll}}-</span>
</div>
{{/if}}
2023-02-01 12:16:04 +01:00
<div class="flexrow">
<span class="item-field-label-long margin-item-list">Bonus/Malus : </span>
<select class="item-field-label-medium" type="text" id="bonusMalus" value="{{bonusMalus}}" data-dtype="Number" >
{{#select bonusMalus}}
2023-02-14 15:34:37 +01:00
<option value="-10">-10</option>
<option value="-9">-9</option>
<option value="-8">-8</option>
<option value="-7">-7</option>
<option value="-6">-6</option>
<option value="-5">-5</option>
2023-02-01 12:16:04 +01:00
<option value="-4">-4</option>
<option value="-3">-3</option>
<option value="-2">-2</option>
<option value="-1">-1</option>
<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>
2023-02-14 15:34:37 +01:00
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
2023-02-01 12:16:04 +01:00
{{/select}}
</select>
</div>
2022-12-15 21:44:23 +01:00
</div>
</form>