Preparation du passage en v12

This commit is contained in:
2024-05-05 18:06:29 +02:00
parent fac158e0ad
commit 8af9c582bf
121 changed files with 440 additions and 424 deletions

View File

@@ -14,11 +14,7 @@
<label class="generic-label item-field-label-medium">Evènement</label>
<select class="item-field-label-long automation-edit-field" type="text" data-automation-index="{{key}}" data-automation-field="eventtype"
value="{{automation.eventtype}}" data-dtype="String">
{{#select automation.eventtype}}
<option value="on-drop">Drop sur l'acteur</option>
<option value="prepare-roll">Préparation d'un jet</option>
<option value="bonus-permanent">Bonus permanent</option>
{{/select}}
{{selectOptions config.optionsAutomationEvent selected=automation.eventtype valueAttr="key" nameAttr="key" labelAttr="label"}}
</select>
<label class="generic-label item-field-label-medium">&nbsp;</label>
@@ -44,10 +40,7 @@
<label class="generic-label item-field-label-long">Désignation</label>
<select class="item-field-label-long automation-edit-field" type="text" data-automation-index="{{key}}" data-automation-field="bonusname"
value="{{automation.bonusname}}" data-dtype="String">
{{#select automation.bonusname}}
<option value="vigueur">Vigueur</option>
<option value="bonus-defensif">Bonus au Seuil de Défense</option>
{{/select}}
{{selectOptions config.optionsBonusPermanent selected=automation.bonusname valueAttr="key" nameAttr="key" labelAttr="label"}}
</select>
</li>
<li class="automation-item item flexrow">