Ajout et fixes divers

This commit is contained in:
2023-03-07 20:33:31 +01:00
parent 7b5d7c9119
commit c5f021a941
4 changed files with 30 additions and 14 deletions

View File

@ -73,17 +73,25 @@
</select>
</li>
<li class="flexrow item">
<label class="generic-label item-field-label-long2">+ Carac </label>
<select class="status-small-label color-class-common item-field-label-long" type="text"
name="system.carac" value="{{system.carac}}" data-dtype="string">
{{#select system.carac}}
{{#each config.caracList as |categ cKey|}}
<option value="{{cKey}}">{{categ}}</option>
{{/each}}
{{/select}}
</select>
</li>
{{#if (eq system.feeriemasque "autre")}}
<li class="flexrow item">
<label class="generic-label item-field-label-long2">Jet </label>
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long3" name="system.testautre" value="{{system.testautre}}" data-dtype="String" />
</li>
{{else}}
<li class="flexrow item">
<label class="generic-label item-field-label-long2">+ Carac </label>
<select class="status-small-label color-class-common item-field-label-long" type="text"
name="system.carac" value="{{system.carac}}" data-dtype="string">
{{#select system.carac}}
{{#each config.caracList as |categ cKey|}}
<option value="{{cKey}}">{{categ}}</option>
{{/each}}
{{/select}}
</select>
</li>
{{/if}}
{{/if}}
<li class="flexrow item">
@ -91,6 +99,12 @@
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long3"
name="system.cibles" value="{{system.cibles}}" data-dtype="String" />
</li>
<li class="flexrow item">
<label class="generic-label item-field-label-long2">Durée </label>
<textarea rows="6" type="text" class="padd-right color-class-common item-field-label-long3" name="system.duree"
data-dtype="String">{{system.duree}}</textarea>
</li>
<li class="flexrow item">
<label class="generic-label item-field-label-long2">Effet </label>