mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-14 20:51:07 +01:00
Split methods
This commit is contained in:
parent
42df9c6318
commit
b09cd8a692
14 changed files with 437 additions and 213 deletions
|
|
@ -20,6 +20,7 @@
|
|||
{{formField fields.name value=source.name label="Name" name="name"}}
|
||||
{{formField fields.img value=source.img label="Icon" name="img"}}
|
||||
{{formField fields.actionType value=source.actionType label="Type" name="actionType" localize=true}}
|
||||
{{formField fields.chatDisplay value=source.chatDisplay name="chatDisplay"}}
|
||||
</div>
|
||||
</fieldset>
|
||||
<fieldset class="action-category">
|
||||
|
|
|
|||
16
templates/views/costSelection.hbs
Normal file
16
templates/views/costSelection.hbs
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<div>
|
||||
{{#each cost as | c index |}}
|
||||
<div class="form-group">
|
||||
<div class="form-fields">
|
||||
<label for="{{type}}">{{type}}: {{total}}</label>
|
||||
<input name="{{index}}.enabled" type="checkbox"{{#if enabled}} checked{{/if}}>
|
||||
{{#if scalable}}
|
||||
<input type="range" value="{{scale}}" min="1" max="10" step="{{step}}" name="{{index}}.scale">
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
{{/each}}
|
||||
<footer>
|
||||
<button data-action="sendHope">Accept</button>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
@ -2,10 +2,10 @@
|
|||
<div class="form-group">
|
||||
<label><strong>Total Damage</strong></label>
|
||||
<div class="form-fields">
|
||||
<input type="text" value="{{this.rollString}}" disabled />
|
||||
<input type="text" value="{{rollString}}" disabled />
|
||||
</div>
|
||||
</div>
|
||||
{{#each this.bonusDamage as |damage index|}}
|
||||
{{#each bonusDamage as |damage index|}}
|
||||
<div class="form-group">
|
||||
<label><strong>{{damage.description}}</strong></label>
|
||||
<div class="form-fields">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue