foundryvtt-reve-de-dragon/templates/hud-actor-init.html
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

23 lines
894 B
HTML

<div class="control-icon rdd-initiative ">
<img class="rdd-hud-togglebutton" src="icons/svg/sword.svg" width="36" height="36" data-tooltip="Initiative" />
<div class="rdd-hud-list token-hud-ext right">
{{#each actions as |action key|}}
<div class="control-icon token-hud-icon rdd-hud-menu"
data-combatant-id="{{../combatant.id}}"
data-action-index="{{action.index}}"
data-tooltip="{{action.name}}">
<label>init: {{action.name}} {{action.system.infoMain}}</label>
</div>
{{/each}}
{{#each commandes as |commande key|}}
<div class="control-icon token-hud-icon rdd-hud-menu"
data-command="{{commande.command}}"
data-combatant-id="{{../combatant.id}}"
data-action-index="{{commande.index}}"
data-tooltip="{{commande.name}}">
<label>{{commande.name}}</label>
</div>
{{/each}}
</div>
</div>