mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-16 13:41:07 +01:00
Pass the hope value in the button data; skeleton risk it all dialog to fill out.
This commit is contained in:
parent
7e4422dbf4
commit
d414b464b5
7 changed files with 79 additions and 7 deletions
18
templates/dialogs/riskItAllDialog.hbs
Normal file
18
templates/dialogs/riskItAllDialog.hbs
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<div>
|
||||
<header class="dialog-header">
|
||||
<h1>{{title}}</h1>
|
||||
</header>
|
||||
<div class="risk-it-all-container">
|
||||
<span>TODO magic here</span>
|
||||
</div>
|
||||
<footer class="flexrow">
|
||||
<button data-action="close">
|
||||
<span>{{localize "Cancel"}}</span>
|
||||
</button>
|
||||
<button data-action="submit" {{#if (not this.validChoices)}}disabled{{/if}}>
|
||||
<span>
|
||||
{{localize "DAGGERHEART.APPLICATIONS.RiskItAllDialog.submit"}}
|
||||
</span>
|
||||
</button>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
@ -19,7 +19,7 @@
|
|||
</div>
|
||||
{{#if this.showRiskItAllButton}}
|
||||
<div>
|
||||
<button class="risk-it-all-button">
|
||||
<button class="risk-it-all-button" data-hope="{{this.riskItAllHope}}">
|
||||
<span>
|
||||
{{this.riskItAllButtonLabel}}
|
||||
</span>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue