Version 10.3.14 #595

Merged
uberwald merged 11 commits from VincentVk/foundryvtt-reve-de-dragon:v10 into v10 2022-12-15 07:36:04 +01:00
Showing only changes of commit 090241f0f5 - Show all commits

View File

@ -2,15 +2,18 @@
<div class="tab items" data-group="primary" data-tab="environnement"> <div class="tab items" data-group="primary" data-tab="environnement">
<div class="form-group"> <div class="form-group">
<label>Description du milieu</label> <label>Description du milieu</label>
<span class="flexrow">
<input class="attribute-value" type="text" name="system.milieu" value="{{system.milieu}}" data-dtype="String" /> <input class="attribute-value" type="text" name="system.milieu" value="{{system.milieu}}" data-dtype="String" />
</span>
</div> </div>
<hr> <hr>
<div class="form-group"> <div class="form-group">
<label>Ajouter un fréquence</label> <label>Ajouter un fréquence</label>
<span class="flexrow">
<input type="text" class="input-selection-milieu" placeholder="Milieu" data-dtype="String"/> <input type="text" class="input-selection-milieu" placeholder="Milieu" data-dtype="String"/>
{{>'systems/foundryvtt-reve-de-dragon/templates/scripts/autocomplete.hbs' proposals=milieux className='input-selection-milieu'}} {{>'systems/foundryvtt-reve-de-dragon/templates/scripts/autocomplete.hbs' proposals=milieux className='input-selection-milieu'}}
<a class="milieu-add"><i class="fas fa-plus-circle"></i></a> <a class="milieu-add"><i class="fas fa-plus-circle"></i></a>
</div> </span>
</div> </div>
{{#each system.environnement as |env|}} {{#each system.environnement as |env|}}
<div class="form-group environnement-milieu" data-milieu="{{env.milieu}}"> <div class="form-group environnement-milieu" data-milieu="{{env.milieu}}">
@ -18,7 +21,7 @@
{{env.milieu}} {{env.milieu}}
<a class="milieu-delete" title="Supprimer {{env.milieu}}"><i class="fas fa-trash"></i></a> <a class="milieu-delete" title="Supprimer {{env.milieu}}"><i class="fas fa-trash"></i></a>
</label> </label>
<div class="flexrow"> <span class="flexrow">
<select class="environnement-rarete" class="flex-shrink" data-dtype="String"> <select class="environnement-rarete" class="flex-shrink" data-dtype="String">
{{#select env.rarete}} {{#select env.rarete}}
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-rarete.html"}} {{>"systems/foundryvtt-reve-de-dragon/templates/enum-rarete.html"}}
@ -26,7 +29,7 @@
</select> </select>
{{rangePicker name="environnement-frequence" value=env.frequence min=(getFrequenceRarete env.rarete 'min') max=(getFrequenceRarete env.rarete 'max') step=1}} {{rangePicker name="environnement-frequence" value=env.frequence min=(getFrequenceRarete env.rarete 'min') max=(getFrequenceRarete env.rarete 'max') step=1}}
<label>[{{getFrequenceRarete env.rarete 'min'}}-{{getFrequenceRarete env.rarete 'max'}}]</label> <label>[{{getFrequenceRarete env.rarete 'min'}}-{{getFrequenceRarete env.rarete 'max'}}]</label>
</div> </span>
</div> </div>
{{/each}} {{/each}}
</div> </div>