Ajout pour la magie

This commit is contained in:
2025-09-13 00:24:08 +02:00
parent 44a641a0ca
commit d04731f475
67 changed files with 260 additions and 217 deletions

View File

@@ -520,14 +520,11 @@
<div class="sheet-box color-bg-archetype">
<ul class="item-list alternate-list">
{{#each sorts as |niveau key|}}
<li class="item flexrow list-item items-title-bg">
<span class="item-name-label-header item-field-label-long2-img">
<h3><label class="items-title-text">Nom du sort</label></h3>
<h4><label class="items-title-text">Niveau {{key}} {{niveau.nomNiveau}}</label></h4>
</span>
<span class="item-field-label-medium">
<label class="short-label">Niveau</label>
</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
{{#if @root.isGM}}
<a class="item-control item-add" data-type="sort" data-sort-competence={{magie.name}}
@@ -535,16 +532,12 @@
{{/if}}
</div>
</li>
{{#each sorts as |sort key|}}
{{#each niveau.sorts as |sort key|}}
<li class="item flexrow " data-item-id="{{sort._id}}" data-item-type="sort">
<img class="item-name-img" src="{{sort.img}}" />
<span class="item-field-label-long2 roll-style"><a class="roll-sort">{{sort.name}}</a></span>
<span class="item-field-label-medium">{{upperFirst sort.system.niveau}}</span>
{{#if (eq system.competence "Magie du Clan")}}
<span class="item-field-label-medium">{{upperFirst sort.system.souffle}}</span>*
{{/if}}
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-edit" title="Editer l'item"><i class="fas fa-edit"></i></a>
@@ -552,6 +545,7 @@
</div>
</li>
{{/each}}
{{/each}}
</ul>
</div>
{{/each}}