Alignement ligne en-tête

Dans les équipements, alignement de la ligne d'en tête sur
les valeurs indiquées, pour mieux comprendre les options
équiper/éditer/supprimer (maintenant bien alignées)
This commit is contained in:
Vincent Vandemeulebrouck 2021-02-02 19:15:41 +01:00
parent b0bb369e33
commit ee3de585a6

View File

@ -906,11 +906,11 @@
</div> </div>
<ul class="item-list alterne-list"> <ul class="item-list alterne-list">
<li class="competence-header flexrow"> <li class="competence-header flexrow">
<img class="sheet-competence-img" src="systems/foundryvtt-reve-de-dragon/icons/objets/sac_a_dos.webp" title="Equipement"/>
<span class="competence-title competence-label">Nom</span> <span class="competence-title competence-label">Nom</span>
<span class="competence-title competence-label">Q.</span> <span class="competence-title competence-label">Q.</span>
<span class="competence-title competence-value">Enc.</span> <span class="competence-title competence-label">Enc.</span>
<span class="competence-title competence-value">Equiper</span> <span class="competence-title competence-label">Equiper/Editer/Suppr.</span>
<span class="competence-title competence-value">Editer/Suppr.</span>
</li> </li>
{{#each data.objets as |item id|}} {{#each data.objets as |item id|}}
{{#unless item.estContenu}} {{#unless item.estContenu}}
@ -920,11 +920,11 @@
<span class="item-name">{{item.name}}</span> <span class="item-name">{{item.name}}</span>
<span class="item-quantite">{{item.data.quantite}}</span> <span class="item-quantite">{{item.data.quantite}}</span>
<span class="item-quantite">{{numberFormat item.data.encTotal decimals=2}}</span> <span class="item-quantite">{{numberFormat item.data.encTotal decimals=2}}</span>
<div class="item-controls"> <span class="item-controls">
<a class="item-control item-equip" title="Equiper">{{#if item.data.equipe}}<i class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a> <a class="item-control item-equip" title="Equiper">{{#if item.data.equipe}}<i class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
<a class="item-control item-edit" title="Editer"><i class="fas fa-edit"></i></a> <a class="item-control item-edit" title="Editer"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Supprimer"><i class="fas fa-trash"></i></a> <a class="item-control item-delete" title="Supprimer"><i class="fas fa-trash"></i></a>
</div> </span>
</li> </li>
{{/if}} {{/if}}
{{/unless}} {{/unless}}