mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +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>
24 lines
No EOL
958 B
Handlebars
24 lines
No EOL
958 B
Handlebars
<div>
|
|
{{#if uses}}
|
|
<div class="form-group">
|
|
<div class="form-fields">
|
|
<label for="uses.enabled">Uses: {{uses.value}}/{{uses.max}}</label>
|
|
<input name="uses.enabled" type="checkbox"{{#if uses.enabled}} checked{{/if}}>
|
|
</div>
|
|
</div>
|
|
{{/if}}
|
|
{{#each costs as | cost index |}}
|
|
<div class="form-group">
|
|
<div class="form-fields">
|
|
<label for="{{type}}">{{type}}: {{total}}</label>
|
|
<input name="costs.{{index}}.enabled" type="checkbox"{{#if enabled}} checked{{/if}}>
|
|
{{#if scalable}}
|
|
<input type="range" value="{{scale}}" min="1" max="10" step="{{step}}" name="costs.{{index}}.scale">
|
|
{{/if}}
|
|
</div>
|
|
</div>
|
|
{{/each}}
|
|
{{!-- <footer>
|
|
<button data-action="sendCost"{{#unless canUse}} disabled{{/unless}}>Accept</button>
|
|
</footer> --}}
|
|
</div> |