2024-12-18 17:26:28 +01:00
|
|
|
<h4 class="item-list-title">Compétences{{#if @root.options.vueDetaillee}} <a class="competence-add" data-tooltip="Ajouter une compétence">
|
2024-12-09 22:04:47 +01:00
|
|
|
<i class="fa-solid fa-books-medical"></i>
|
|
|
|
</a>{{/if}}</h4>
|
2024-12-18 17:26:28 +01:00
|
|
|
<ul class="item-list alterne-list">
|
2022-10-31 15:20:09 +01:00
|
|
|
{{#each (trier competences) as |comp key|}}
|
2022-10-05 19:29:16 +02:00
|
|
|
<li class="item flexrow list-item" data-item-id="{{comp._id}}">
|
2024-10-05 12:41:28 +02:00
|
|
|
<a class="competence-label roll-competence">
|
2023-12-04 01:21:05 +01:00
|
|
|
<img class="sheet-competence-img" src="{{comp.img}}" data-tooltip="{{comp.name}}"/>
|
2022-10-05 19:29:16 +02:00
|
|
|
<span>{{comp.name}}</span>
|
|
|
|
</a>
|
2023-01-24 01:43:10 +01:00
|
|
|
<input class="competence-carac creature-carac" type="text" compname="{{comp.name}}" name="{{comp._id}}.carac"
|
|
|
|
value="{{comp.system.carac_value}}" data-dtype="number"
|
2022-10-05 19:29:16 +02:00
|
|
|
{{#unless @root.options.vueDetaillee}}disabled{{/unless}}/>
|
2023-06-13 01:55:38 +02:00
|
|
|
<input class="competence-value creature-niveau" type="text" data-dtype="number"
|
|
|
|
compname="{{comp.name}}" name="{{comp._id}}.niveau"
|
2023-11-11 00:03:14 +01:00
|
|
|
value="{{plusMoins comp.system.niveau}}"
|
2023-06-13 01:55:38 +02:00
|
|
|
{{#unless @root.options.vueDetaillee}}disabled{{/unless}}
|
|
|
|
/>
|
|
|
|
<input class="competence-damage creature-dommages" type="text" data-dtype="number"
|
|
|
|
{{#if comp.isdommages}}
|
|
|
|
compname="{{comp.name}}" name="{{comp._id}}.dommages"
|
2023-11-11 00:03:14 +01:00
|
|
|
value="{{plusMoins comp.system.dommages}}"
|
2023-06-13 01:55:38 +02:00
|
|
|
{{#unless @root.options.vueDetaillee}}disabled{{/unless}}
|
|
|
|
{{else}}disabled{{/if}}
|
|
|
|
/>
|
|
|
|
{{#if @root.options.vueDetaillee}}
|
|
|
|
<div class="item-controls">
|
2024-03-09 19:49:31 +01:00
|
|
|
<a class="item-edit" data-tooltip="Modifier"><i class="fas fa-edit"></i></a>
|
|
|
|
<a class="item-delete" data-tooltip="Supprimer"><i class="fas fa-trash"></i></a>
|
2023-06-13 01:55:38 +02:00
|
|
|
</div>
|
|
|
|
{{/if}}
|
2022-10-05 19:29:16 +02:00
|
|
|
</li>
|
|
|
|
{{/each}}
|
2024-12-18 17:26:28 +01:00
|
|
|
</ul>
|