foundryvtt-reve-de-dragon/templates/coeur/chat-refuser-tendre-moment.hbs
Vincent Vandemeulebrouck 1208eb8ae1 Amélioration des tooltips
- title/alt remplacés par des data-tooltip
- description de ce que font les boutons
- description des items survolés
2023-12-04 02:32:26 +01:00

24 lines
1.1 KiB
Handlebars

<h3>
<div class="flexrow flex-center">
<img class="chat-icon" src="{{source.actor.img}}" data-tooltip="{{source.actor.name}}" />
<span class="flexcol">
<div>
<i class="{{#if (gte source.coeur 1)}}fa-solid{{else}}fa-regular{{/if}} fa-heart"></i>
<i class="{{#if (gte source.coeur 2)}}fa-solid{{else}}fa-regular{{/if}} fa-heart"></i>
<i class="{{#if (gte source.coeur 3)}}fa-solid{{else}}fa-regular{{/if}} fa-heart"></i>
<i class="{{#if (gte source.coeur 4)}}fa-solid{{else}}fa-regular{{/if}} fa-heart"></i>
</div>
<div>
<i class="{{#if (gte target.coeur 4)}}fa-solid{{else}}fa-regular{{/if}} fa-heart"></i>
<i class="{{#if (gte target.coeur 3)}}fa-solid{{else}}fa-regular{{/if}} fa-heart"></i>
<i class="{{#if (gte target.coeur 2)}}fa-solid{{else}}fa-regular{{/if}} fa-heart"></i>
<i class="{{#if (gte target.coeur 1)}}fa-solid{{else}}fa-regular{{/if}} fa-heart"></i>
</div>
</span>
<img class="chat-icon" src="{{target.actor.img}}" data-tooltip="{{target.actor.name}}" />
</div>
</h3>
<p>
{{target.actor.name}} a refusé de passer un tendre moment avec {{source.actor.name}}
</p>