From dd4484c17b849e4ac65de8dbe4d065996dd175cb Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Mon, 28 Nov 2022 14:36:25 +0100 Subject: [PATCH] =?UTF-8?q?En-t=C3=AAte=20de=20feuille=20de=20personnage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Affichage des portraits plus grands Les boutons sont sur la ligne du nom du personnage Les états sont affichés sur une colonne --- module/actor-sheet.js | 2 +- module/rdd-utility.js | 3 +- styles/simple.css | 212 +++++++++++------- templates/actor-creature-sheet.html | 36 +-- templates/actor-entite-sheet.html | 22 +- templates/actor-sheet.html | 15 +- templates/actor/header-buttons.html | 2 +- .../actor/header-compteurs-creature.html | 51 +++-- templates/actor/header-compteurs-entitee.html | 28 ++- templates/actor/header-compteurs.html | 80 +++---- templates/actor/header-effects.html | 21 +- templates/actor/header-etat.html | 20 +- 12 files changed, 274 insertions(+), 218 deletions(-) diff --git a/module/actor-sheet.js b/module/actor-sheet.js index ca31444a..075c6d22 100644 --- a/module/actor-sheet.js +++ b/module/actor-sheet.js @@ -25,7 +25,7 @@ export class RdDActorSheet extends ActorSheet { return mergeObject(super.defaultOptions, { classes: ["rdd", "sheet", "actor"], template: "systems/foundryvtt-reve-de-dragon/templates/actor-sheet.html", - width: 640, + width: 550, tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "carac" }], dragDrop: [{ dragSelector: ".item-list .item", dropSelector: undefined }], showCompNiveauBase: false, diff --git a/module/rdd-utility.js b/module/rdd-utility.js index 38033330..2ec4e486 100644 --- a/module/rdd-utility.js +++ b/module/rdd-utility.js @@ -545,8 +545,7 @@ export class RdDUtility { if (!profondeur) profondeur = 1; objet.niveau = profondeur; const display = afficherContenu ? 'item-display-show' : 'item-display-hide'; - //console.log("ITEM DISPLAYED", objet ); - let strContenu = `