Ajustement champs description
This commit is contained in:
parent
6af6e41bc9
commit
ddc37c6969
@ -572,22 +572,32 @@ input:is(.blessure-premiers_soins, .blessure-soins_complets) {
|
||||
flex-grow: 3;
|
||||
}
|
||||
|
||||
|
||||
.editor.prosemirror {
|
||||
height: fit-content;
|
||||
min-height: 20rem;
|
||||
}
|
||||
.large-editor {
|
||||
border: 2;
|
||||
height: fit-content;
|
||||
min-height: 12rem;
|
||||
padding: 0 3px;
|
||||
}
|
||||
.editor {
|
||||
border: 2;
|
||||
height: 10rem;
|
||||
height: fit-content;
|
||||
min-height: 8rem;
|
||||
padding: 0 3px;
|
||||
}
|
||||
|
||||
.medium-editor {
|
||||
border: 2;
|
||||
height: 240px;
|
||||
min-height: 8rem;
|
||||
padding: 0 3px;
|
||||
}
|
||||
|
||||
.small-editor {
|
||||
border: 2;
|
||||
height: 150px;
|
||||
min-height: 4rem;
|
||||
padding: 0 3px;
|
||||
}
|
||||
|
||||
|
@ -63,17 +63,10 @@
|
||||
{{> "systems/foundryvtt-reve-de-dragon/templates/actor/inventaire.html"}}
|
||||
</div>
|
||||
|
||||
{{!-- Biography Tab --}}
|
||||
{{!-- Description Tab --}}
|
||||
<div class="tab description" data-group="primary" data-tab="description">
|
||||
|
||||
<div class="form-group">
|
||||
<span class="item-name"><h4>Race</h4></span>
|
||||
<input type="text" name="system.race" value="{{system.race}}" data-dtype="String" />
|
||||
</div>
|
||||
|
||||
<div class="form-group editor">
|
||||
<span class="item-name"><h4>Description</h4>
|
||||
{{editor description target="system.description" button=true owner=owner editable=true}}
|
||||
<div class="form-group large-editor">
|
||||
{{editor description target="system.description" button=true owner=owner editable=editable engine="prosemirror"}}
|
||||
</div>
|
||||
|
||||
{{>"systems/foundryvtt-reve-de-dragon/templates/actor/editor-notes-mj.html"}}
|
||||
|
@ -43,8 +43,8 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group editor">
|
||||
{{editor description target="system.description" button=true owner=owner editable=true}}
|
||||
<div class="form-group large-editor">
|
||||
{{editor description target="system.description" button=true owner=owner editable=editable engine="prosemirror"}}
|
||||
</div>
|
||||
{{>"systems/foundryvtt-reve-de-dragon/templates/actor/editor-notes-mj.html"}}
|
||||
|
||||
|
@ -180,12 +180,12 @@
|
||||
|
||||
<article class="flexcol">
|
||||
<h3>Biographie : </h3>
|
||||
<div class="form-group editor">
|
||||
{{editor biographie target="system.biographie" button=true owner=owner editable=editable}}
|
||||
<div class="form-group large-editor">
|
||||
{{editor biographie target="system.biographie" button=true owner=owner editable=true engine="prosemirror"}}
|
||||
</div>
|
||||
<h3>Notes : </h3>
|
||||
<div class="form-group editor">
|
||||
{{editor notes target="system.notes" button=true owner=owner editable=editable}}
|
||||
<div class="form-group large-editor">
|
||||
{{editor notes target="system.notes" button=true owner=owner editable=true engine="prosemirror"}}
|
||||
</div>
|
||||
{{> "systems/foundryvtt-reve-de-dragon/templates/actor/xp-journal.html"}}
|
||||
{{> "systems/foundryvtt-reve-de-dragon/templates/actor/editor-notes-mj.html"}}
|
||||
|
@ -83,8 +83,8 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group editor">
|
||||
{{editor description target="system.description" button=true owner=owner editable=editable}}
|
||||
<div class="form-group large-editor">
|
||||
{{editor description target="system.description" button=true owner=owner editable=true engine="prosemirror"}}
|
||||
</div>
|
||||
{{>"systems/foundryvtt-reve-de-dragon/templates/actor/editor-notes-mj.html"}}
|
||||
</div>
|
||||
|
@ -1,6 +1,6 @@
|
||||
{{#if options.isGM}}
|
||||
<h3>Notes du MJ : </h3>
|
||||
<div class="form-group editor">
|
||||
{{editor notesmj target="system.notesmj" button=true owner=owner editable=editable}}
|
||||
<div class="form-group large-editor">
|
||||
{{editor notesmj target="system.notesmj" button=true owner=owner editable=true engine="prosemirror"}}
|
||||
</div>
|
||||
{{/if}}
|
||||
|
@ -1,5 +1,5 @@
|
||||
<h3>Journal d'Experience</h3>
|
||||
<div class="form-group editor">
|
||||
<div class="form-group large-editor">
|
||||
<ul class="item-list alterne-list">
|
||||
{{#each system.experiencelog as |xp key|}}
|
||||
<li class="experiencelog flexrow list-item" data-key="{{key}}">
|
||||
|
@ -11,14 +11,14 @@
|
||||
<section class="sheet-body">
|
||||
<div class="flexcol">
|
||||
<label>Extrait</label>
|
||||
<div class="form-group editor">
|
||||
{{editor extrait target="system.extrait" button=true owner=owner editable=editable}}
|
||||
<div class="form-group large-editor">
|
||||
{{editor extrait target="system.extrait" button=true owner=owner editable=true engine="prosemirror"}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="flexcol">
|
||||
<label>Texte complet</label>
|
||||
<div class="form-group editor">
|
||||
{{editor texte target="system.texte" button=true owner=owner editable=editable}}
|
||||
<div class="form-group large-editor">
|
||||
{{editor texte target="system.texte" button=true owner=owner editable=true engine="prosemirror"}}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
@ -9,25 +9,25 @@
|
||||
<div class="flexcol">
|
||||
<span><label class="alchimie-title">Manipulation : </label></span>
|
||||
<div class="form-group medium-editor">
|
||||
{{editor manipulation_update target="system.manipulation" button=true owner=owner editable=editable}}
|
||||
{{editor manipulation_update target="system.manipulation" button=true owner=owner editable=true engine="prosemirror"}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="flexcol">
|
||||
<span><label class="alchimie-title">Utilisation : </label></span>
|
||||
<div class="form-group small-editor">
|
||||
{{editor utilisation target="system.utilisation" button=true owner=owner editable=editable}}
|
||||
{{editor utilisation target="system.utilisation" button=true owner=owner editable=true engine="prosemirror"}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="flexcol">
|
||||
<span><label class="alchimie-title">Enchantement : </label></span>
|
||||
<div class="form-group small-editor">
|
||||
{{editor enchantement target="system.enchantement" button=true owner=owner editable=editable}}
|
||||
{{editor enchantement target="system.enchantement" button=true owner=owner editable=true engine="prosemirror"}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="flexcol">
|
||||
<span><label class="alchimie-title">Sur-effet : </label></span>
|
||||
<div class="form-group small-editor">
|
||||
{{editor sureffet target="system.sureffet" button=true owner=owner editable=editable}}
|
||||
{{editor sureffet target="system.sureffet" button=true owner=owner editable=true engine="prosemirror"}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -24,8 +24,8 @@
|
||||
</div>
|
||||
<div class="flexcol">
|
||||
<span><label>Ingrédients : </label></span>
|
||||
<div class="form-group editor">
|
||||
{{editor ingredients target="system.ingredients" button=true owner=owner editable=editable}}
|
||||
<div class="form-group large-editor">
|
||||
{{editor ingredients target="system.ingredients" button=true owner=owner editable=true engine="prosemirror"}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -111,8 +111,8 @@
|
||||
</div>
|
||||
<div class="flexcol">
|
||||
<label for="system.succes.poesie">Poésie</label>
|
||||
<div class="form-group editor">
|
||||
{{editor system.succes.poesie target="system.succes.poesie" button=true owner=owner editable=editable}}
|
||||
<div class="form-group large-editor">
|
||||
{{editor system.succes.poesie target="system.succes.poesie" button=true owner=owner editable=true engine="prosemirror"}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -156,8 +156,8 @@
|
||||
</div>
|
||||
<div class="flexcol">
|
||||
<label for="system.echec.poesie">Poésie</label>
|
||||
<div class="form-group editor">
|
||||
{{editor system.echec.poesie target="system.echec.poesie" button=true owner=owner editable=editable}}
|
||||
<div class="form-group large-editor">
|
||||
{{editor system.echec.poesie target="system.echec.poesie" button=true owner=owner editable=true engine="prosemirror"}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,14 +1,14 @@
|
||||
<div class="flexcol">
|
||||
<span><label>Description : </label></span>
|
||||
<div class="form-group editor">
|
||||
{{editor description target="system.description" button=true owner=owner editable=editable}}
|
||||
<div class="form-group large-editor">
|
||||
{{editor description target="system.description" button=true owner=owner editable=true engine="prosemirror"}}
|
||||
</div>
|
||||
</div>
|
||||
{{#if isGM}}
|
||||
<div class="flexcol">
|
||||
<span><label>Description (MJ seulement): </label></span>
|
||||
<div class="form-group editor">
|
||||
{{editor descriptionmj target="system.descriptionmj" button=true owner=owner editable=editable}}
|
||||
<div class="form-group large-editor">
|
||||
{{editor descriptionmj target="system.descriptionmj" button=true owner=owner editable=true engine="prosemirror"}}
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
Loading…
Reference in New Issue
Block a user