mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 11:41:08 +01:00
Added the display
This commit is contained in:
parent
01dd5ced94
commit
4954e41b02
13 changed files with 125 additions and 43 deletions
|
|
@ -1,7 +1,9 @@
|
|||
<div class="effects-display-container">
|
||||
{{#each effects as | effect |}}
|
||||
<div class="effect-container">
|
||||
<img src="{{effect.img}}" />
|
||||
</div>
|
||||
{{/each}}
|
||||
<div>
|
||||
<div class="effects-display-container">
|
||||
{{#each effects as | effect |}}
|
||||
<div class="effect-container" data-tooltip="#effect-display#" data-uuid="{{effect.uuid}}" id="{{effect.id}}">
|
||||
<img src="{{effect.img}}" />
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
</div>
|
||||
9
templates/ui/tooltip/effect-display.hbs
Normal file
9
templates/ui/tooltip/effect-display.hbs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<div class="daggerheart dh-style tooltip">
|
||||
<div class="tooltip-header">
|
||||
<h3>{{effect.name}}</h3>
|
||||
<div class="helper">{{localize "[Right Click] Remove Effect"}}</div>
|
||||
</div>
|
||||
<div>
|
||||
{{#if effect.description}}{{{effect.description}}}{{else}}{{{effect.parent.system.description}}}{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue