mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 22:46:12 +01:00
Initial
This commit is contained in:
parent
593105b163
commit
7bc5ea4910
12 changed files with 198 additions and 5 deletions
20
templates/sheets/activeEffect/armor/details.hbs
Normal file
20
templates/sheets/activeEffect/armor/details.hbs
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<section class="tab scrollable{{#if tab.active}} active{{/if}}" data-group="{{tab.group}}" data-tab="{{tab.id}}">
|
||||
{{formGroup fields.tint value=source.tint rootId=rootId placeholder="#ffffff"}}
|
||||
{{formGroup fields.description value=source.description rootId=rootId}}
|
||||
{{formGroup fields.disabled value=source.disabled rootId=rootId}}
|
||||
|
||||
{{#if isActorEffect}}
|
||||
<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}}
|
||||
{{formGroup fields.transfer value=source.transfer rootId=rootId label=legacyTransfer.label hint=(localize "DAGGERHEART.EFFECTS.Attachments.transferHint")}}
|
||||
{{/if}}
|
||||
|
||||
{{formGroup fields.showIcon value=source.showIcon options=showIconOptions rootId=rootId}}
|
||||
</section>
|
||||
12
templates/sheets/activeEffect/armor/settings.hbs
Normal file
12
templates/sheets/activeEffect/armor/settings.hbs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<section class="tab{{#if tab.active}} active{{/if}}" data-group="{{tab.group}}" data-tab="{{tab.id}}">
|
||||
<button data-action="addEffect">Add Effect</button>
|
||||
|
||||
<div class="armor-effects-container">
|
||||
{{#each source.system.changes as |change index|}}
|
||||
<div class="armor-effect-container">
|
||||
{{formGroup @root.systemFields.changes.element.fields.marked value=change.marked localize=true}}
|
||||
{{formGroup @root.systemFields.changes.element.fields.max value=change.max localize=true}}
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
</section>
|
||||
Loading…
Add table
Add a link
Reference in a new issue