mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 11:41:08 +01:00
* style items and action chat messages * enhance death move chat message and fix border bottom from title actions * fix padding bottom * Added basic chat-message.hbs * . * style remaing chat messages * style action messages * remove console log * add colapsable descriptions in chat messages * inital style for message rolls * fix deal damage button style * add new partchments * Roll Chat message new design template * j * l * p * y * fix _getTags type error and add a alias label for non base messages * Fix damage & healing roll * Fix conflict * Deleting old templates * Good for now * fix labels in duality rolls messages and style experience and effects messages --------- Co-authored-by: WBHarry <williambjrklund@gmail.com> Co-authored-by: Dapoolp <elcatnet@gmail.com>
30 lines
No EOL
1.3 KiB
Handlebars
30 lines
No EOL
1.3 KiB
Handlebars
<fieldset class="one-column">
|
|
<legend>{{localize 'DAGGERHEART.GENERAL.Cost.single'}}</legend>
|
|
<ul>
|
|
{{#if uses}}
|
|
<li class="scalable-input">
|
|
<div class="form-group">
|
|
<div class="form-fields nest-inputs">
|
|
<input name="uses.enabled" type="checkbox"{{#if uses.enabled}} checked{{/if}}>
|
|
<label for="uses.enabled">Uses</label>
|
|
</div>
|
|
</div>
|
|
<label class="modifier-label">{{uses.value}}/{{formulaValue uses.max @root.rollConfig.data}}</label>
|
|
</li>
|
|
{{/if}}
|
|
{{#each costs as | cost index |}}
|
|
<li class="scalable-input">
|
|
<div class="form-group">
|
|
<div class="form-fields nest-inputs">
|
|
<input name="costs.{{index}}.enabled" type="checkbox"{{#if enabled}} checked{{/if}}>
|
|
<label>{{label}}</label>
|
|
</div>
|
|
</div>
|
|
{{#if (and scalable (gt maxStep 1))}}
|
|
<input type="range" value="{{scale}}" min="1" max="{{maxStep}}" step="1" name="costs.{{index}}.scale">
|
|
{{/if}}
|
|
<label class="modifier-label">{{total}}/{{max}}</label>
|
|
</li>
|
|
{{/each}}
|
|
</ul>
|
|
</fieldset> |