From 1208eb8ae1f7a6686e04ed8d7fae0b8aaec7ad7d Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Mon, 4 Dec 2023 01:21:05 +0100 Subject: [PATCH] =?UTF-8?q?Am=C3=A9lioration=20des=20tooltips?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - title/alt remplacés par des data-tooltip - description de ce que font les boutons - description des items survolés --- module/actor/base-actor-sang.js | 2 +- module/time/rdd-timestamp.js | 2 +- templates/actor-creature-sheet.html | 6 +++--- templates/actor-entite-sheet.html | 6 +++--- templates/actor-sheet.html | 16 +++++++-------- templates/actor-vehicule-sheet.html | 2 +- templates/actor/alchimie.html | 4 ++-- templates/actor/blessure.hbs | 10 +++++----- templates/actor/blessures.html | 6 +++--- templates/actor/carac-derivee.html | 12 +++++------ templates/actor/carac-main.html | 2 +- templates/actor/chirurgie.html | 19 +++++++++--------- templates/actor/combat.html | 19 ++++++++++-------- templates/actor/commerce-actor-sheet.html | 12 +++++------ templates/actor/commerce-inventaire-item.html | 12 +++++------ templates/actor/commerce-inventaire.html | 2 +- templates/actor/comp-creature.html | 6 +++--- templates/actor/comp-possession.html | 6 +++--- templates/actor/competence.html | 16 +++++++-------- templates/actor/dragon-queue.html | 9 +++++---- templates/actor/dragon-souffles.html | 6 +++--- templates/actor/dragon-tetes.html | 6 +++--- templates/actor/haut-revant.html | 5 +++-- templates/actor/header-buttons.html | 10 +++++----- .../actor/header-compteurs-creature.html | 4 ++-- templates/actor/header-compteurs.html | 6 +++--- templates/actor/header-effects.html | 2 +- templates/actor/header-hautreve.html | 12 ++++++----- templates/actor/hr-casestmr.html | 6 +++--- templates/actor/hr-meditations.html | 8 ++++---- templates/actor/hr-rencontres.html | 6 +++--- templates/actor/hr-signes-draconiques.html | 6 +++--- templates/actor/hr-sorts-reserve.html | 7 ++++--- templates/actor/hr-sorts.html | 7 ++++--- templates/actor/inventaire-item.html | 20 +++++++++---------- templates/actor/inventaire-monnaie.html | 6 +++--- templates/actor/inventaire.html | 6 +++--- templates/actor/jeux.html | 7 ++++--- templates/actor/liens-animaux.hbs | 6 +++--- templates/actor/liens-suivants.hbs | 8 ++++---- templates/actor/liens-vehicules.hbs | 4 ++-- templates/actor/maladies-poisons.html | 4 ++-- templates/actor/oeuvre.html | 6 +++--- templates/actor/possessions.html | 4 ++-- templates/actor/resonances.hbs | 4 ++-- templates/actor/taches.html | 8 ++++---- templates/actor/xp-journal.html | 4 ++-- templates/chat-achat-item.html | 2 +- .../chat-compendium-table-roll-rencontre.html | 2 +- templates/chat-compendium-table-roll.html | 2 +- templates/chat-compendium-table.html | 2 +- .../chat-consommer-potion-generique.html | 2 +- templates/chat-consommer-potion-repos.html | 2 +- templates/chat-consommer-potion-soin.html | 2 +- templates/chat-fabriquer-potion-base.html | 2 +- templates/chat-info-distance.html | 2 +- .../chat-potionenchantee-chateaudormant.html | 2 +- templates/chat-rencontre-tmr.html | 2 +- templates/chat-resultat-alchimie.html | 2 +- templates/chat-resultat-attaque.html | 6 +++--- templates/chat-resultat-chant.html | 2 +- templates/chat-resultat-competence.html | 2 +- templates/chat-resultat-danse.html | 2 +- templates/chat-resultat-encaissement.html | 2 +- templates/chat-resultat-esquive.html | 6 +++--- templates/chat-resultat-ethylisme.html | 2 +- templates/chat-resultat-general.html | 2 +- templates/chat-resultat-jeu.html | 2 +- ...chat-resultat-lecture-signedraconique.html | 2 +- templates/chat-resultat-maitrise-tmr.html | 2 +- templates/chat-resultat-meditation.html | 2 +- templates/chat-resultat-meteo.html | 2 +- templates/chat-resultat-musique.html | 2 +- templates/chat-resultat-oeuvre.html | 2 +- templates/chat-resultat-parade.html | 6 +++--- templates/chat-resultat-recettecuisine.html | 4 ++-- templates/chat-resultat-reve-de-dragon.html | 2 +- templates/chat-resultat-sort.html | 2 +- templates/chat-resultat-tache.html | 2 +- templates/chat-signe-draconique-actor.html | 2 +- .../chat-signe-draconique-resonance.html | 2 +- templates/chat-vente-item.html | 2 +- .../coeur/chat-accepter-tendre-moment.hbs | 6 +++--- .../coeur/chat-proposer-tendre-moment.hbs | 6 +++--- .../coeur/chat-refuser-tendre-moment.hbs | 6 +++--- templates/common/compendium-link.hbs | 2 +- templates/dialog-chronologie.html | 2 +- templates/dialog-item-achat.html | 10 +++++----- templates/dialog-item-consommer.html | 2 +- templates/dialog-item-split.html | 2 +- templates/dialog-item-vente.html | 2 +- templates/dialog-roll-alchimie.html | 2 +- templates/dialog-roll-chant.html | 2 +- templates/dialog-roll-competence.html | 4 ++-- templates/dialog-roll-danse.html | 2 +- templates/dialog-roll-defense-empoignade.html | 2 +- templates/dialog-roll-defense-possession.html | 2 +- templates/dialog-roll-ethylisme.html | 2 +- templates/dialog-roll-jeu.html | 2 +- templates/dialog-roll-maitrise-tmr.html | 2 +- templates/dialog-roll-meditation.html | 2 +- templates/dialog-roll-musique.html | 2 +- templates/dialog-roll-oeuvre.html | 2 +- templates/dialog-roll-recettecuisine.html | 2 +- templates/dialog-roll-reve-de-dragon.html | 2 +- templates/dialog-roll-signedraconique.html | 2 +- templates/dialog-roll-sort.html | 2 +- templates/dialog-select.html | 2 +- templates/dialog-validation-encaissement.html | 4 ++-- templates/header-item.html | 2 +- templates/hud-actor-attaque.html | 4 ++-- templates/hud-actor-init.html | 6 +++--- templates/hud-actor-soins.hbs | 4 ++-- templates/item-competence-sheet.html | 2 +- templates/item-extraitpoetique-sheet.html | 2 +- templates/item-faune-sheet.html | 4 ++-- templates/item-herbe-sheet.html | 2 +- templates/item-livre-sheet.html | 2 +- templates/item-maladie-sheet.html | 2 +- templates/item-oeuvre-sheet.html | 2 +- templates/item-plante-sheet.html | 2 +- templates/item-poison-sheet.html | 2 +- templates/item-potion-sheet.html | 2 +- templates/item-rencontre-sheet.html | 12 +++++------ templates/item-sheet.html | 2 +- templates/item-signedraconique-sheet.html | 2 +- templates/item-tarot-sheet.html | 2 +- templates/item/icon-arme-broken.hbs | 2 +- templates/item/partial-environnement.html | 2 +- templates/partial-roll-coeur.hbs | 2 +- templates/post-actor.html | 2 +- templates/post-item.html | 2 +- templates/roll/explain.hbs | 2 +- templates/settings/status-effects.html | 2 +- templates/sommeil/astrologie-gardien.hbs | 2 +- templates/sommeil/dialog-chateau-dormant.hbs | 2 +- templates/sommeil/dialog-repos.html | 2 +- templates/time/calendar.hbs | 20 +++++++++---------- templates/time/horloge.hbs | 8 ++++---- 139 files changed, 311 insertions(+), 302 deletions(-) diff --git a/module/actor/base-actor-sang.js b/module/actor/base-actor-sang.js index 262ee13e..88eacabf 100644 --- a/module/actor/base-actor-sang.js +++ b/module/actor/base-actor-sang.js @@ -189,7 +189,7 @@ export class RdDBaseActorSang extends RdDBaseActorReve { this.setEffect(STATUSES.StatusComma, true); encaissement.mort = true; ChatMessage.create({ - content: `charge + content: ` ${this.name} vient de succomber à une seconde blessure critique ! Que les Dragons gardent son Archétype en paix !` }); } diff --git a/module/time/rdd-timestamp.js b/module/time/rdd-timestamp.js index b7dd7a88..ad6f1948 100644 --- a/module/time/rdd-timestamp.js +++ b/module/time/rdd-timestamp.js @@ -115,7 +115,7 @@ export class RdDTimestamp { } static imgSigne(signe) { - return signe == undefined ? '' : `${signe.label}` + return signe == undefined ? '' : `` } static ajustementAstrologiqueHeure(hn, nbAstral, heure) { diff --git a/templates/actor-creature-sheet.html b/templates/actor-creature-sheet.html index 6995640c..2b63d62c 100644 --- a/templates/actor-creature-sheet.html +++ b/templates/actor-creature-sheet.html @@ -4,14 +4,14 @@
- +

- Encaisser des dommages + {{#if @root.options.isGM}} - Remise à neuf + {{/if}}
diff --git a/templates/actor-entite-sheet.html b/templates/actor-entite-sheet.html index fe6c1018..93d93e88 100644 --- a/templates/actor-entite-sheet.html +++ b/templates/actor-entite-sheet.html @@ -4,14 +4,14 @@
- +

- Encaisser des dommages + {{#if @root.options.isGM}} - Remise à neuf + {{/if}}
diff --git a/templates/actor-sheet.html b/templates/actor-sheet.html index 71c34d2d..7c35256e 100644 --- a/templates/actor-sheet.html +++ b/templates/actor-sheet.html @@ -10,7 +10,7 @@ {{>"systems/foundryvtt-reve-de-dragon/templates/actor/header-buttons.html"}}
- + {{>"systems/foundryvtt-reve-de-dragon/templates/actor/header-compteurs.html"}} {{>"systems/foundryvtt-reve-de-dragon/templates/actor/header-etat.html"}} {{>"systems/foundryvtt-reve-de-dragon/templates/actor/header-hautreve.html"}} @@ -22,14 +22,14 @@ {{!-- Sheet Tab Navigation --}} {{!-- Sheet Body --}} diff --git a/templates/actor-vehicule-sheet.html b/templates/actor-vehicule-sheet.html index ea6527f4..66d1a4e2 100644 --- a/templates/actor-vehicule-sheet.html +++ b/templates/actor-vehicule-sheet.html @@ -4,7 +4,7 @@
- +

diff --git a/templates/actor/alchimie.html b/templates/actor/alchimie.html index 87226fe0..9b8741ac 100644 --- a/templates/actor/alchimie.html +++ b/templates/actor/alchimie.html @@ -4,8 +4,8 @@ {{#each (trier recettesAlchimiques) as |recette id|}}
  • {{recette.name}}
    - - + +
  • {{/each}} diff --git a/templates/actor/blessure.hbs b/templates/actor/blessure.hbs index 4dd54b07..9e801614 100644 --- a/templates/actor/blessure.hbs +++ b/templates/actor/blessure.hbs @@ -1,7 +1,7 @@ -
  • +
  • - {{system.label}} {{#if (gt system.gravite 6)}} @@ -34,8 +34,8 @@ {{#if system.localisation}}{{system.localisation}}{{/if}} - - - + + +
  • diff --git a/templates/actor/blessures.html b/templates/actor/blessures.html index 910b2480..f7506ca2 100644 --- a/templates/actor/blessures.html +++ b/templates/actor/blessures.html @@ -1,8 +1,8 @@

    blessures

      diff --git a/templates/actor/carac-derivee.html b/templates/actor/carac-derivee.html index 0e08859e..a7123b13 100644 --- a/templates/actor/carac-derivee.html +++ b/templates/actor/carac-derivee.html @@ -7,7 +7,7 @@
    • @@ -15,9 +15,9 @@ @@ -29,7 +29,7 @@
    • - +
    • @@ -52,7 +52,7 @@
    • -
    • +
    • @@ -68,10 +68,10 @@
      - + {{#unless @root.disabled}} - - + + {{/unless}}
    • diff --git a/templates/actor/commerce-inventaire-item.html b/templates/actor/commerce-inventaire-item.html index 5a8683ce..7679d591 100644 --- a/templates/actor/commerce-inventaire-item.html +++ b/templates/actor/commerce-inventaire-item.html @@ -9,7 +9,7 @@ {{else}}far fa-plus-square {{/if~}}"> {{/if}} - + {{item.name}} @@ -41,19 +41,19 @@ {{#if options.isOwner}} - + {{#unless (and (eq item.type 'conteneur') (not vide))}} - + {{#if (or item.parent.system.illimite (ne item.system.quantite 0))}} - + {{/if}} {{/unless}} {{/if}} {{#unless (and (eq item.type 'conteneur') (not vide))}} {{#if (or item.parent.system.illimite (gt item.system.quantite 0))}} - + {{/if}} - + {{/unless}} diff --git a/templates/actor/commerce-inventaire.html b/templates/actor/commerce-inventaire.html index 87529b9d..980c1044 100644 --- a/templates/actor/commerce-inventaire.html +++ b/templates/actor/commerce-inventaire.html @@ -1,7 +1,7 @@

      Boutique

      {{#if options.isGM}} - Nouvel objet + Nouvel objet Tout vider {{/if}} diff --git a/templates/actor/comp-creature.html b/templates/actor/comp-creature.html index 98d1ed8d..a51f4b3f 100644 --- a/templates/actor/comp-creature.html +++ b/templates/actor/comp-creature.html @@ -2,7 +2,7 @@ {{#each (trier competences) as |comp key|}}
    • - + {{comp.name}} @@ -23,8 +23,8 @@ /> {{#if @root.options.vueDetaillee}}
      - - + +
      {{/if}}
    • diff --git a/templates/actor/comp-possession.html b/templates/actor/comp-possession.html index 0464b1df..69382805 100644 --- a/templates/actor/comp-possession.html +++ b/templates/actor/comp-possession.html @@ -3,11 +3,11 @@
        {{#each possessions as |possession key|}}
      1. - + {{possession.name}}
        - - + +
      2. {{/each}} diff --git a/templates/actor/competence.html b/templates/actor/competence.html index 5b204d95..a90045f8 100644 --- a/templates/actor/competence.html +++ b/templates/actor/competence.html @@ -1,5 +1,5 @@ {{#unless system.isHidden}} -
      3. +
      4. {{name}} @@ -7,7 +7,7 @@ {{#if system.isLevelUp}} Vous pouvez dépenser {{system.xpNext}} points d'Experience pour augmenter de 1 votre compétence {{name}} - + {{/if}} @@ -19,7 +19,7 @@ {{#if @root.options.vueDetaillee}} {{#unless system.isLevelUp}} Vous devez acquérir {{system.xpNext}} points d'Experience pour augmenter de 1 votre compétence {{name}} @@ -28,25 +28,25 @@ {{/if}} {{#if (eq system.categorie 'draconic')}} {{/if}} {{#if @root.options.vueDetaillee}} {{/if}} diff --git a/templates/actor/dragon-queue.html b/templates/actor/dragon-queue.html index 889a752e..5bf3ad82 100644 --- a/templates/actor/dragon-queue.html +++ b/templates/actor/dragon-queue.html @@ -1,13 +1,14 @@ -
      5. - +
      6. + {{#if (eq queue.type 'ombre')}} - + {{/if}} {{queue.name}}
        - + {{#if queue.system.refoulement}} Refouler {{/if}} diff --git a/templates/actor/dragon-souffles.html b/templates/actor/dragon-souffles.html index 4671b429..7b8ac6f6 100644 --- a/templates/actor/dragon-souffles.html +++ b/templates/actor/dragon-souffles.html @@ -2,11 +2,11 @@

        Souffles

          {{#each souffles as |souffle key|}} -
        • - +
        • + {{souffle.name}}
          - +
        • {{/each}} diff --git a/templates/actor/dragon-tetes.html b/templates/actor/dragon-tetes.html index 28785008..af43979c 100644 --- a/templates/actor/dragon-tetes.html +++ b/templates/actor/dragon-tetes.html @@ -2,11 +2,11 @@

          Tetes

            {{#each tetes as |tete key|}} -
          • - +
          • + {{tete.name}}
            - +
          • {{/each}} diff --git a/templates/actor/haut-revant.html b/templates/actor/haut-revant.html index a2419446..604fca15 100644 --- a/templates/actor/haut-revant.html +++ b/templates/actor/haut-revant.html @@ -1,10 +1,11 @@ {{#if options.isGM}}
          • - Ré-insertion aléatoire + Ré-insertion aléatoire - {{#if hautreve.cacheTMR}}Montrer les TMR{{else}}Cacher les TMR{{/if}} + {{#if hautreve.cacheTMR}}Montrer les TMR{{else}}Cacher les TMR{{/if}}
          • {{/if}} diff --git a/templates/actor/header-buttons.html b/templates/actor/header-buttons.html index af6a9703..36d59535 100644 --- a/templates/actor/header-buttons.html +++ b/templates/actor/header-buttons.html @@ -1,19 +1,19 @@
            - Appel à la chance + - Encaisser des dommages + - Boire + - Se reposer + {{#if @root.options.isGM}} - Remise à neuf + {{/if}}
            diff --git a/templates/actor/header-compteurs-creature.html b/templates/actor/header-compteurs-creature.html index 4e90ad78..d896c8c4 100644 --- a/templates/actor/header-compteurs-creature.html +++ b/templates/actor/header-compteurs-creature.html @@ -2,7 +2,7 @@