DIvers petites corrections pour les specialités et les competences
All checks were successful
Release Creation / build (release) Successful in 54s

This commit is contained in:
2026-01-18 18:39:51 +01:00
parent d3c24e44d8
commit f445741eda
66 changed files with 277 additions and 238 deletions

View File

@@ -80,13 +80,13 @@
{{#each system.specialites as |specialite key|}}
<li class="specialite-item item flexrow" data-specialite-index="{{key}}">
<input type="text" class="padd-right color-class-common edit-specialite" value="{{specialite.name}}"
data-dtype="String" data-action="editSpecialite" />
data-dtype="String" />
<a class="item-control delete-specialite" title="Supprimer une specialité" data-action="deleteSpecialite"><i
class="fas fa-trash"></i></a>
</li>
<li class="specialite-item item flexrow" data-specialite-index="{{key}}">
<textarea row="4" type="text" class="padd-right color-class-common edit-specialite-description"
data-dtype="String" data-action="editSpecialiteDescription">{{specialite.description}}</textarea>
data-dtype="String">{{specialite.description}}</textarea>
</li>
<hr>
{{/each}}

View File

@@ -8,21 +8,19 @@
</a>
</span>
{{else}}
<span class="item-field-label-long">
<h3><label class="items-title-text">{{upperFirst keyProfil}}</label></h3>
</span>
<h3><label class="items-title-text">{{upperFirst keyProfil}} (Rang: {{skillDef.rang}})</label></h3>
{{/if}}
{{#if isPNJ}}
<span class="item-field-label-short">
<label class="short-label">Niveau</label>
</span>
{{#if isPNJ}}
<span class="item-field-label-short">
<input type="text" data-dtype="Number" class="item-field-label-short"
name="system.competences.{{keyProfil}}.niveau" value="{{skillDef.niveau}}" style="text-align: center;">
</span>
{{/if}}
<div class="item-filler">&nbsp;</div>
{{/if}}
</li>
{{#each skillDef.skills as |skill key|}}
<li class="item flexrow " data-item-id="{{skill._id}}" data-item-type="competence">
@@ -32,7 +30,7 @@
value="{{skill.system.niveau}}" data-dtype="Number">
{{selectOptions @root.config.listNiveau selected=skill.system.niveau}}
</select>
<input type="checkbox" class="item-field-label-short edit-item-data" data-tooltip="Prédilection" data-item-field="predilection" {{checked
<input type="checkbox" class="item-field-label-short edit-item-data" data-tooltip="Prédilection" data-item-field="predilection" data-dtype="Boolean" {{checked
skill.system.predilection}} />
<div class="item-controls item-controls-fixed">
<a class="item-control item-edit" title="Edit Item" data-action="editItem"><i class="fas fa-edit"></i></a>