foundryvtt-reve-de-dragon/templates/actor/competence-categorie.html
Vincent Vandemeulebrouck 9fc21e6d97 Gestion des actions sur les items
- dans la liste d'équipement, liste d'actions fournie par code
- support d'actions multiples
- listener générique

Utilisation du mécanisme pour tous les items, standardisation de
l'apparence des boutons d'items
2025-01-19 00:38:24 +01:00

33 lines
1.0 KiB
HTML

{{#if competences}}
<div class="flex-shrink categorie-competence">
<ul class="item-list alterne-list competence-list">
<li class="item flexrow list-item ">
<span>
<header class="competence-header flexrow">
<span class="competence-title">{{categorie}}</span>
</header>
</span>
{{#if @root.options.vueDetaillee}}
<span class="competence-value" >Niv.</span>
<span class="competence-xp">xp</span>
{{#if (eq categorie 'Draconic')}}
<span class="competence-xp-sort">sort</span>
{{/if}}
<div class="item-controls">
<i class="fa-regular fa-arrow-alt-circle-up"></i>
<span class="competence-archetype">Arch.</span>
<i class="fa-regular fa-edit"></i>
{{#if @root.options.isGM}}
<i class="fa-regular fa-trash"></i>
{{/if}}
</div>
{{/if}}
</li>
{{#each competences as |comp key|}}
{{> "systems/foundryvtt-reve-de-dragon/templates/actor/competence.hbs" comp}}
{{/each}}
<li></li>
</ul>
</div>
{{/if}}