rework musique

This commit is contained in:
Vincent Vandemeulebrouck 2021-04-21 22:01:49 +02:00
parent 8dea766540
commit c50c417d5b

View File

@ -1,36 +1,26 @@
<form class="rdddialog"> <form class="rdddialog">
<div class="form-group"> <h2>Interpréter la mélodie: {{oeuvre.name}}</h2>
<ul>
<li><label>Jouer une Musique : {{oeuvre.name}}</label></li>
<li><label>Jet : OUIE / {{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}}</label>
<option value={{key}}>{{numberFormat key decimals=0 sign=true}}</option> <label>{{competence.name}}:</label><label class="flex-grow">{{numberFormat competence.data.niveau decimals=0 sign=true}}</label></label>
{{/each}} </div>
{{/select}} {{> "systems/foundryvtt-reve-de-dragon/templates/chat-poesie.html" oeuvre.data}}
</select> </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>