mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
22 lines
No EOL
1.1 KiB
Handlebars
22 lines
No EOL
1.1 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}}">
|
|
<label 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>
|
|
</label>
|
|
<input type="radio" {{#if (eq ../this.selectedMove.id option.id)}}checked{{/if}}>
|
|
</li>
|
|
{{/each}}
|
|
</ul>
|
|
</div>
|
|
<footer class="flexrow">
|
|
<button data-action="close">{{localize "Cancel"}}</button>
|
|
<button data-action="takeMove" {{#if (not this.selectedMove)}}disabled{{/if}}>{{localize "DAGGERHEART.APPLICATIONS.DeathMove.selectMove"}}</button>
|
|
</footer>
|
|
</div> |