From 31c5be26a3849a0cbd1c1affb49839fee270b3c0 Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Wed, 21 Apr 2021 18:58:50 +0200 Subject: [PATCH] Rework maitrise tmr --- module/rdd-tmr-dialog.js | 2 +- templates/dialog-roll-maitrise-tmr.html | 50 ++++++++++++------------- 2 files changed, 25 insertions(+), 27 deletions(-) diff --git a/module/rdd-tmr-dialog.js b/module/rdd-tmr-dialog.js index 7c9d6a21..cd0b9347 100644 --- a/module/rdd-tmr-dialog.js +++ b/module/rdd-tmr-dialog.js @@ -655,7 +655,7 @@ export class RdDTMRDialog extends Dialog { const dialog = await RdDRoll.create(this.actor, rollData, { html: 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-maitrise-tmr.html', - options: { height: 350 }, + options: { height: 420 }, close: html => { this.maximize(); } // Re-display TMR }, { diff --git a/templates/dialog-roll-maitrise-tmr.html b/templates/dialog-roll-maitrise-tmr.html index 905ea1ec..feef2c21 100644 --- a/templates/dialog-roll-maitrise-tmr.html +++ b/templates/dialog-roll-maitrise-tmr.html @@ -1,28 +1,26 @@
-
- - - +

Maîtrise {{tmr.label}} ({{tmr.coord}})

+
+
+ {{competence.name}} +
+ + +
+
+
+
+ + +
+ {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffCondition.html"}} +
+
+
- - -
-
- {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-surenc.html"}} -
-
-
-
-
-
-
- - - \ No newline at end of file +
+
+ + + \ No newline at end of file