foundryvtt-reve-de-dragon/templates/actor/xp-journal.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

28 lines
1.0 KiB
HTML

<h3>Journal d'Experience</h3>
<div class="form-group large-editor">
<ul class="item-list alterne-list">
{{#each system.experiencelog as |xplog key|}}
<li class="experiencelog flexrow list-item" data-key="{{key}}">
<label class="flex-shrink">{{xplog.valeur}} {{experienceLog-topic xplog.mode}} </label>
{{#if (or xplog.from xplog.to)}}
<label class="flex-grow">{{xplog.raison}}: de {{xplog.from}} à {{xplog.to}}</label>
{{else}}
<label class="flex-grow">{{xplog.raison}}</label>
{{/if}}
<label class="flex-shrink">{{xplog.daterdd}}</label>
<label class="flex-shrink">{{xplog.datereel}}</label>
{{#if @root.options.isGM}}
<span class="flex-shrink">
<a class="experiencelog-delete" data-tooltip="Supprimer">
<i class="fas fa-trash"></i>
</a>
<a class="experiencelog-delete-previous" data-tooltip="Supprimer jusqu'ici">
<i class="fas fa-eraser"></i>
</a>
</span>
{{/if}}
</li>
{{/each}}
</ul>
</div>