Gestion des signes draconiques #455
@ -163,6 +163,7 @@ export class RdDUtility {
|
|||||||
'systems/foundryvtt-reve-de-dragon/templates/partial-roll-surenc.html',
|
'systems/foundryvtt-reve-de-dragon/templates/partial-roll-surenc.html',
|
||||||
'systems/foundryvtt-reve-de-dragon/templates/partial-roll-enctotal.html',
|
'systems/foundryvtt-reve-de-dragon/templates/partial-roll-enctotal.html',
|
||||||
'systems/foundryvtt-reve-de-dragon/templates/partial-roll-moral.html',
|
'systems/foundryvtt-reve-de-dragon/templates/partial-roll-moral.html',
|
||||||
|
'systems/foundryvtt-reve-de-dragon/templates/partial-select-carac.html',
|
||||||
// Calendrier
|
// Calendrier
|
||||||
'systems/foundryvtt-reve-de-dragon/templates/calendar-template.html',
|
'systems/foundryvtt-reve-de-dragon/templates/calendar-template.html',
|
||||||
'systems/foundryvtt-reve-de-dragon/templates/calendar-editor-template.html',
|
'systems/foundryvtt-reve-de-dragon/templates/calendar-editor-template.html',
|
||||||
|
@ -528,6 +528,12 @@ section.sheet-body:after {
|
|||||||
text-align: left;
|
text-align: left;
|
||||||
width: 50px;
|
width: 50px;
|
||||||
}
|
}
|
||||||
|
.select-carac {
|
||||||
|
display: inline-block;
|
||||||
|
text-align: left;
|
||||||
|
width: 100%;
|
||||||
|
max-width: 90%;
|
||||||
|
}
|
||||||
|
|
||||||
#vie-plus, #vie-moins, #endurance-plus, #endurance-moins, #fatigue-plus, #fatigue-moins, #ptreve-actuel-plus, #ptreve-actuel-moins, .monnaie-plus, .monnaie-moins {
|
#vie-plus, #vie-moins, #endurance-plus, #endurance-moins, #fatigue-plus, #fatigue-moins, #ptreve-actuel-plus, #ptreve-actuel-moins, .monnaie-plus, .monnaie-moins {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
@ -3,15 +3,10 @@
|
|||||||
|
|
||||||
<div class="grid grid-2col">
|
<div class="grid grid-2col">
|
||||||
<div class="flex-group-left">
|
<div class="flex-group-left">
|
||||||
|
<img class="chat-icon" src="{{competence.img}}" alt="{{competence.name}}"/>
|
||||||
<div class="flexrow">
|
<div class="flexrow">
|
||||||
<label>Caractéristique </label>
|
<label>Caractéristique</label>
|
||||||
<select name="carac" id="carac" data-dtype="String">
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-select-carac.html"}}
|
||||||
{{#select carac}}
|
|
||||||
{{#each carac as |caracitem key|}}
|
|
||||||
<option value={{key}}>{{caracitem.label}}</option>
|
|
||||||
{{/each}}
|
|
||||||
{{/select}}
|
|
||||||
</select>
|
|
||||||
</div>
|
</div>
|
||||||
{{#if arme}}
|
{{#if arme}}
|
||||||
{{#if attackerRoll}}
|
{{#if attackerRoll}}
|
||||||
|
@ -1,29 +1,11 @@
|
|||||||
<form class="resolution-roll-dialog">
|
<form class="resolution-roll-dialog">
|
||||||
<div class="flexrow flex-group-left">
|
<div class="grid grid-4col">
|
||||||
<label>Caractéristique</label>
|
<div class="flexrow">
|
||||||
<select name="carac" id="carac" class="select-diff" data-dtype="String">
|
<label>Caractéristique</label>
|
||||||
{{#select carac}}
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-select-carac.html"}}
|
||||||
{{#each carac as |caracitem key|}}
|
</div>
|
||||||
<option value={{key}}>{{caracitem.label}}</option>
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffLibre.html"}}
|
||||||
{{/each}}
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffCondition.html"}}
|
||||||
{{/select}}
|
|
||||||
</select>
|
|
||||||
<label>Difficulté libre</label>
|
|
||||||
<select name="diffLibre" id="diffLibre" class="select-diff" data-dtype="number">
|
|
||||||
{{#select diffLibre}}
|
|
||||||
{{#each difficultesLibres as |key|}}
|
|
||||||
<option value={{key}}>{{numberFormat key decimals=0 sign=true}}</option>
|
|
||||||
{{/each}}
|
|
||||||
{{/select}}
|
|
||||||
</select>
|
|
||||||
<label> Conditions</label>
|
|
||||||
<select name="diffConditions" id="diffConditions" class="select-diff" data-dtype="number">
|
|
||||||
{{#select diffConditions}}
|
|
||||||
{{#each ajustementsConditions as |key|}}
|
|
||||||
<option value={{key}}>{{numberFormat key decimals=0 sign=true}}</option>
|
|
||||||
{{/each}}
|
|
||||||
{{/select}}
|
|
||||||
</select>
|
|
||||||
<button id="lancer" type="button">Lancer les dés</button>
|
<button id="lancer" type="button">Lancer les dés</button>
|
||||||
</div>
|
</div>
|
||||||
<div id="tableResolution">
|
<div id="tableResolution">
|
||||||
|
7
templates/partial-select-carac.html
Normal file
7
templates/partial-select-carac.html
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<select name="carac" id="carac" class="flex-grow select-carac" data-dtype="String">
|
||||||
|
{{#select carac}}
|
||||||
|
{{#each carac as |caracitem key|}}
|
||||||
|
<option value={{key}}>{{caracitem.label}}</option>
|
||||||
|
{{/each}}
|
||||||
|
{{/select}}
|
||||||
|
</select>
|
Loading…
Reference in New Issue
Block a user