fvtt-crucible-rpg/templates/roll-dialog-generic.html
2022-07-30 22:54:08 +02:00

57 lines
1.8 KiB
HTML

<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="grid grid-2col">
<div class="flexcol">
<div class="flexrow">
<span class="roll-dialog-label">Ability : </span>
<span class="roll-dialog-label">{{ability.value}}d6</span>
</div>
{{#if skill}}
<div class="flexrow">
<span class="roll-dialog-label">Skill : </span>
<span class="roll-dialog-label">{{skill.name}} - {{skill.data.value}}d8</span>
</div>
{{/if}}
<div class="flexrow">
<span class="roll-dialog-label">Feature Die : </span>
<select class="status-small-label color-class-common" type="text" id="featDieName" value="{{featDieName}}" data-dtype="String" >
{{#select featDieName}}
<option value="none">None</option>
{{#each featsDie as |feat idx|}}
<option value="{{feat.name}}">{{feat.name}}</option>
{{/each}}
{{/select}}
</select>
</div>
<div class="flexrow">
<span class="roll-dialog-label">Feature SL : </span>
<select class="status-small-label color-class-common" type="text" id="featSLName" value="{{featSLName}}" data-dtype="String" >
{{#select featSLName}}
<option value="none">None</option>
{{#each featsSL as |feat idx|}}
<option value="{{feat.name}}">{{feat.name}} ({{feat.data.sl}})</option>
{{/each}}
{{/select}}
</select>
</div>
</div>
<div>
{{> systems/fvtt-crucible-rpg/templates/partial-roll-select.html}}
</div>
</div>
</form>