mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 14:36:13 +01:00
* Initial - Branch Test * reorganized path for better usage * something to mess with * registration things * . * root-template error * pushing in for the day * hook? * help? * . * implementation initial * updated comment * overcomplicated it * . * Added Formula select to view mode * . * Prettied up roll-results template * Removed SRD table descriptions * Improved draw result description css * Fallback for default dark dice * . --------- Co-authored-by: Nikhil Nagarajan <potter.nikhil@gmail.com>
20 lines
919 B
Handlebars
20 lines
919 B
Handlebars
<header class="sheet-header img-name">
|
|
<img src="{{source.img}}" data-action="editImage" data-edit="img" alt="{{localize "DOCUMENT.FIELDS.img.label"}}">
|
|
|
|
<input type="text" name="name" value="{{source.name}}" placeholder="{{localize "DOCUMENT.FIELDS.name.label"}}" aria-label="{{localize "DOCUMENT.FIELDS.name.label"}}">
|
|
{{#if usesAltFormula}}
|
|
<div class="form-group">
|
|
<label>{{localize "Formula"}}</label>
|
|
<div class="form-fields">
|
|
<select class="system-update-field" data-path="activeAltFormula">
|
|
{{selectOptions this.altFormulaOptions selected=this.activeAltFormula labelAttr="name"}}
|
|
</select>
|
|
</div>
|
|
</div>
|
|
{{/if}}
|
|
|
|
<button data-action="changeMode">
|
|
<i class="fa-solid fa-eye" inert></i>
|
|
<span>{{localize "TABLE.ACTIONS.ChangeMode.View"}}</span>
|
|
</button>
|
|
</header>
|