mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 14:36:13 +01:00
Corrected ActiveEffect template styling and added useage of the new 'showIcon' property
This commit is contained in:
parent
ac998adaa6
commit
115a31423e
9 changed files with 44 additions and 12 deletions
|
|
@ -1,6 +1,6 @@
|
|||
<li data-index="{{index}}">
|
||||
<div class="key">
|
||||
{{formInput fields.key name=change.keyPath value=change.key}}
|
||||
<input type="text" class="effect-change-input" name="{{change.keyPath}}" value="{{change.key}}" />
|
||||
</div>
|
||||
<div class="type">
|
||||
{{formInput fields.type name=change.typePath value=change.type localize=true}}
|
||||
|
|
@ -12,6 +12,6 @@
|
|||
{{formInput fields.priority name=change.priorityPath value=change.priority placeholder=defaultPriority}}
|
||||
</div>
|
||||
<div class="controls">
|
||||
<button type="button" class="inline-control icon fa-solid fa-trash" data-action="deleteChange"></button>
|
||||
<a class="inline-control icon" data-action="deleteChange"><i class="fa-solid fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<div class="value">{{localize "EFFECT.FIELDS.changes.element.value.label"}}</div>
|
||||
<div class="priority">{{localize "EFFECT.FIELDS.changes.element.priority.label"}}</div>
|
||||
<div class="controls">
|
||||
<button type="button" class="inline-control icon fa-regular fa-square-plus" data-action="addChange"></button>
|
||||
<a class="inline-control icon" data-action="addChange"><i class="fa-regular fa-square-plus"></i></a>
|
||||
</div>
|
||||
</header>
|
||||
<ol class="scrollable" data-changes>
|
||||
|
|
|
|||
|
|
@ -4,7 +4,12 @@
|
|||
{{formGroup fields.disabled value=source.disabled rootId=rootId}}
|
||||
|
||||
{{#if isActorEffect}}
|
||||
{{formGroup fields.origin value=source.origin rootId=rootId disabled=true}}
|
||||
<div class="form-group">
|
||||
<label>{{localize "EFFECT.FIELDS.origin.label"}}</label>
|
||||
<div class="form-fields">
|
||||
<input type="text" value="{{source.origin}}" disabled />
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{#if isItemEffect}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue