From d5635b27fe2d78bd41d8fe90d77f530625bec206 Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Thu, 15 Dec 2022 22:40:23 +0100 Subject: [PATCH 1/6] Suppression du test --- templates/actor-sheet.html | 2 -- 1 file changed, 2 deletions(-) diff --git a/templates/actor-sheet.html b/templates/actor-sheet.html index e7b14889..5dc3dcf1 100644 --- a/templates/actor-sheet.html +++ b/templates/actor-sheet.html @@ -1,5 +1,4 @@
- {{>'systems/foundryvtt-reve-de-dragon/templates/scripts/autocomplete-script.hbs'}} {{!-- Sheet Header --}} @@ -35,7 +34,6 @@ {{!-- Carac Tab --}}
- TEST
{{>"systems/foundryvtt-reve-de-dragon/templates/actor/vue-detaillee.html"}}
From 467a4d53a422cbc0f63ed1bde67a058ac4f90391 Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Fri, 16 Dec 2022 01:22:09 +0100 Subject: [PATCH 2/6] =?UTF-8?q?S=C3=A9paration=20des=20boutons=20Haut-r?= =?UTF-8?q?=C3=AAve?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module/rdd-utility.js | 1 + styles/simple.css | 14 ++++++++++++++ templates/actor-sheet.html | 1 + templates/actor/header-buttons.html | 9 --------- templates/actor/header-hautreve.html | 13 +++++++++++++ 5 files changed, 29 insertions(+), 9 deletions(-) create mode 100644 templates/actor/header-hautreve.html diff --git a/module/rdd-utility.js b/module/rdd-utility.js index ecd8a843..59e9f7a3 100644 --- a/module/rdd-utility.js +++ b/module/rdd-utility.js @@ -126,6 +126,7 @@ export class RdDUtility { 'systems/foundryvtt-reve-de-dragon/templates/actor/header-compteurs-creature.html', 'systems/foundryvtt-reve-de-dragon/templates/actor/header-compteurs-entitee.html', 'systems/foundryvtt-reve-de-dragon/templates/actor/header-effects.html', + 'systems/foundryvtt-reve-de-dragon/templates/actor/header-hautreve.html', 'systems/foundryvtt-reve-de-dragon/templates/actor/vue-detaillee.html', 'systems/foundryvtt-reve-de-dragon/templates/actor/carac-main.html', 'systems/foundryvtt-reve-de-dragon/templates/actor/carac-derivee.html', diff --git a/styles/simple.css b/styles/simple.css index 92f7a11e..65e9d41b 100644 --- a/styles/simple.css +++ b/styles/simple.css @@ -160,6 +160,20 @@ i:is(.fas, .far) { width: fit-content; } +.system-foundryvtt-reve-de-dragon .sheet-header div.tmr-buttons { + padding: 0; + margin: 0; + flex: 0; + flex-direction: column; +} + +.system-foundryvtt-reve-de-dragon .sheet-header div.tmr-buttons img.button-img { + max-width: 32px; + padding: 0; + margin-top: -8px; + margin-bottom: -8px; +} + .system-foundryvtt-reve-de-dragon .sheet-header :is(.header-compteurs,.header-etats,.profile-img){ padding: 0 3%; } diff --git a/templates/actor-sheet.html b/templates/actor-sheet.html index 5dc3dcf1..a7243520 100644 --- a/templates/actor-sheet.html +++ b/templates/actor-sheet.html @@ -13,6 +13,7 @@ {{>"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"}}
diff --git a/templates/actor/header-buttons.html b/templates/actor/header-buttons.html index 2d418099..af6a9703 100644 --- a/templates/actor/header-buttons.html +++ b/templates/actor/header-buttons.html @@ -11,15 +11,6 @@ Se reposer - {{#if system.attributs.hautrevant.value}} - - Montée dans les Terres Médianes ! - - Montée accélérée dans les Terres Médianes ! - - Regarder les Terres Médianes - - {{/if}} {{#if @root.options.isGM}} Remise à neuf diff --git a/templates/actor/header-hautreve.html b/templates/actor/header-hautreve.html new file mode 100644 index 00000000..a4d12700 --- /dev/null +++ b/templates/actor/header-hautreve.html @@ -0,0 +1,13 @@ +{{#if system.attributs.hautrevant.value}} +
+ + Montée dans les Terres Médianes ! + + + Montée accélérée dans les Terres Médianes ! + + + Regarder les Terres Médianes + +
+{{/if}} From bb6bf3387e47a975d997502e4d98b01d8405b4a2 Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Fri, 16 Dec 2022 01:22:30 +0100 Subject: [PATCH 3/6] =?UTF-8?q?Malus=20fatigue=20indiqu=C3=A9=20sur=20la?= =?UTF-8?q?=20fatigue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/actor/header-compteurs.html | 2 +- templates/actor/header-etat.html | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/templates/actor/header-compteurs.html b/templates/actor/header-compteurs.html index 901dca9b..32c62b92 100644 --- a/templates/actor/header-compteurs.html +++ b/templates/actor/header-compteurs.html @@ -21,7 +21,7 @@