v10 first release

This commit is contained in:
2022-09-20 08:57:40 +02:00
parent 4a0a57870c
commit 1730a8d390
26 changed files with 194 additions and 324 deletions

View File

@ -17,7 +17,7 @@
</span>
<span class="flexrow">
<label class="generic-label">Attribut 1 : </label>
<select class="status-small-label color-class-common" type="text" name="data.attribut1"
<select class="status-small-label color-class-common" type="text" name="system.attribut1"
value="{{data.attribut1}}" data-dtype="string">
{{#select data.attribut1}}
{{#each attributs as |attrLabel attrKey|}}
@ -28,7 +28,7 @@
</span>
<span class="flexrow">
<label class="generic-label">Attribut 2 : </label>
<select class="status-small-label color-class-common" type="text" name="data.attribut2"
<select class="status-small-label color-class-common" type="text" name="system.attribut2"
value="{{data.attribut2}}" data-dtype="string">
<option value="none">Aucun</option>
{{#select data.attribut2}}
@ -40,7 +40,7 @@
</span>
<span class="flexrow">
<label class="generic-label">Attribut 3 : </label>
<select class="status-small-label color-class-common" type="text" name="data.attribut3"
<select class="status-small-label color-class-common" type="text" name="system.attribut3"
value="{{data.attribut3}}" data-dtype="string">
<option value="none">Aucun</option>
{{#select data.attribut3}}
@ -53,7 +53,7 @@
<span class="flexrow">
<label class="generic-label">Les bonus de Bonne Aventure et d'Eclat peuvent être doublés (cf. Métier) ? </label>
<input class="" type="checkbox" name="data.doublebonus" value="{{data.doublebonus}}" {{checked data.doublebonus}}/>
<input class="" type="checkbox" name="system.doublebonus" value="{{data.doublebonus}}" {{checked data.doublebonus}}/>
</span>
<span class="flexrow">
@ -63,7 +63,7 @@
{{#each data.predilections as |predilection key|}}
<li class="prediction-item item flexrow" data-prediction-index="{{key}}">
<input type="text" class="padd-right color-class-common edit-prediction"
name="data.predilections[{{key}}]" value="{{predilection.name}}" data-dtype="String" />
name="system.predilections[{{key}}]" value="{{predilection.name}}" data-dtype="String" />
<input class="use-prediction" type="checkbox" name="predilection.used" value="{{predilection.used}}" {{checked predilection.used}} />
<a class="item-control delete-prediction" title="Supprimer une predilection"><i class="fas fa-trash"></i></a>
</li>