mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 11:41:08 +01:00
* enhance settings style applications * enhance beastform application and fix action selection style * Start-aligned downtime move fieldsets * requested changes * fixing continue button style * fixing double scroll bars in char sheet * set currency above item list * fix experience not appearing in sidebar --------- Co-authored-by: WBHarry <williambjrklund@gmail.com>
30 lines
No EOL
1.2 KiB
Handlebars
30 lines
No EOL
1.2 KiB
Handlebars
<fieldset class="one-column">
|
|
<legend>{{localize 'DAGGERHEART.GENERAL.Cost.single'}}</legend>
|
|
<ul>
|
|
{{#if uses}}
|
|
<li class="scalable-input">
|
|
<div class="form-group">
|
|
<div class="form-fields nest-inputs">
|
|
<input name="uses.enabled" type="checkbox"{{#if uses.enabled}} checked{{/if}}>
|
|
<label for="uses.enabled">Uses</label>
|
|
</div>
|
|
</div>
|
|
<label class="modifier-label">{{uses.value}}/{{uses.max}}</label>
|
|
</li>
|
|
{{/if}}
|
|
{{#each costs as | cost index |}}
|
|
<li class="scalable-input">
|
|
<div class="form-group">
|
|
<div class="form-fields nest-inputs">
|
|
<input name="costs.{{index}}.enabled" type="checkbox"{{#if enabled}} checked{{/if}}>
|
|
<label>{{label}}</label>
|
|
</div>
|
|
</div>
|
|
{{#if scalable}}
|
|
<input type="range" value="{{scale}}" min="1" max="10" step="{{step}}" name="costs.{{index}}.scale">
|
|
{{/if}}
|
|
<label class="modifier-label">{{total}}/10</label>
|
|
</li>
|
|
{{/each}}
|
|
</ul>
|
|
</fieldset> |