This commit is contained in:
Vincent Vandemeulebrouck 2021-04-21 18:58:32 +02:00
parent 226319b067
commit 496a411fcc
11 changed files with 223 additions and 247 deletions

View File

@ -1,7 +1,7 @@
<form class="skill-roll-dialog"> <form class="skill-roll-dialog">
<h2 class="dialog-roll-title"></h2> <h2 class="dialog-roll-title"></h2>
<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}}"/> <img class="chat-icon" src="{{competence.img}}" alt="{{competence.name}}"/>
<div class="flexrow"> <div class="flexrow">
@ -75,13 +75,10 @@
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-moral.html"}} {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-moral.html"}}
<div id="tableAjustements" class="flexrow"></div> <div id="tableAjustements" class="flexrow"></div>
</div> </div>
</div> </div>
<div id="tableResolution">
</div>
<div id="tableProbaReussite">
</div>
<div id="tableResolution"></div>
<div id="tableProbaReussite"></div>
</form> </form>
<script> <script>

View File

@ -1,9 +1,9 @@
<form class="rdddialog"> <form class="rdddialog">
<h2>Chanter: {{oeuvre.name}}</h2> <h2>Chanter: {{oeuvre.name}}</h2>
<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}}"/> <img class="chat-icon" src="{{competence.img}}" alt="{{competence.name}}" />
<div class="grid grid-2col"> <div class="grid grid-2col">
<label>Caractéristique: </label><label class="flex-grow">{{selectedCarac.label}}</label> <label>Caractéristique: </label><label class="flex-grow">{{selectedCarac.label}}</label>
<label>{{competence.name}}:</label><label class="flex-grow">{{numberFormat competence.data.niveau decimals=0 sign=true}}</label></label> <label>{{competence.name}}:</label><label class="flex-grow">{{numberFormat competence.data.niveau decimals=0 sign=true}}</label></label>
@ -19,12 +19,10 @@
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-moral.html"}} {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-moral.html"}}
<div id="tableAjustements" class="flexrow"></div> <div id="tableAjustements" class="flexrow"></div>
</div> </div>
</div> </div>
<div id="tableResolution"> <div id="tableResolution"></div>
</div> <div id="tableProbaReussite"></div>
<div id="tableProbaReussite">
</div>
</form> </form>
<script> <script>

View File

@ -3,7 +3,7 @@
<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}}"/> <img class="chat-icon" src="{{competence.img}}" alt="{{competence.name}}" />
<div class="grid grid-2col"> <div class="grid grid-2col">
<label for="carac">Caractéristique:</label>{{>"systems/foundryvtt-reve-de-dragon/templates/partial-select-carac.html"}} <label for="carac">Caractéristique:</label>{{>"systems/foundryvtt-reve-de-dragon/templates/partial-select-carac.html"}}
<label>{{competence.name}}:</label><label class="flex-grow">{{numberFormat competence.data.niveau decimals=0 sign=true}}</label></label> <label>{{competence.name}}:</label><label class="flex-grow">{{numberFormat competence.data.niveau decimals=0 sign=true}}</label></label>
@ -21,10 +21,8 @@
</div> </div>
</div> </div>
<div id="tableResolution"> <div id="tableResolution"></div>
</div> <div id="tableProbaReussite"></div>
<div id="tableProbaReussite">
</div>
</form> </form>
<script> <script>

View File

@ -21,9 +21,7 @@
<label>Ajustement final : <label id="roll-param">10 / 0</label>&nbsp;&nbsp;&nbsp;<label name="addon-message" id="addon-message"></label></label> <label>Ajustement final : <label id="roll-param">10 / 0</label>&nbsp;&nbsp;&nbsp;<label name="addon-message" id="addon-message"></label></label>
</div> </div>
<div id="tableResolution"> <div id="tableResolution"></div>
</div> <div id="tableProbaReussite"></div>
<div id="tableProbaReussite">
</div>
</form> </form>

