Redesign group roll dialog

This commit is contained in:
Carlos Fernandez 2026-04-21 18:30:00 -04:00
parent 545934aa60
commit 89c02faf0e
17 changed files with 486 additions and 632 deletions

View file

@ -0,0 +1,29 @@
{{#if hasRolled}}
<div class="group-roll-results with-result {{groupRoll.totalDualityClass}}">
<div class="row leader">
<span class="label">Leader Roll</span>
<span class="duality-label">
{{leader.roll.total}}
<span class="with">{{localize "DAGGERHEART.GENERAL.withThing" thing=leader.roll.totalLabel}}</span>
</span>
</div>
<div class="row modifiers">
<span class="label">Modifiers</span>
<div class="item-tags">
{{#each groupRoll.modifiers as |modifier|}}
<span class="tag">{{#if (gte modifier 0)}}+{{else}}-{{/if}}{{positive modifier}}</span>
{{/each}}
</div>
</div>
<div class="divider"></div>
<div class="row total">
<span class="label">Total</span>
<span class="duality-label"><span class="value">{{groupRoll.total}}</span> {{groupRoll.totalLabel}}</span>
</div>
</div>
{{else}}
<div class="group-roll-results empty">
Results will appear when characters roll
</div>
{{/if}}