mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-06-06 21:04:16 +02:00
Some checks failed
Project CI / build (24.x) (push) Has been cancelled
* Initial thoughts * . * Fixed linting * Continue work on updating identifier * Change to uuid approach * Localization and minor fix * Fixed CompendiumBrowser Class filter for Subclass view * Fixed the class name display in the subclass view * Improved missing class visual for subclass * Fixed character creation * Rerender class sheets when subclass link is changed * Use compendium source over actual uuid in search --------- Co-authored-by: Carlos Fernandez <cfern1990@gmail.com>
73 lines
No EOL
3.1 KiB
Handlebars
73 lines
No EOL
3.1 KiB
Handlebars
<section
|
|
class='tab {{tabs.features.cssClass}} {{tabs.features.id}}'
|
|
data-tab='{{tabs.features.id}}'
|
|
data-group='{{tabs.features.group}}'
|
|
>
|
|
<fieldset>
|
|
<legend>{{localize "TYPES.Item.class"}}</legend>
|
|
{{#if class}}
|
|
<div class="feature-list">
|
|
<li class="feature-line">
|
|
{{#if class.missing}}
|
|
<i class="fa-solid fa-link-slash hint image-icon" inert></i>
|
|
<span class="hint">{{class.name}}</span>
|
|
{{else}}
|
|
<img class="image" src="{{class.img}}" />
|
|
<span>{{class.name}}</span>
|
|
<div class='controls'>
|
|
<a
|
|
class='effect-control'
|
|
data-action='editDoc'
|
|
data-item-uuid={{class.uuid}}
|
|
data-tooltip='{{localize "DAGGERHEART.UI.Tooltip.openItemWorld"}}'
|
|
>
|
|
<i class="fa-solid fa-globe" inert></i>
|
|
</a>
|
|
</div>
|
|
{{/if}}
|
|
</li>
|
|
</div>
|
|
{{else}}
|
|
<div class="drag-area">{{localize "DAGGERHEART.GENERAL.missingDragDropThing" thing=(localize "TYPES.Item.class")}}</div>
|
|
{{/if}}
|
|
</fieldset>
|
|
|
|
<fieldset class="drop-section" data-type="foundation">
|
|
<legend>
|
|
{{localize "DAGGERHEART.GENERAL.Tabs.foundation"}}
|
|
<a><i data-action="addFeature" data-type="foundation" class="fa-solid fa-plus icon-button"></i></a>
|
|
</legend>
|
|
|
|
<div class="feature-list">
|
|
{{#each source.system.foundationFeatures as | feature | }}
|
|
{{> 'systems/daggerheart/templates/sheets/global/partials/feature-section-item.hbs' type='foundation' feature=feature}}
|
|
{{/each}}
|
|
</div>
|
|
</fieldset>
|
|
|
|
<fieldset class="drop-section" data-type="specialization">
|
|
<legend>
|
|
{{localize "DAGGERHEART.GENERAL.Tabs.specialization"}}
|
|
<a><i data-action="addFeature" data-type="specialization" class="fa-solid fa-plus icon-button"></i></a>
|
|
</legend>
|
|
|
|
<div class="feature-list">
|
|
{{#each source.system.specializationFeatures as | feature |}}
|
|
{{> 'systems/daggerheart/templates/sheets/global/partials/feature-section-item.hbs' type='specialization' feature=feature}}
|
|
{{/each}}
|
|
</div>
|
|
</fieldset>
|
|
|
|
<fieldset class="drop-section" data-type="mastery">
|
|
<legend>
|
|
{{localize "DAGGERHEART.GENERAL.Tabs.mastery"}}
|
|
<a><i data-action="addFeature" data-type="mastery" class="fa-solid fa-plus icon-button"></i></a>
|
|
</legend>
|
|
|
|
<div class="feature-list">
|
|
{{#each source.system.masteryFeatures as | feature |}}
|
|
{{> 'systems/daggerheart/templates/sheets/global/partials/feature-section-item.hbs' type='mastery' feature=feature}}
|
|
{{/each}}
|
|
</div>
|
|
</fieldset>
|
|
</section> |