mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 19:51:08 +01:00
28 lines
No EOL
1.2 KiB
Handlebars
28 lines
No EOL
1.2 KiB
Handlebars
<div>
|
|
<header class="dialog-header">
|
|
<h1>{{title}}</h1>
|
|
</header>
|
|
<div class="death-move-container">
|
|
<ul class="moves-list">
|
|
{{#each this.options as |option key|}}
|
|
<li class="move-item" data-tooltip="{{concat "#" "deathMove" "#"}}" data-action="selectMove" data-move="{{key}}"data-death-img="{{option.img}}" data-death-name="{{this.name}}" data-death-description="{{this.description}}">
|
|
<div class="label" for="{{id}}" data-tooltip="{{localize tooltip}}" data-tooltip-direction="LEFT">
|
|
<i class="fa-solid {{icon}} fa-xl"></i>
|
|
<span class="label">{{localize this.name}}</span>
|
|
</div>
|
|
<input type="radio" {{#if (eq ../this.selectedMove.id option.id)}}checked{{/if}}>
|
|
</li>
|
|
{{/each}}
|
|
</ul>
|
|
</div>
|
|
<footer class="flexrow">
|
|
<button data-action="close">
|
|
<span>{{localize "Cancel"}}</span>
|
|
</button>
|
|
<button data-action="takeMove" {{#if (not this.selectedMove)}}disabled{{/if}}>
|
|
<span>
|
|
{{localize "DAGGERHEART.APPLICATIONS.DeathMove.selectMove"}}
|
|
</span>
|
|
</button>
|
|
</footer>
|
|
</div> |