daggerheart/templates/ui/tooltip/armorManagement.hbs
Carlos Fernandez 1af86d87bb
Some checks are pending
Project CI / build (24.x) (push) Waiting to run
Refactor styling of sidebar resources (#2050)
2026-07-01 13:39:16 +02:00

19 lines
No EOL
835 B
Handlebars

<div class="daggerheart armor-management-container">
<h3>{{localize "DAGGERHEART.GENERAL.armorSlots"}}</h3>
{{#each sources as |source|}}
<div class="armor-source-container">
<p class="armor-source-label">{{source.name}}</p>
<div class="slot-bar armor">
{{#times source.max}}
<a class="slot" data-value="{{add this 1}}" data-uuid="{{source.uuid}}">
{{#if (gte ../current (add this 1))}}
<i class="fa-solid fa-shield" data-index="{{this}}"></i>
{{else}}
<i class="fa-solid fa-shield-halved" data-index="{{this}}"></i>
{{/if}}
</a>
{{/times}}
</div>
</div>
{{/each}}
</div>