From 18be421ce550ca82df79b6c2dd5bc67501c4c321 Mon Sep 17 00:00:00 2001 From: sladecraven Date: Sun, 6 Sep 2020 14:11:59 +0200 Subject: [PATCH] Ajout gestion de la description --- styles/simple.css | 9 ++++++++- system.json | 2 +- templates/actor-sheet.html | 24 ++++++++++++++++++++++-- 3 files changed, 31 insertions(+), 4 deletions(-) diff --git a/styles/simple.css b/styles/simple.css index 8d52ceb7..2d89b296 100644 --- a/styles/simple.css +++ b/styles/simple.css @@ -333,7 +333,8 @@ button { font-weight: bold; flex-grow: 0; } -.competence-label { +.competence-label, +.description-label { flex-grow: 2; } .competence-value { @@ -342,6 +343,12 @@ button { margin-right: 4px; margin-left: 4px; } +.description-value { + flex-grow: 0; + flex-basis: 128px; + margin-right: 4px; + margin-left: 4px; +} .competence-xp { flex-grow: 0; flex-basis: 64px; diff --git a/system.json b/system.json index 7014f9d4..9d3460c5 100644 --- a/system.json +++ b/system.json @@ -2,7 +2,7 @@ "name": "foundryvtt-reve-de-dragon", "title": "Rêve de Dragon", "description": "Rêve de Dragon RPG for FoundryVTT", - "version": "0.9.2", + "version": "0.9.3", "minimumCoreVersion": "0.6.0", "compatibleCoreVersion": "0.6.2", "templateVersion": 28, diff --git a/templates/actor-sheet.html b/templates/actor-sheet.html index 73367b3f..7426996d 100644 --- a/templates/actor-sheet.html +++ b/templates/actor-sheet.html @@ -444,8 +444,28 @@ {{!-- Biography Tab --}}
-
- {{editor content=data.biographie target="data.biographie" button=true owner=owner editable=editable}} +
+
+
    +
  1. Sexe :
  2. +
  3. Poids :
  4. +
  5. Taille :
  6. +
  7. Cheveux :
  8. +
  9. Yeux :
  10. +
+
+
+
    +
  1. Age :
  2. +
  3. Heure de naissance :
  4. +
  5. Beauté :
  6. +
  7. Main directrice :
  8. +
+ +
+
+
+ {{editor content="data.biographie" target="data.biographie" button=true owner=owner editable=editable}}