Rework oeuvre

This commit is contained in:
Vincent Vandemeulebrouck 2021-04-21 22:02:03 +02:00
parent c50c417d5b
commit 70b3feede8

View File

@ -1,36 +1,27 @@
<form class="rdddialog"> <form class="rdddialog">
<div class="form-group"> <h2>Interpréter une Œuvre: {{oeuvre.name}}</h2>
<ul>
<li><label>Interpréter une Oeuvre : {{oeuvre.name}}</label></li>
<li><label>Jet : {{upperFirst oeuvre.data.default_carac}} / {{competence.name}}</label></li>
</ul>
<div class="tooltipAppelAuMoral divAppelAuMoral">
<img class="imgAppelAuMoral small-button-container" src="/systems/foundryvtt-reve-de-dragon/icons/moral-neutre.svg">
<span class="tooltipAppelAuMoralText">Sans appel au moral</span>
</div>
</div>
<div class="form-group"> <div class="grid grid-2col">
<label>conditions</label> <div class="flex-group-left">
<select name="diffConditions" id="diffConditions" data-dtype="number"> <img class="chat-icon" src="{{competence.img}}" alt="{{competence.name}}" />
{{#select diffConditions}} <div class="grid grid-2col">
{{#each ajustementsConditions as |key|}} <label>Caractéristique: </label><label class="flex-grow">{{selectedCarac.label}}
<option value={{key}}>{{numberFormat key decimals=0 sign=true}}</option> </label>
{{/each}} <label>{{competence.name}}:</label><label class="flex-grow">{{numberFormat competence.data.niveau decimals=0 sign=true}}</label></label>
{{/select}} </div>
</select> {{> "systems/foundryvtt-reve-de-dragon/templates/chat-poesie.html" oeuvre.data}}
</div>
<div class="flex-group-left">
<div class="flexrow">
<label>Difficulté</label> <label>Difficulté</label>
<select name="diffLibre" id="diffLibre" data-dtype="number"> <label>{{numberFormat diffLibre decimals=0 sign=true}}</label>
{{#select diffLibre}} </div>
{{#each difficultesLibres as |key|}} {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffCondition.html"}}
<option value={{key}}>{{numberFormat key decimals=0 sign=true}}</option> {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-moral.html"}}
{{/each}} <div id="tableAjustements" class="flexrow"></div>
{{/select}} </div>
</select>
</div> </div>
<div id="tableAjustements">
</div>
<div id="tableResolution"></div> <div id="tableResolution"></div>
<div id="tableProbaReussite"></div> <div id="tableProbaReussite"></div>
</form> </form>