mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 11:41:08 +01:00
* Restructured all the files * Moved build/daggerheart.js to ./daggerheart.js. Changed rollup to use the css file instead of the less * Restored build/ folder * Mvoed config out form under application * Moved roll.mjs to module/dice and renamed to dhRolls.mjs * Update module/canvas/placeables/_module.mjs Co-authored-by: joaquinpereyra98 <24190917+joaquinpereyra98@users.noreply.github.com> * Le massive export update * Removed unncessary import --------- Co-authored-by: joaquinpereyra98 <24190917+joaquinpereyra98@users.noreply.github.com>
33 lines
No EOL
1.5 KiB
Handlebars
33 lines
No EOL
1.5 KiB
Handlebars
<div>
|
|
<div class="form-group">
|
|
<label><strong>{{title}}</strong></label>
|
|
<div class="form-fields">
|
|
{{!-- <input type="text" value="{{formula}}" disabled /> --}}
|
|
<div>{{@root.formula}}</div>
|
|
</div>
|
|
<div>
|
|
<input type="text" value="{{extraFormula}}" name="extraFormula" placeholder="Situational Bonus">
|
|
</div>
|
|
</div>
|
|
{{!-- {{#each bonusDamage as |damage index|}}
|
|
<div class="form-group">
|
|
<label><strong>{{damage.description}}</strong></label>
|
|
<div class="form-fields">
|
|
<label>Enabled</label>
|
|
<input style="align-self: baseline;" type="checkbox" name="bonusDamage.{{index}}.initiallySelected" {{checked damage.initiallySelected}} />
|
|
{{#if (and damage.initiallySelected damage.hopeIncrease)}}
|
|
|
|
<label>Hope</label>
|
|
<div class="hope-container">
|
|
<i data-action="decreaseHopeUse" data-index="{{index}}" class="fa-solid fa-caret-left icon-button {{#if (eq damage.hopeUses 0)}}disabled{{/if}}"></i>
|
|
<div>{{damage.hopeUses}}</div>
|
|
<i data-action="increaseHopeUse" data-index="{{index}}" class="fa-solid fa-caret-right icon-button {{#if (eq ../hopeUsed ../hope)}}disabled{{/if}}"></i>
|
|
</div>
|
|
{{/if}}
|
|
</div>
|
|
</div>
|
|
{{/each}} --}}
|
|
<footer>
|
|
<button data-action="submitRoll">Roll</button>
|
|
</footer>
|
|
</div> |