View File

@ -20,10 +20,8 @@
</div> </div>
{{> "systems/foundryvtt-reve-de-dragon/templates/chat-poesie.html" oeuvre.data}} {{> "systems/foundryvtt-reve-de-dragon/templates/chat-poesie.html" oeuvre.data}}
<div id="tableResolution"> <div id="tableResolution"></div>
</div> <div id="tableProbaReussite"></div>
<div id="tableProbaReussite">
</div>
</form> </form>
<script> <script>

View File

@ -53,10 +53,8 @@
<div id="tableAjustements"> <div id="tableAjustements">
</div> </div>
<div id="tableResolution"> <div id="tableResolution"></div>
</div> <div id="tableProbaReussite"></div>
<div id="tableProbaReussite">
</div>
</form> </form>
<script> <script>

View File

@ -1,5 +1,5 @@
<form class="rdddialog"> <form class="rdddialog">
<div class="form-group"> <div class="form-group">
<ul> <ul>
<li><label>Jouer une Musique : {{oeuvre.name}}</label></li> <li><label>Jouer une Musique : {{oeuvre.name}}</label></li>
<li><label>Jet : OUIE / {{competence.name}}</label></li> <li><label>Jet : OUIE / {{competence.name}}</label></li>
@ -8,9 +8,9 @@
<img class="imgAppelAuMoral small-button-container" src="/systems/foundryvtt-reve-de-dragon/icons/moral-neutre.svg"> <img class="imgAppelAuMoral small-button-container" src="/systems/foundryvtt-reve-de-dragon/icons/moral-neutre.svg">
<span class="tooltipAppelAuMoralText">Sans appel au moral</span> <span class="tooltipAppelAuMoralText">Sans appel au moral</span>
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label>conditions</label> <label>conditions</label>
<select name="diffConditions" id="diffConditions" data-dtype="number"> <select name="diffConditions" id="diffConditions" data-dtype="number">
{{#select diffConditions}} {{#select diffConditions}}
@ -27,14 +27,12 @@
{{/each}} {{/each}}
{{/select}} {{/select}}
</select> </select>
</div> </div>
<div id="tableAjustements"> <div id="tableAjustements">
</div> </div>
<div id="tableResolution"> <div id="tableResolution"></div>
</div> <div id="tableProbaReussite"></div>
<div id="tableProbaReussite">
</div>
</form> </form>
<script> <script>

View File

@ -1,5 +1,5 @@
<form class="rdddialog"> <form class="rdddialog">
<div class="form-group"> <div class="form-group">
<ul> <ul>
<li><label>Interpréter une Oeuvre : {{oeuvre.name}}</label></li> <li><label>Interpréter une Oeuvre : {{oeuvre.name}}</label></li>
<li><label>Jet : {{upperFirst oeuvre.data.default_carac}} / {{competence.name}}</label></li> <li><label>Jet : {{upperFirst oeuvre.data.default_carac}} / {{competence.name}}</label></li>
@ -8,9 +8,9 @@
<img class="imgAppelAuMoral small-button-container" src="/systems/foundryvtt-reve-de-dragon/icons/moral-neutre.svg"> <img class="imgAppelAuMoral small-button-container" src="/systems/foundryvtt-reve-de-dragon/icons/moral-neutre.svg">
<span class="tooltipAppelAuMoralText">Sans appel au moral</span> <span class="tooltipAppelAuMoralText">Sans appel au moral</span>
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label>conditions</label> <label>conditions</label>
<select name="diffConditions" id="diffConditions" data-dtype="number"> <select name="diffConditions" id="diffConditions" data-dtype="number">
{{#select diffConditions}} {{#select diffConditions}}
@ -27,14 +27,12 @@
{{/each}} {{/each}}
{{/select}} {{/select}}
</select> </select>
</div> </div>
<div id="tableAjustements"> <div id="tableAjustements">
</div> </div>
<div id="tableResolution"> <div id="tableResolution"></div>
</div> <div id="tableProbaReussite"></div>
<div id="tableProbaReussite">
</div>
</form> </form>
<script> <script>

View File

@ -49,10 +49,8 @@
</div> </div>
<div id="tableAjustements"> <div id="tableAjustements">
</div> </div>
<div id="tableResolution"> <div id="tableResolution"></div>
</div> <div id="tableProbaReussite"></div>
<div id="tableProbaReussite">
</div>
</form> </form>
<script> <script>

View File

@ -1,5 +1,5 @@
<form class="resolution-roll-dialog"> <form class="resolution-roll-dialog">
<div class="grid grid-4col"> <div class="grid grid-4col">
<div class="flexrow"> <div class="flexrow">
<label>Caractéristique</label> <label>Caractéristique</label>
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-select-carac.html"}} {{>"systems/foundryvtt-reve-de-dragon/templates/partial-select-carac.html"}}
@ -7,10 +7,7 @@
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffLibre.html"}} {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffLibre.html"}}
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffCondition.html"}} {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffCondition.html"}}
<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"></div>
</div> <div id="tableProbaReussite"></div>
<div id="tableProbaReussite">
</div>
</form> </form>

