mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-21 23:13:39 +02:00
Completed
This commit is contained in:
parent
58b855389d
commit
774141a8da
8 changed files with 94 additions and 66 deletions
|
|
@ -6,11 +6,14 @@
|
|||
|
||||
{{#each source as |area index|}}
|
||||
{{#unless @first}}<line-div></line-div>{{/unless}}
|
||||
<div class="nest-inputs">
|
||||
{{formField ../fields.name value=area.name name=(concat "area." index ".name") localize=true}}
|
||||
<a class="btn" data-tooltip="{{localize "CONTROLS.CommonDelete"}}" data-action="removeElement" data-index="{{index}}"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
<div class="nest-inputs">
|
||||
{{formField ../fields.type value=area.type name=(concat "area." index ".type") localize=true}}
|
||||
{{formField ../fields.shape value=area.shape name=(concat "area." index ".shape") localize=true}}
|
||||
{{formField ../fields.size value=area.size name=(concat "area." index ".size") localize=true}}
|
||||
<a class="btn" data-tooltip="{{localize "CONTROLS.CommonDelete"}}" data-action="removeElement" data-index="{{index}}"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
|
||||
<div class="sub-section-header">
|
||||
|
|
|
|||
|
|
@ -26,4 +26,9 @@
|
|||
{{/if}}
|
||||
</div>
|
||||
</details>
|
||||
{{#if action.area.length}}
|
||||
<div class="roll-buttons action-roll-buttons">
|
||||
<button class="action-areas end-button"><i class="fa-solid fa-crosshairs"></i></button>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
|
@ -14,5 +14,5 @@
|
|||
{{/unless}}
|
||||
{{/if}}
|
||||
{{#if (and hasEffect)}}<button class="duality-action-effect">{{localize "DAGGERHEART.UI.Chat.attackRoll.applyEffect"}}</button>{{/if}}
|
||||
{{#if areas.length}}<button class="action-areas no-flex"><i class="fa-solid fa-crosshairs"></i></button>{{/if}}
|
||||
{{#if areas.length}}<button class="action-areas end-button"><i class="fa-solid fa-crosshairs"></i></button>{{/if}}
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue