add buttons in overviews now on bottom
This commit is contained in:
parent
45c5e3bd7d
commit
c13ebb0b76
4 changed files with 16 additions and 15 deletions
|
@ -15,9 +15,8 @@
|
||||||
{{#*inline "ifHasItemOfType"}}
|
{{#*inline "ifHasItemOfType"}}
|
||||||
{{#if (and (ne itemsArray undefined) (gt itemsArray.length 0))}}
|
{{#if (and (ne itemsArray undefined) (gt itemsArray.length 0))}}
|
||||||
{{> @partial-block}}
|
{{> @partial-block}}
|
||||||
{{else}}
|
|
||||||
{{> systems/ds4/templates/actor/partials/overview-add-button.hbs dataType=dataType }}
|
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
{{> systems/ds4/templates/actor/partials/overview-add-button.hbs dataType=dataType }}
|
||||||
{{/inline}}
|
{{/inline}}
|
||||||
|
|
||||||
|
|
||||||
|
@ -48,8 +47,8 @@
|
||||||
{{> @partial-block }}
|
{{> @partial-block }}
|
||||||
{{!-- description --}}
|
{{!-- description --}}
|
||||||
<div class="flex4">{{localize 'DS4.Description'}}</div>
|
<div class="flex4">{{localize 'DS4.Description'}}</div>
|
||||||
{{!-- add button --}}
|
{{!-- control buttons placeholder --}}
|
||||||
{{> systems/ds4/templates/actor/partials/overview-add-button.hbs dataType=dataType }}
|
<div></div>
|
||||||
</li>
|
</li>
|
||||||
{{/inline}}
|
{{/inline}}
|
||||||
|
|
||||||
|
|
|
@ -42,8 +42,8 @@
|
||||||
<div class="flex1 item-name">{{localize 'DS4.ItemName'}}</div>
|
<div class="flex1 item-name">{{localize 'DS4.ItemName'}}</div>
|
||||||
{{!-- description --}}
|
{{!-- description --}}
|
||||||
<div class="flex3">{{localize 'DS4.Description'}}</div>
|
<div class="flex3">{{localize 'DS4.Description'}}</div>
|
||||||
{{!-- add button --}}
|
{{!-- control buttons placeholder --}}
|
||||||
{{> systems/ds4/templates/actor/partials/overview-add-button.hbs dataType=dataType }}
|
<div></div>
|
||||||
</li>
|
</li>
|
||||||
{{/inline}}
|
{{/inline}}
|
||||||
|
|
||||||
|
@ -58,4 +58,5 @@
|
||||||
{{> baseItemListEntry item=item}}
|
{{> baseItemListEntry item=item}}
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</ol>
|
</ol>
|
||||||
|
{{> systems/ds4/templates/actor/partials/overview-add-button.hbs dataType='specialCreatureAbility' }}
|
||||||
</div>
|
</div>
|
|
@ -55,8 +55,8 @@
|
||||||
<div class="item-num-val" title="{{localize 'DS4.SpellCooldownDuration'}}"><i class="fas fa-hourglass-half"></i></div>
|
<div class="item-num-val" title="{{localize 'DS4.SpellCooldownDuration'}}"><i class="fas fa-hourglass-half"></i></div>
|
||||||
{{!-- description --}}
|
{{!-- description --}}
|
||||||
{{!-- <div class="flex3">{{localize 'DS4.Description'}}</div> --}}
|
{{!-- <div class="flex3">{{localize 'DS4.Description'}}</div> --}}
|
||||||
{{!-- add button --}}
|
{{!-- control buttons placeholder --}}
|
||||||
{{> systems/ds4/templates/actor/partials/overview-add-button.hbs dataType='spell' }}
|
<div></div>
|
||||||
</li>
|
</li>
|
||||||
{{#each itemsByType.spell as |item id|}}
|
{{#each itemsByType.spell as |item id|}}
|
||||||
<li class="item flexrow" data-item-id="{{item._id}}">
|
<li class="item flexrow" data-item-id="{{item._id}}">
|
||||||
|
@ -90,4 +90,6 @@
|
||||||
</li>
|
</li>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</ol>
|
</ol>
|
||||||
|
{{!-- add button --}}
|
||||||
|
{{> systems/ds4/templates/actor/partials/overview-add-button.hbs dataType='spell' }}
|
||||||
</div>
|
</div>
|
|
@ -15,9 +15,8 @@
|
||||||
{{#*inline "ifHasItemOfType"}}
|
{{#*inline "ifHasItemOfType"}}
|
||||||
{{#if (and (ne itemsArray undefined) (gt itemsArray.length 0))}}
|
{{#if (and (ne itemsArray undefined) (gt itemsArray.length 0))}}
|
||||||
{{> @partial-block}}
|
{{> @partial-block}}
|
||||||
{{else}}
|
|
||||||
{{> systems/ds4/templates/actor/partials/overview-add-button.hbs dataType=dataType }}
|
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
{{> systems/ds4/templates/actor/partials/overview-add-button.hbs dataType=dataType }}
|
||||||
{{/inline}}
|
{{/inline}}
|
||||||
|
|
||||||
|
|
||||||
|
@ -98,7 +97,7 @@
|
||||||
{{/inline}}
|
{{/inline}}
|
||||||
|
|
||||||
{{!--
|
{{!--
|
||||||
!-- Render a list header for a base item list entries from a given item.
|
!-- Render a list header for a base item list entry from a given item.
|
||||||
!-- The partial assumes a variable dataType to be given in the context.
|
!-- The partial assumes a variable dataType to be given in the context.
|
||||||
!--
|
!--
|
||||||
!-- @param dataType: the string item type for the list
|
!-- @param dataType: the string item type for the list
|
||||||
|
@ -111,8 +110,8 @@
|
||||||
<div class="flex1 item-name">{{localize 'DS4.ItemName'}}</div>
|
<div class="flex1 item-name">{{localize 'DS4.ItemName'}}</div>
|
||||||
{{!-- description --}}
|
{{!-- description --}}
|
||||||
<div class="flex3">{{localize 'DS4.Description'}}</div>
|
<div class="flex3">{{localize 'DS4.Description'}}</div>
|
||||||
{{!-- add button --}}
|
{{!-- control buttons placeholder --}}
|
||||||
{{> systems/ds4/templates/actor/partials/overview-add-button.hbs dataType=dataType }}
|
<div></div>
|
||||||
</li>
|
</li>
|
||||||
{{/inline}}
|
{{/inline}}
|
||||||
|
|
||||||
|
@ -133,8 +132,8 @@
|
||||||
<div class="flex3">{{localize 'DS4.TalentRank'}}</div>
|
<div class="flex3">{{localize 'DS4.TalentRank'}}</div>
|
||||||
{{!-- description --}}
|
{{!-- description --}}
|
||||||
<div class="flex4">{{localize 'DS4.Description'}}</div>
|
<div class="flex4">{{localize 'DS4.Description'}}</div>
|
||||||
{{!-- add button --}}
|
{{!-- control buttons placeholder --}}
|
||||||
{{> systems/ds4/templates/actor/partials/overview-add-button.hbs dataType='talent' }}
|
<div></div>
|
||||||
</li>
|
</li>
|
||||||
{{#each itemsByType.talent as |item id|}}
|
{{#each itemsByType.talent as |item id|}}
|
||||||
{{> talentListEntry item=item}}
|
{{> talentListEntry item=item}}
|
||||||
|
|
Loading…
Reference in a new issue