mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-21 23:13:39 +02:00
Increase reuse of gold and inventory styling (#1804)
This commit is contained in:
parent
c6335980ba
commit
a77d2088a0
10 changed files with 84 additions and 146 deletions
12
templates/sheets/global/partials/gold.hbs
Normal file
12
templates/sheets/global/partials/gold.hbs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<div class="gold-section">
|
||||
{{#each currencies as |currency key|}}
|
||||
{{#if currency.enabled}}
|
||||
<div class="input currency" data-currency="{{key}}">
|
||||
<span class="drag-handle">
|
||||
<i class="{{currency.icon}}" inert></i> {{localize currency.label}}
|
||||
</span>
|
||||
<input type="text" name="{{currency.field.fieldPath}}" data-allow-delta value="{{currency.value}}" data-dtype="Number" min="0" step="1" />
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue