Fixed class/subclass drag-drop

This commit is contained in:
WBHarry 2025-07-31 16:56:56 +02:00
parent 39eb3dce69
commit 0cf9e1d17c
10 changed files with 247 additions and 28 deletions

View file

@ -0,0 +1,23 @@
<div>
<div class="multiclass-container">
<h5 class="multiclass-explanation">{{localize "DAGGERHEART.APPLICATIONS.MulticlassChoice.explanation" class=multiclass.parent.name }}</h5>
<h5 class="multiclass-explanation">{{localize "DAGGERHEART.APPLICATIONS.MulticlassChoice.selectDomainPrompt" }}</h5>
<div class="multiclass-domains-container">
{{#each domainChoices as | choice |}}
<div class="domain-choice-container">
<button data-action="selectDomain" data-domain="{{choice.value}}" {{#if choice.selected}}class="selected"{{/if}}>
<label>{{choice.label}}</label>
<img src="{{choice.src}}" />
</button>
<div class="domain-description">{{choice.description}}</div>
</div>
{{/each}}
</div>
<footer>
<button data-action="close">{{localize "Cancel"}}</button>
<button data-action="save" {{disabled multiclassDisabled}}>{{localize "DAGGERHEART.GENERAL.multiclass"}}</button>
</footer>
</div>
</div>