View File

@ -1,10 +1,10 @@
<form class="dialog-roll-sort"> <form class="dialog-roll-sort">
<div class="form-group"> <div class="form-group">
<label>Rêve : <label>{{numberFormat selectedCarac.value decimals=0 sign=false}}</label></label> <label>Rêve : <label>{{numberFormat selectedCarac.value decimals=0 sign=false}}</label></label>
<label>TMR : {{tmr.label}} ({{tmr.coord}})</label> <label>TMR : {{tmr.label}} ({{tmr.coord}})</label>
</div> </div>
<div class="form-group"> <div class="form-group">
<label>Draconic </label> <label>Draconic </label>
<select name="draconic" id="draconic" data-dtype="String"> <select name="draconic" id="draconic" data-dtype="String">
{{#select draconic}} {{#select draconic}}
@ -21,9 +21,9 @@
{{/each}} {{/each}}
{{/select}} {{/select}}
</select> </select>
</div> </div>
<div class="form-group"> <div class="form-group">
<label>Sort </label> <label>Sort </label>
<select name="sort" id="sort" data-dtype="String"> <select name="sort" id="sort" data-dtype="String">
{{#select sort}} {{#select sort}}
@ -32,9 +32,9 @@
{{/each}} {{/each}}
{{/select}} {{/select}}
</select> </select>
</div> </div>
<div class="form-group" id="div-sort-difficulte"> <div class="form-group" id="div-sort-difficulte">
<label>Difficulté </label> <label>Difficulté </label>
<select name="diffLibre" id="diffLibre" data-dtype="number"> <select name="diffLibre" id="diffLibre" data-dtype="number">
{{#select diffLibre}} {{#select diffLibre}}
@ -43,9 +43,9 @@
{{/each}} {{/each}}
{{/select}} {{/select}}
</select> </select>
</div> </div>
<div class="form-group" id="div-sort-ptreve"> <div class="form-group" id="div-sort-ptreve">
<label>Couts en Points de Rêve </label> <label>Couts en Points de Rêve </label>
<select name="ptreve-variable" id="ptreve-variable" data-dtype="number"> <select name="ptreve-variable" id="ptreve-variable" data-dtype="number">
{{#select ptreve-variable}} {{#select ptreve-variable}}
@ -54,14 +54,12 @@
{{/each}} {{/each}}
{{/select}} {{/select}}
</select> </select>
</div> </div>
<div id="tableAjustements"> <div id="tableAjustements">
</div> </div>
<div id="tableResolution"> <div id="tableResolution"></div>
</div> <div id="tableProbaReussite"></div>
<div id="tableProbaReussite">
</div>
</form> </form>
<script> <script>