mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-15 05:01:08 +01:00
Fixed data handling in the LevelUp view
This commit is contained in:
parent
3cc8800950
commit
cc0766fc20
8 changed files with 231 additions and 412 deletions
|
|
@ -1,22 +1,25 @@
|
|||
<div>
|
||||
<div class="tiers-container">
|
||||
{{#each this.levelup.tiers as |tier key|}}
|
||||
<fieldset class="tier-container">
|
||||
<fieldset class="tier-container {{#if (not tier.active)}}inactive{{/if}}">
|
||||
<legend>{{tier.name}}</legend>
|
||||
|
||||
{{#each tier.tierCheckboxGroups}}
|
||||
<div class="checkbox-group-container">
|
||||
{{this.label}}
|
||||
<div class="checkboxex-container">
|
||||
<div class="checkboxes-container">
|
||||
{{#each this.checkboxes}}
|
||||
<input type="checkbox" {{checked this.selected}} />
|
||||
<input type="checkbox" class="selection-checkbox" data-tier="{{this.tier}}" data-level="{{this.level}}" data-option="{{this.optionKey}}" data-checkbox-nr="{{this.checkboxNr}}" {{checked this.selected}} />
|
||||
{{/each}}
|
||||
</div>
|
||||
<div class="checkbox-group-label">{{this.label}}</div>
|
||||
</div>
|
||||
{{/each}}
|
||||
</fieldset>
|
||||
{{/each}}
|
||||
</div>
|
||||
<footer class="levelup-footer">
|
||||
<button data-action="save">{{localize "Finish Levelup"}}</button>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
{{!-- <div class="flex-col">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue