mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
Added DhTooltipManager aswell as placeholder rendering for Armor/Weapon/DomainCard (#245)
This commit is contained in:
parent
750282aeec
commit
ee8a48f73d
7 changed files with 34 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
<li class="inventory-item" data-item-id="{{item.id}}" data-companion="{{companion}}">
|
||||
<li class="inventory-item" data-item-id="{{item.id}}" data-companion="{{companion}}" data-tooltip="{{concat "#item#" item.uuid}}">
|
||||
<img src="{{item.img}}" class="item-img {{#if isActor}}actor-img{{/if}}" data-action="useItem"/>
|
||||
<div class="item-label">
|
||||
<div class="item-name">{{item.name}}</div>
|
||||
|
|
|
|||
5
templates/tooltip/armor.hbs
Normal file
5
templates/tooltip/armor.hbs
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<div>
|
||||
<div>{{name}}</div>
|
||||
<img src="{{img}}" />
|
||||
<div>{{{system.description}}}</div>
|
||||
</div>
|
||||
5
templates/tooltip/domainCard.hbs
Normal file
5
templates/tooltip/domainCard.hbs
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<div>
|
||||
<div>{{name}}</div>
|
||||
<img src="{{img}}" />
|
||||
<div>{{{system.description}}}</div>
|
||||
</div>
|
||||
5
templates/tooltip/weapon.hbs
Normal file
5
templates/tooltip/weapon.hbs
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<div>
|
||||
<div>{{name}}</div>
|
||||
<img src="{{img}}" />
|
||||
<div>{{{system.description}}}</div>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue