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

95 lines
3.1 KiB
HTML
Raw Normal View History

2022-01-13 16:13:00 +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}}
2022-07-10 10:22:04 +02:00
<h1 class="dialog-roll-title roll-dialog-header">{{title}}</h1>
2022-01-13 16:13:00 +01:00
</header>
2022-01-28 10:05:54 +01:00
<div class="grid grid-2col">
2022-01-13 16:13:00 +01:00
2022-01-28 10:05:54 +01:00
<div class="flexcol">
2022-01-13 16:13:00 +01:00
2022-07-13 22:47:07 +02:00
{{#if isGeneric}}
{{else}}
2022-01-28 10:05:54 +01:00
<div class="flexrow">
2022-07-10 10:22:04 +02:00
<span class="roll-dialog-label">Stat Dice : </span>
<select class="roll-dialog-label" id="statDicesLevel" type="text" name="statDicesLevel"
value="{{statDicesLevel}}" data-dtype="Number" {{#if statKey}}disabled{{/if}}>
2022-01-28 10:05:54 +01:00
{{#select statDicesLevel}}
{{{optionsDiceList}}}
{{/select}}
2022-07-10 10:22:04 +02:00
</select>
2022-01-28 10:05:54 +01:00
<span class="small-label">&nbsp;+&nbsp;{{statMod}}</span>
</div>
2022-07-10 10:22:04 +02:00
2022-07-13 22:47:07 +02:00
{{#if specList}}
<div class="flexrow">
<span class="roll-dialog-label">Spec : </span>
<select class="roll-dialog-label" id="specList" type="text" name="selectedSpec" value="{{selectedSpec}}"
data-dtype="String">
{{#select selectedSpec}}
<option value="0">None</option>
{{#each specList as |spec idx|}}
<option value="{{spec._id}}">{{spec.name}}</option>
{{/each}}
{{/select}}
</select>
<span class="small-label">&nbsp;</span>
</div>
{{/if}}
2022-03-06 20:07:41 +01:00
2022-01-28 10:05:54 +01:00
<div class="flexrow">
2022-07-10 10:22:04 +02:00
<span class="roll-dialog-label">Spec Dice : </span>
<select class="roll-dialog-label" id="specDicesLevel" type="text" name="specDicesLevel"
value="{{specDicesLevel}}" data-dtype="Number" {{#if specList}}disabled{{/if}}>
2022-01-28 10:05:54 +01:00
{{#select specDicesLevel}}
{{{optionsDiceList}}}
{{/select}}
2022-07-10 10:22:04 +02:00
</select>
2022-01-28 10:05:54 +01:00
<span class="small-label">&nbsp;</span>
</div>
2022-07-13 22:47:07 +02:00
{{/if}}
2022-07-10 10:22:04 +02:00
2022-07-13 22:47:07 +02:00
{{#if isDamage}}
2022-01-28 10:05:54 +01:00
<div class="flexrow">
2022-07-10 10:22:04 +02:00
<span class="roll-dialog-label">Weapon Damage :</span>
2022-07-13 22:47:07 +02:00
<select class="roll-dialog-label" id="damageDiceLevel" type="text" name="damageDiceLevel"
value="{{damageDiceLevel}}" data-dtype="Number">
{{#select damageDiceLevel}}
2022-01-28 10:05:54 +01:00
{{{optionsDiceList}}}
{{/select}}
2022-07-10 10:22:04 +02:00
</select>
2022-01-28 10:05:54 +01:00
<span class="small-label">&nbsp;</span>
</div>
2022-07-13 22:47:07 +02:00
{{/if}}
2022-07-10 10:22:04 +02:00
<div class="dice-pool-div">
<span>
<h3 class="dice-pool-label">Current pool</h3>
</span>
<div class="flexrow dice-pool-stack">
{{#each dicePool as |dice idx|}}
2022-07-19 00:18:46 +02:00
<span><a class="pool-remove-dice" data-dice-idx="{{idx}}" data-dice-level="{{dice.level}}" data-dice-key="{{dice.key}}"><img class="dice-pool-image"
2022-07-10 10:22:04 +02:00
src="{{dice.img}}"></a></span>
{{/each}}
2022-01-28 10:05:54 +01:00
</div>
2022-07-10 10:22:04 +02:00
</div>
2022-01-28 10:05:54 +01:00
<div class="flexrow">
2022-07-10 10:22:04 +02:00
{{#each diceList as |dice idx|}}
2022-07-19 00:18:46 +02:00
<span><a class="pool-add-dice" data-dice-key="{{dice.key}}" data-dice-level="{{dice.level}}"><img class="dice-pool-image"
2022-07-10 10:22:04 +02:00
src="{{dice.img}}"></a></span>
{{/each}}
</div>
2022-01-13 16:13:00 +01:00
</div>
2022-01-28 10:05:54 +01:00
<div>
{{> systems/fvtt-pegasus-rpg/templates/partial-roll-select-effects.html}}
</div>
2022-01-13 16:13:00 +01:00
</div>
2022-07-10 10:22:04 +02:00
</form>