Fix: labels for / id

- Ajout de "for" sur labels
- suppression d'id inutiles
- corrections de for="xp" incorrects
- simplification css alchimie-title/blessure-title
This commit is contained in:
Vincent Vandemeulebrouck 2024-03-10 00:10:45 +01:00
parent 6414f76d67
commit b0e28ef937
23 changed files with 80 additions and 85 deletions

View File

@ -1315,10 +1315,7 @@ div.competence-column div.categorie-competence{
margin-right: 0.2rem; margin-right: 0.2rem;
margin-left: 0.2rem; margin-left: 0.2rem;
} }
.blessures-title { .item-label {
font-weight: bold;
}
.alchimie-title {
font-weight: bold; font-weight: bold;
} }
.pointsreve-value { .pointsreve-value {

View File

@ -1,5 +1,5 @@
{{#if maladiesPoisons.length}} {{#if maladiesPoisons.length}}
<h3 class="blessures-title">Maladies & Poisons:</h3> <h3 class="item-label">Maladies & Poisons:</h3>
<ul class="item-list alterne-list"> <ul class="item-list alterne-list">
<li class="competence-header flexrow"> <li class="competence-header flexrow">
<span class="competence-title flex-grow competence-label">Nom</span> <span class="competence-title flex-grow competence-label">Nom</span>

View File

@ -1,6 +1,6 @@
{{#if possessions.length}} {{#if possessions.length}}
{{!-- Possession --}} {{!-- Possession --}}
<h3 class="blessures-title">Possession:</h3> <h3 class="item-label">Possession:</h3>
<ul class="item-list alterne-list"> <ul class="item-list alterne-list">
<li class="competence-header flexrow"> <li class="competence-header flexrow">
<span class="competence-title flex-grow competence-label">Nom</span> <span class="competence-title flex-grow competence-label">Nom</span>

View File

@ -8,7 +8,7 @@
<div class="tab items flexcol" data-group="primary" data-tab="informations"> <div class="tab items flexcol" data-group="primary" data-tab="informations">
<div class="form-group"> <div class="form-group">
<label for="system.competence">Compétence de mêlée</label> <label for="system.competence">Compétence de mêlée</label>
<select name="system.competence" id="competence" data-dtype="String"> <select name="system.competence" data-dtype="String">
{{#select system.competence}} {{#select system.competence}}
<option value="">- impossible -</option> <option value="">- impossible -</option>
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-competence.html" categorie='melee'}} {{>"systems/foundryvtt-reve-de-dragon/templates/enum-competence.html" categorie='melee'}}
@ -26,7 +26,7 @@
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="system.tir">Compétence de tir</label> <label for="system.tir">Compétence de tir</label>
<select name="system.tir" id="tir" data-dtype="String"> <select name="system.tir" data-dtype="String">
{{#select system.tir}} {{#select system.tir}}
<option value="">- impossible -</option> <option value="">- impossible -</option>
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-competence.html" categorie='tir'}} {{>"systems/foundryvtt-reve-de-dragon/templates/enum-competence.html" categorie='tir'}}
@ -52,7 +52,7 @@
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="system.categorie_parade">Catégorie parade </label> <label for="system.categorie_parade">Catégorie parade </label>
<select name="system.categorie_parade" id="categorie_parade" data-dtype="String"> <select name="system.categorie_parade" data-dtype="String">
{{#select system.categorie_parade}} {{#select system.categorie_parade}}
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-categorie-parade.html"}} {{>"systems/foundryvtt-reve-de-dragon/templates/enum-categorie-parade.html"}}
{{/select}} {{/select}}
@ -104,7 +104,7 @@
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="system.initpremierround">Classe d'initiative au premier round (mêlée seulement) </label> <label for="system.initpremierround">Classe d'initiative au premier round (mêlée seulement) </label>
<select name="system.initpremierround" id="initpremierround" data-dtype="String"> <select name="system.initpremierround" data-dtype="String">
{{#select system.initpremierround}} {{#select system.initpremierround}}
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-initpremierround.html"}} {{>"systems/foundryvtt-reve-de-dragon/templates/enum-initpremierround.html"}}
{{/select}} {{/select}}

View File

@ -7,8 +7,8 @@
<input class="attribute-value" type="text" name="system.coord" value="{{system.coord}}" data-dtype="String"/> <input class="attribute-value" type="text" name="system.coord" value="{{system.coord}}" data-dtype="String"/>
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="niveau">Mode spécifique</label> <label for="system.specific">Mode spécifique</label>
<select name="system.specific" id="specific" data-dtype="String"> <select name="system.specific" data-dtype="String">
{{#select system.specific}} {{#select system.specific}}
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-tmr-effet.html"}} {{>"systems/foundryvtt-reve-de-dragon/templates/enum-tmr-effet.html"}}
{{/select}} {{/select}}

View File

@ -3,11 +3,11 @@
{{!-- Sheet Body --}} {{!-- Sheet Body --}}
<section class="sheet-body"> <section class="sheet-body">
<div class="form-group"> <div class="form-group">
<label class="alchimie-title" for="xp">Niveau</label> <label class="item-label" for="system.niveau">Niveau</label>
<input class="attribute-value" type="text" name="system.niveau" value="{{system.niveau}}" data-dtype="Number"/> <input class="attribute-value" type="text" name="system.niveau" value="{{system.niveau}}" data-dtype="Number"/>
</div> </div>
<div class="form-group"> <div class="form-group">
<label>Référence / Auteur</label> <label for="system.reference">Référence / Auteur</label>
<input class="attribute-value" type="text" name="system.reference" value="{{system.reference}}" data-dtype="String"/> <input class="attribute-value" type="text" name="system.reference" value="{{system.reference}}" data-dtype="String"/>
</div> </div>

View File

@ -38,8 +38,8 @@
{{/if}} {{/if}}
{{#if isparade}} {{#if isparade}}
<div class="form-group"> <div class="form-group">
<label>Catégorie parade</label> <label for="system.categorie_parade">Catégorie parade</label>
<select name="system.categorie_parade" id="categorie_parade" data-dtype="String"> <select name="system.categorie_parade" data-dtype="String">
{{#select system.categorie_parade}} {{#select system.categorie_parade}}
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-categorie-parade.html"}} {{>"systems/foundryvtt-reve-de-dragon/templates/enum-categorie-parade.html"}}
{{/select}} {{/select}}

View File

@ -9,7 +9,7 @@
<section class="sheet-body"> <section class="sheet-body">
<div class="tab items flexcol" data-group="primary" data-tab="informations"> <div class="tab items flexcol" data-group="primary" data-tab="informations">
<div class="form-group"> <div class="form-group">
<label for="xp">Capacite (points d'Enc.)</label> <label for="system.capacite">Capacite (points d'Enc.)</label>
<input class="attribute-value" type="text" name="system.capacite" value="{{system.capacite}}" data-dtype="Number"/> <input class="attribute-value" type="text" name="system.capacite" value="{{system.capacite}}" data-dtype="Number"/>
</div> </div>
{{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-inventaire.html"}} {{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-inventaire.html"}}

View File

@ -3,7 +3,7 @@
{{!-- Sheet Body --}} {{!-- Sheet Body --}}
<section class="sheet-body"> <section class="sheet-body">
<div class="form-group"> <div class="form-group">
<label class="alchimie-title" for="xp">Type</label> <label class="item-label" for="system.type">Type</label>
<select name="system.type" data-dtype="String"> <select name="system.type" data-dtype="String">
{{#select system.type}} {{#select system.type}}
<option value="recreative">Récréative</option> <option value="recreative">Récréative</option>
@ -12,19 +12,19 @@
</select> </select>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="alchimie-title" for="xp">Agilité ?</label> <label class="item-label" for="system.agilite">Agilité ?</label>
<input class="attribute-value" type="checkbox" name="system.agilite" {{#if system.agilite}}checked{{/if}}/> <input class="attribute-value" type="checkbox" name="system.agilite" {{#if system.agilite}}checked{{/if}}/>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="alchimie-title" for="xp">Apparence ?</label> <label class="item-label" for="system.apparence">Apparence ?</label>
<input class="attribute-value" type="checkbox" name="system.apparence" {{#if system.apparence}}checked{{/if}}/> <input class="attribute-value" type="checkbox" name="system.apparence" {{#if system.apparence}}checked{{/if}}/>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="alchimie-title" for="xp">Niveau</label> <label class="item-label" for="system.niveau">Niveau</label>
<input class="attribute-value" type="text" name="system.niveau" value="{{system.niveau}}" data-dtype="Number"/> <input class="attribute-value" type="text" name="system.niveau" value="{{system.niveau}}" data-dtype="Number"/>
</div> </div>
<div class="form-group"> <div class="form-group">
<label>Référence / Auteur</label> <label for="system.reference">Référence / Auteur</label>
<input class="attribute-value" type="text" name="system.reference" value="{{system.reference}}" data-dtype="String"/> <input class="attribute-value" type="text" name="system.reference" value="{{system.reference}}" data-dtype="String"/>
</div> </div>

View File

@ -3,7 +3,7 @@
{{!-- Sheet Body --}} {{!-- Sheet Body --}}
<section class="sheet-body"> <section class="sheet-body">
<div class="form-group"> <div class="form-group">
<label for="xp">Points d'Empoignade </label> <label for="system.pointsemp">Points d'Empoignade </label>
<input class="attribute-value" type="text" name="system.pointsemp" value="{{system.pointsemp}}" data-dtype="Number"/> <input class="attribute-value" type="text" name="system.pointsemp" value="{{system.pointsemp}}" data-dtype="Number"/>
</div> </div>
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}} {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}

View File

@ -7,8 +7,8 @@
<section class="sheet-body"> <section class="sheet-body">
<div class="tab items flexcol" data-group="primary" data-tab="informations"> <div class="tab items flexcol" data-group="primary" data-tab="informations">
<div class="form-group"> <div class="form-group">
<label>Type</label> <label for="system.type">Type</label>
<select name="system.type" id="type" data-dtype="String"> <select name="system.type" data-dtype="String">
{{#select system.type}} {{#select system.type}}
{{{gemmeTypeList}}} {{{gemmeTypeList}}}
{{/select}} {{/select}}

View File

@ -4,7 +4,7 @@
{{!-- Sheet Body --}} {{!-- Sheet Body --}}
<section class="sheet-body"> <section class="sheet-body">
<div class="form-group"> <div class="form-group">
<label class="alchimie-title" for="xp">Type</label> <label class="item-label" for="system.type">Type</label>
<select name="system.type" data-dtype="String"> <select name="system.type" data-dtype="String">
{{#select system.type}} {{#select system.type}}
<option value="adressehasard">Adresse/Hasard</option> <option value="adressehasard">Adresse/Hasard</option>
@ -15,15 +15,15 @@
</select> </select>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="alchimie-title" for="xp">Base</label> <label class="item-label" for="system.base">Base</label>
<input class="attribute-value" type="text" name="system.base" value="{{system.base}}" data-dtype="Number"/> <input class="attribute-value" type="text" name="system.base" value="{{system.base}}" data-dtype="Number"/>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="alchimie-title" for="xp">Caractéristique/Compétence</label> <label class="item-label" for="system.caraccomp">Caractéristique/Compétence</label>
<input class="attribute-value" type="text" name="system.caraccomp" value="{{system.caraccomp}}" data-dtype="String"/> <input class="attribute-value" type="text" name="system.caraccomp" value="{{system.caraccomp}}" data-dtype="String"/>
</div> </div>
<div class="form-group"> <div class="form-group">
<label>Référence / Auteur</label> <label for="system.reference">Référence / Auteur</label>
<input class="attribute-value" type="text" name="system.reference" value="{{system.reference}}" data-dtype="String"/> <input class="attribute-value" type="text" name="system.reference" value="{{system.reference}}" data-dtype="String"/>
</div> </div>

View File

@ -5,7 +5,7 @@
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1> <h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
{{#if options.isOwned}} {{#if options.isOwned}}
<div class="form-group"> <div class="form-group">
<span for="xp"><a class="creer-tache-livre chat-card-button" data-actor-id="{{actorId}}">Créer une tâche de lecture</a></span> <span><a class="creer-tache-livre chat-card-button" data-actor-id="{{actorId}}">Créer une tâche de lecture</a></span>
</div> </div>
{{/if}} {{/if}}
</div> </div>
@ -18,35 +18,35 @@
<div class="tab items flexcol" data-group="primary" data-tab="informations"> <div class="tab items flexcol" data-group="primary" data-tab="informations">
<div class="form-group"> <div class="form-group">
<label for="xp">Auteur</label> <label for="system.auteur">Auteur</label>
<input class="attribute-value" type="text" name="system.auteur" value="{{system.auteur}}" data-dtype="String"/> <input class="attribute-value" type="text" name="system.auteur" value="{{system.auteur}}" data-dtype="String"/>
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="xp">Compétence</label> <label for="system.competence">Compétence</label>
<select name="system.competence" id="competenceselect" data-dtype="String"> <select name="system.competence" data-dtype="String">
{{#select system.competence}} {{#select system.competence}}
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-competence.html"}} {{>"systems/foundryvtt-reve-de-dragon/templates/enum-competence.html"}}
{{/select}} {{/select}}
</select> </select>
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="xp">Difficulté</label> <label for="system.difficulte">Difficulté</label>
<input class="attribute-value" type="number" name="system.difficulte" value="{{system.difficulte}}" data-dtype="Number"/> <input class="attribute-value" type="number" name="system.difficulte" value="{{system.difficulte}}" data-dtype="Number"/>
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="xp">Points de tâches</label> <label for="system.points_de_tache">Points de tâches</label>
<input class="attribute-value" type="number" name="system.points_de_tache" value="{{system.points_de_tache}}" data-dtype="Number"/> <input class="attribute-value" type="number" name="system.points_de_tache" value="{{system.points_de_tache}}" data-dtype="Number"/>
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="xp">Expérience</label> <label for="system.xp">Expérience</label>
<input class="attribute-value" type="number" name="system.xp" value="{{system.xp}}" data-dtype="Number"/> <input class="attribute-value" type="number" name="system.xp" value="{{system.xp}}" data-dtype="Number"/>
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="xp">Niveau minimum</label> <label for="system.niveau_minimum">Niveau minimum</label>
<input class="attribute-value" type="text" name="system.niveau_minimum" value="{{system.niveau_minimum}}" data-dtype="Number"/> <input class="attribute-value" type="text" name="system.niveau_minimum" value="{{system.niveau_minimum}}" data-dtype="Number"/>
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="xp">Niveau maximum</label> <label for="system.niveau_maximum">Niveau maximum</label>
<input class="attribute-value" type="text" name="system.niveau_maximum" value="{{system.niveau_maximum}}" data-dtype="Number"/> <input class="attribute-value" type="text" name="system.niveau_maximum" value="{{system.niveau_maximum}}" data-dtype="Number"/>
</div> </div>

View File

@ -3,53 +3,53 @@
{{!-- Sheet Body --}} {{!-- Sheet Body --}}
<section class="sheet-body"> <section class="sheet-body">
<div class="form-group"> <div class="form-group">
<label for="xp">Compétence</label> <label for="system.competence">Compétence</label>
<select name="system.competence" id="competenceselect" data-dtype="String"> <select name="system.competence" data-dtype="String">
{{#select system.competence}} {{#select system.competence}}
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-competence.html"}} {{>"systems/foundryvtt-reve-de-dragon/templates/enum-competence.html"}}
{{/select}} {{/select}}
</select> </select>
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="xp">Thème</label> <label for="system.theme">Thème</label>
<input class="attribute-value" type="text" name="system.theme" value="{{system.theme}}" data-dtype="String"/> <input class="attribute-value" type="text" name="system.theme" value="{{system.theme}}" data-dtype="String"/>
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="xp">Support</label> <label for="system.support">Support</label>
<input class="attribute-value" type="text" name="system.support" value="{{system.support}}" data-dtype="String"/> <input class="attribute-value" type="text" name="system.support" value="{{system.support}}" data-dtype="String"/>
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="xp">Heure</label> <label for="system.heure">Heure</label>
<select name="system.heure" id="heure" data-dtype="String"> <select name="system.heure" data-dtype="String">
{{#select system.heure}} {{#select system.heure}}
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-heures.html"}} {{>"systems/foundryvtt-reve-de-dragon/templates/enum-heures.html"}}
{{/select}} {{/select}}
</select> </select>
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="xp">Purification</label> <label for="system.purification">Purification</label>
<input class="attribute-value" type="text" name="system.purification" value="{{system.purification}}" data-dtype="String"/> <input class="attribute-value" type="text" name="system.purification" value="{{system.purification}}" data-dtype="String"/>
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="xp">Vêture</label> <label for="system.veture">Vêture</label>
<input class="attribute-value" type="text" name="system.veture" value="{{system.veture}}" data-dtype="String"/> <input class="attribute-value" type="text" name="system.veture" value="{{system.veture}}" data-dtype="String"/>
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="xp">Comportement</label> <label for="system.comportement">Comportement</label>
<input class="attribute-value" type="text" name="system.comportement" value="{{system.comportement}}" data-dtype="String"/> <input class="attribute-value" type="text" name="system.comportement" value="{{system.comportement}}" data-dtype="String"/>
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="xp">Case TMR</label> <label for="system.tmr">Case TMR</label>
<select name="system.tmr" id="tmr" data-dtype="String"> <select name="system.tmr" data-dtype="String">
{{#select system.tmr}} {{#select system.tmr}}
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-tmr-type.html"}} {{>"systems/foundryvtt-reve-de-dragon/templates/enum-tmr-type.html"}}
{{/select}} {{/select}}
</select> </select>
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="xp">Malus</label> <label for="system.malus">Malus</label>
{{#if options.isGM}} {{#if options.isGM}}
<select name="system.malus" id="malus" data-dtype="Number"> <select name="system.malus" data-dtype="Number">
{{#select system.malus}} {{#select system.malus}}
<option value="0">0</option> <option value="0">0</option>
<option value="-1">-1</option> <option value="-1">-1</option>

View File

@ -3,14 +3,13 @@
{{!-- Sheet Body --}} {{!-- Sheet Body --}}
<section class="sheet-body"> <section class="sheet-body">
<div class="form-group"> <div class="form-group">
<label class="alchimie-title" for="xp">Niveau</label> <label class="item-label" for="system.niveau">Niveau</label>
<input class="attribute-value" type="text" name="system.niveau" value="{{system.niveau}}" data-dtype="Number"/> <input class="attribute-value" type="text" name="system.niveau" value="{{system.niveau}}" data-dtype="Number"/>
</div> </div>
<div class="form-group"> <div class="form-group">
<label>Référence / Auteur</label> <label for="system.reference">Référence / Auteur</label>
<input class="attribute-value" type="text" name="system.reference" value="{{system.reference}}" data-dtype="String"/> <input class="attribute-value" type="text" name="system.reference" value="{{system.reference}}" data-dtype="String"/>
</div> </div>
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}} {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
</section> </section>
</form> </form>

View File

@ -3,21 +3,20 @@
{{!-- Sheet Body --}} {{!-- Sheet Body --}}
<section class="sheet-body"> <section class="sheet-body">
<div class="form-group"> <div class="form-group">
<label for="xp">Nombre</label> <label for="system.value">Nombre</label>
<input class="attribute-value" type="text" name="system.value" value="{{system.value}}" data-dtype="Number"/> <input class="attribute-value" type="text" name="system.value" value="{{system.value}}" data-dtype="Number"/>
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="xp">Nombre valide ? </label> <label for="system.istrue">Nombre valide ? </label>
<input class="attribute-value" type="checkbox" name="system.istrue" {{#if system.istrue}}checked{{/if}}/> <input class="attribute-value" type="checkbox" name="system.istrue" {{#if system.istrue}}checked{{/if}}/>
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="xp">Index du jour concerné</label> <label for="system.jourindex">Index du jour concerné</label>
<input class="attribute-value" type="text" name="system.jourindex" value="{{system.jourindex}}" data-dtype="Number"/> <input class="attribute-value" type="text" name="system.jourindex" value="{{system.jourindex}}" data-dtype="Number"/>
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="xp">Label du jour</label> <label for="system.jourlabel">Label du jour</label>
<input class="attribute-value" type="text" name="system.jourlabel" value="{{system.jourlabel}}" data-dtype="String"/> <input class="attribute-value" type="text" name="system.jourlabel" value="{{system.jourlabel}}" data-dtype="String"/>
</div> </div>
</section> </section>
</form> </form>

View File

@ -9,27 +9,27 @@
{{!-- Sheet Body --}} {{!-- Sheet Body --}}
<section class="sheet-body"> <section class="sheet-body">
<div class="form-group"> <div class="form-group">
<label>Caractéristique</label> <label for="system.default_carac">Caractéristique</label>
<select name="system.default_carac" id="default_carac" data-dtype="String"> <select name="system.default_carac" data-dtype="String">
{{#select system.default_carac}} {{#select system.default_carac}}
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-caracteristiques.html"}} {{>"systems/foundryvtt-reve-de-dragon/templates/enum-caracteristiques.html"}}
{{/select}} {{/select}}
</select> </select>
</div> </div>
<div class="form-group"> <div class="form-group">
<label>Compétence</label> <label for="system.competence">Compétence</label>
<select name="system.competence" id="competenceselect" data-dtype="String"> <select name="system.competence" data-dtype="String">
{{#select system.competence}} {{#select system.competence}}
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-competence.html"}} {{>"systems/foundryvtt-reve-de-dragon/templates/enum-competence.html"}}
{{/select}} {{/select}}
</select> </select>
</div> </div>
<div class="form-group"> <div class="form-group">
<label>Référence / Auteur</label> <label for="system.reference">Référence / Auteur</label>
<input class="attribute-value" type="text" name="system.reference" value="{{system.reference}}" data-dtype="String"/> <input class="attribute-value" type="text" name="system.reference" value="{{system.reference}}" data-dtype="String"/>
</div> </div>
<div class="form-group"> <div class="form-group">
<label>Niveau</label> <label for="system.niveau">Niveau</label>
<input class="attribute-value" type="text" name="system.niveau" value="{{system.niveau}}" data-dtype="Number"/> <input class="attribute-value" type="text" name="system.niveau" value="{{system.niveau}}" data-dtype="Number"/>
</div> </div>

View File

@ -3,15 +3,15 @@
{{!-- Sheet Body --}} {{!-- Sheet Body --}}
<section class="sheet-body"> <section class="sheet-body">
<div class="form-group"> <div class="form-group">
<label for="xp">Type de possession </label> <label for="system.typepossession">Type de possession</label>
<input class="attribute-value" type="text" name="system.typepossession" value="{{system.typepossession}}" data-dtype="String"/> <input class="attribute-value" type="text" name="system.typepossession" value="{{system.typepossession}}" data-dtype="String"/>
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="xp">Possédé ? </label> <label for="system.istrue">Possédé ?</label>
<input class="attribute-value" type="checkbox" name="system.istrue" {{#if system.istrue}}checked{{/if}}/> <input class="attribute-value" type="checkbox" name="system.istrue" {{#if system.istrue}}checked{{/if}}/>
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="xp">Compteur </label> <label for="system.compteur">Compteur</label>
<input class="attribute-value" type="text" name="system.compteur" value="{{system.compteur}}" data-dtype="Number"/> <input class="attribute-value" type="text" name="system.compteur" value="{{system.compteur}}" data-dtype="Number"/>
</div> </div>
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}} {{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}

View File

@ -5,7 +5,7 @@
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name" /></h1> <h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name" /></h1>
{{#if options.isOwned}} {{#if options.isOwned}}
<div class="form-group"> <div class="form-group">
<span for="xp"><a class="consommer-potion chat-card-button" data-actor-id="{{actorId}}">Consommer cette potion et appliquer ses effets</a></span> <span><a class="consommer-potion chat-card-button" data-actor-id="{{actorId}}">Consommer cette potion et appliquer ses effets</a></span>
</div> </div>
{{/if}} {{/if}}
</div> </div>

View File

@ -3,29 +3,29 @@
{{!-- Sheet Body --}} {{!-- Sheet Body --}}
<section class="sheet-body"> <section class="sheet-body">
<div class="form-group"> <div class="form-group">
<label class="alchimie-title" for="xp">But</label> <label class="item-label" for="system.but">But</label>
<input class="attribute-value" type="text" name="system.but" value="{{system.but}}" data-dtype="String"/> <input class="attribute-value" type="text" name="system.but" value="{{system.but}}" data-dtype="String"/>
</div> </div>
<div class="flexcol"> <div class="flexcol">
<span><label class="alchimie-title">Manipulation : </label></span> <span><label class="item-label">Manipulation : </label></span>
<div class="form-group medium-editor"> <div class="form-group medium-editor">
{{editor manipulation_update target="system.manipulation" button=true owner=options.isOwner editable=options.editable engine="prosemirror"}} {{editor manipulation_update target="system.manipulation" button=true owner=options.isOwner editable=options.editable engine="prosemirror"}}
</div> </div>
</div> </div>
<div class="flexcol"> <div class="flexcol">
<span><label class="alchimie-title">Utilisation : </label></span> <span><label class="item-label">Utilisation : </label></span>
<div class="form-group small-editor"> <div class="form-group small-editor">
{{editor utilisation target="system.utilisation" button=true owner=options.isOwner editable=options.editable engine="prosemirror"}} {{editor utilisation target="system.utilisation" button=true owner=options.isOwner editable=options.editable engine="prosemirror"}}
</div> </div>
</div> </div>
<div class="flexcol"> <div class="flexcol">
<span><label class="alchimie-title">Enchantement : </label></span> <span><label class="item-label">Enchantement : </label></span>
<div class="form-group small-editor"> <div class="form-group small-editor">
{{editor enchantement target="system.enchantement" button=true owner=options.isOwner editable=options.editable engine="prosemirror"}} {{editor enchantement target="system.enchantement" button=true owner=options.isOwner editable=options.editable engine="prosemirror"}}
</div> </div>
</div> </div>
<div class="flexcol"> <div class="flexcol">
<span><label class="alchimie-title">Sur-effet : </label></span> <span><label class="item-label">Sur-effet : </label></span>
<div class="form-group small-editor"> <div class="form-group small-editor">
{{editor sureffet target="system.sureffet" button=true owner=options.isOwner editable=options.editable engine="prosemirror"}} {{editor sureffet target="system.sureffet" button=true owner=options.isOwner editable=options.editable engine="prosemirror"}}
</div> </div>

View File

@ -3,8 +3,8 @@
{{!-- Sheet Body --}} {{!-- Sheet Body --}}
<section class="sheet-body"> <section class="sheet-body">
<div class="form-group"> <div class="form-group">
<label>Draconic</label> <label for="system.draconic">Draconic</label>
<select name="system.draconic" id="draconic" data-dtype="String"> <select name="system.draconic" data-dtype="String">
{{#select system.draconic}} {{#select system.draconic}}
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-draconic.html"}} {{>"systems/foundryvtt-reve-de-dragon/templates/enum-draconic.html"}}
{{/select}} {{/select}}
@ -12,7 +12,7 @@
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="system.caseTMR">Case TMR</label> <label for="system.caseTMR">Case TMR</label>
<select name="system.caseTMR" id="caseTMR" data-dtype="String"> <select name="system.caseTMR" data-dtype="String">
{{#select system.caseTMR}} {{#select system.caseTMR}}
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-tmr-type.html"}} {{>"systems/foundryvtt-reve-de-dragon/templates/enum-tmr-type.html"}}
<option value="special">Case spéciale TMR (saisie ci-dessous)</option> <option value="special">Case spéciale TMR (saisie ci-dessous)</option>
@ -62,7 +62,7 @@
{{#each bonusCaseList as |bcData key|}} {{#each bonusCaseList as |bcData key|}}
<div class="form-group"> <div class="form-group">
<label for="caseValue">Case/Bonus :</label> <label for="caseValue">Case/Bonus :</label>
<input class="attribute-value" type="text" name="caseValue" value="{{bcData.case}}" data-dtype="String"/> <input class="attribute-value" type="text" name="caseValue" value="{{bcData.case}}" data-dtype="String"/>
<input class="attribute-value" type="text" name="bonusValue" value="{{bcData.bonus}}" data-dtype="Number"/> <input class="attribute-value" type="text" name="bonusValue" value="{{bcData.bonus}}" data-dtype="Number"/>
</div> </div>
{{/each}} {{/each}}

View File

@ -9,8 +9,8 @@
</div> </div>
{{else}} {{else}}
<div class="form-group"> <div class="form-group">
<label>Draconic</label> <label for="system.draconic">Draconic</label>
<select name="system.draconic" id="draconic" data-dtype="String"> <select name="system.draconic" data-dtype="String">
{{#select system.draconic}} {{#select system.draconic}}
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-draconic.html"}} {{>"systems/foundryvtt-reve-de-dragon/templates/enum-draconic.html"}}
{{/select}} {{/select}}

View File

@ -9,12 +9,12 @@
<img class="profile-img" src="{{img}}" data-edit="img" data-tooltip="{{name}}"/> <img class="profile-img" src="{{img}}" data-edit="img" data-tooltip="{{name}}"/>
<div class="flexcol"> <div class="flexcol">
<div class="form-group"> <div class="form-group">
<label>Aspect</label> <label for="system.concept">Aspect</label>
<input class="attribute-value" type="text" name="system.concept" value="{{system.concept}}" data-dtype="String" /> <input class="attribute-value" type="text" name="system.concept" value="{{system.concept}}" data-dtype="String" />
</div> </div>
<div class="form-group"> <div class="form-group">
<label>Sens</label> <label for="system.aspect">Sens</label>
<select name="system.aspect" id="aspect" data-dtype="String"> <select name="system.aspect" data-dtype="String">
{{#select system.aspect}} {{#select system.aspect}}
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-aspect-tarot.html"}} {{>"systems/foundryvtt-reve-de-dragon/templates/enum-aspect-tarot.html"}}
{{/select}} {{/select}}