Amélioration des tooltips

- title/alt remplacés par des data-tooltip
- description de ce que font les boutons
- description des items survolés
This commit is contained in:
2023-12-04 01:21:05 +01:00
parent a68057900d
commit 1208eb8ae1
139 changed files with 311 additions and 302 deletions

View File

@ -1,13 +1,13 @@
<h4>Equipement</h4>
<span class="item-name">
{{#if options.isOwner}}
<a class="chat-card-button creer-un-objet">Nouvel objet</a>
<a class="chat-card-button creer-un-objet" data-tooltip="Créer un nouvel objet">Nouvel objet</a>
{{/if}}
{{#if options.isGM}}
<a class="chat-card-button nettoyer-conteneurs">Tout vider</a>
<a class="chat-card-button nettoyer-conteneurs" data-tooltip="Vider tous les contenants">Tout vider</a>
{{/if}}
<span class="embed-inline">
<input class="recherche flex-grow" type="text" value="{{options.recherche.text}}" name="recherche" size="8" data-dtype="String" placeholder=""/>
<input class="recherche flex-grow" type="text" value="{{options.recherche.text}}" name="recherche" size="8" data-dtype="String" placeholder="" data-tooltip="Rechercher dans l'équipement"/>
</span>
{{#if calc.surEncombrementMessage}}<b>{{calc.surEncombrementMessage}}</b> &hyphen;{{/if}}
Encombrement: {{numberFormat calc.encTotal decimals=2}} (max: {{system.attributs.encombrement.value}})