mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 19:51:08 +01:00
* Updated to make use of setup tabs. Ancestry now has primary/secondary features * Changed so ancestry uses a single Features field * Revert "Changed so ancestry uses a single Features field" This reverts commit0bda6b5dbe. * Reapply "Changed so ancestry uses a single Features field" This reverts commit1febafd441. * Made it work again the bad way \._./ * Changed so that Feature(Item) has a primary field * Feature(Item) now has subtype instead of primary as a field * Fixed experience/evasion * Moved light styling to appTheme mixing * Added svg and style rules
22 lines
No EOL
947 B
Handlebars
22 lines
No EOL
947 B
Handlebars
<div
|
|
class="component dh-style card-preview-container {{#if (and (not this.disabled) (and this.compendium (not this.img)))}}selectable{{/if}} {{#if this.disabled}}disabled{{/if}}"
|
|
{{#if (not disabled)}}data-action="viewCompendium"{{/if}} data-compendium="{{this.compendium}}" data-path="{{this.path}}" data-limit="{{this.limit}}"
|
|
>
|
|
{{#if this.img}}
|
|
<img class="preview-image-container" src="{{this.img}}" />
|
|
<div class="preview-text-container">
|
|
{{#if altPartialBlock}}
|
|
{{> @partial-block }}
|
|
{{else}}
|
|
{{this.name}}
|
|
{{/if}}
|
|
</div>
|
|
{{else}}
|
|
<div class="preview-empty-container">
|
|
<div class="preview-empty-inner-container">
|
|
<i class="preview-add-icon fa-solid fa-plus"></i>
|
|
<div class="preview-empty-subtext">{{> @partial-block }}</div>
|
|
</div>
|
|
</div>
|
|
{{/if}}
|
|
</div> |