2022-11-28 11:31:19 +01:00
|
|
|
{{>'systems/foundryvtt-reve-de-dragon/templates/scripts/autocomplete-script.hbs'}}
|
|
|
|
<div class="tab items" data-group="primary" data-tab="environnement">
|
|
|
|
<div class="form-group">
|
|
|
|
<label>Description du milieu</label>
|
|
|
|
<input class="attribute-value" type="text" name="system.milieu" value="{{system.milieu}}" data-dtype="String" />
|
|
|
|
</div>
|
|
|
|
<hr>
|
|
|
|
<div class="form-group">
|
|
|
|
<label>Ajouter un fréquence</label>
|
2022-12-14 20:00:16 +01:00
|
|
|
<input type="text" class="input-selection-milieu" placeholder="Milieu" data-dtype="String"/>
|
2022-11-28 11:31:19 +01:00
|
|
|
{{>'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>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{#each system.environnement as |env|}}
|
|
|
|
<div class="form-group environnement-milieu" data-milieu="{{env.milieu}}">
|
|
|
|
<label>
|
|
|
|
{{env.milieu}}
|
|
|
|
<a class="milieu-delete" title="Supprimer {{env.milieu}}"><i class="fas fa-trash"></i></a>
|
|
|
|
</label>
|
|
|
|
<div class="flexrow">
|
|
|
|
<select class="environnement-rarete" class="flex-shrink" data-dtype="String">
|
|
|
|
{{#select env.rarete}}
|
|
|
|
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-rarete.html"}}
|
|
|
|
{{/select}}
|
|
|
|
</select>
|
|
|
|
{{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>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/each}}
|
|
|
|
</div>
|