mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 11:41:08 +01:00
33 lines
No EOL
1.6 KiB
Handlebars
33 lines
No EOL
1.6 KiB
Handlebars
<section class='tab-navigation'>
|
|
<line-div></line-div>
|
|
<div class="levelup-navigation-container">
|
|
<nav class='feature-tab sheet-tabs tabs' data-group='primary'>
|
|
{{#each tabs as |tab|}}
|
|
{{#if (not (eq tab.id 'summary'))}}
|
|
<a class='{{tab.id}} {{tab.cssClass}}' data-action='tab' data-group='{{tab.group}}' data-tab='{{tab.id}}'>
|
|
{{localize tab.label}}
|
|
</a>
|
|
{{/if}}
|
|
{{/each}}
|
|
</nav>
|
|
<div class="levelup-navigation-actions">
|
|
{{#if (not this.navigate.previous.disabled)}}
|
|
{{#if this.navigate.previous.fromSummary}}
|
|
<button data-action="activatePart" data-part="advancements">{{this.navigate.previous.label}}</button>
|
|
{{else}}
|
|
<button data-action="updateCurrentLevel" >{{this.navigate.previous.label}}</button>
|
|
{{/if}}
|
|
{{/if}}
|
|
{{#if this.navigate.next.show}}
|
|
{{#if this.navigate.next.toSummary}}
|
|
<button data-action="activatePart" data-part="summary" {{#if this.navigate.next.disabled}}disabled{{/if}}>{{localize "DAGGERHEART.Application.LevelUp.navigateToSummary"}}</button>
|
|
{{else}}
|
|
<button data-action="updateCurrentLevel" data-forward="true" {{#if this.navigate.next.disabled}}disabled{{/if}}>{{this.navigate.next.label}}</button>
|
|
{{/if}}
|
|
{{else}}
|
|
<div></div>
|
|
{{/if}}
|
|
</div>
|
|
</div>
|
|
<line-div></line-div>
|
|
</section> |