Enhance sheets and add skill+effects
This commit is contained in:
@@ -84,6 +84,52 @@
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
{{!-- Skills --}}
|
||||
<fieldset>
|
||||
<legend>{{localize "AWEMMY.Skill.Label"}}</legend>
|
||||
<div class="item-list">
|
||||
{{#each skills as |item|}}
|
||||
<div class="item-row" data-drag="true" data-item-id="{{item.id}}" data-item-uuid="{{item.uuid}}" data-tooltip="{{itemTooltip item}}">
|
||||
<img class="item-img" src="{{item.img}}" data-tooltip="{{item.name}}" />
|
||||
<div class="item-name">{{item.name}}</div>
|
||||
<div class="item-controls">
|
||||
<a data-action="edit" data-item-id="{{item.id}}" data-item-uuid="{{item.uuid}}" data-tooltip="{{localize 'AWEMMY.Sheet.EditItem'}}"><i class="fas fa-edit"></i></a>
|
||||
{{#if ../isEditMode}}
|
||||
<a data-action="delete" data-item-id="{{item.id}}" data-item-uuid="{{item.uuid}}" data-tooltip="{{localize 'AWEMMY.Sheet.DeleteItem'}}"><i class="fas fa-trash"></i></a>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
{{/each}}
|
||||
{{#if isEditMode}}
|
||||
<div class="item-add">
|
||||
<button type="button" data-action="createSkill"><i class="fas fa-plus"></i> {{localize "AWEMMY.Item.Skill"}}</button>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
{{!-- Active Effects --}}
|
||||
<fieldset>
|
||||
<legend>{{localize "AWEMMY.Effect.Label"}}</legend>
|
||||
<div class="item-list">
|
||||
{{#each effects as |item|}}
|
||||
<div class="item-row" data-drag="true" data-item-id="{{item.id}}" data-item-uuid="{{item.uuid}}" data-tooltip="{{itemTooltip item}}">
|
||||
<img class="item-img" src="{{item.img}}" data-tooltip="{{item.name}}" />
|
||||
<div class="item-name">{{item.name}}</div>
|
||||
<div class="item-controls">
|
||||
<a data-action="edit" data-item-id="{{item.id}}" data-item-uuid="{{item.uuid}}" data-tooltip="{{localize 'AWEMMY.Sheet.EditItem'}}"><i class="fas fa-edit"></i></a>
|
||||
<a data-action="delete" data-item-id="{{item.id}}" data-item-uuid="{{item.uuid}}" data-tooltip="{{localize 'AWEMMY.Sheet.DeleteItem'}}"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
{{/each}}
|
||||
{{#if isEditMode}}
|
||||
<div class="item-add">
|
||||
<button type="button" data-action="createEffect"><i class="fas fa-plus"></i> {{localize "AWEMMY.Item.Effect"}}</button>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
{{!-- Conditions --}}
|
||||
<fieldset class="conditions-fieldset">
|
||||
<legend>{{localize "AWEMMY.Condition.Panel"}}</legend>
|
||||
|
||||
Reference in New Issue
Block a user