Update templates/actor-sheet.html

This commit is contained in:
Archonoir-dev 2022-02-21 21:59:04 +00:00
parent d3ffc93738
commit b67fffb26c

View File

@ -156,10 +156,6 @@
{{/select}} {{/select}}
</select> </select>
</li> </li>
<li class="item flexrow list-item">
<span>Bouclier ?</span>
<span class="attribute-value checkbox"><input type="checkbox" name="data.caracsecondaire.{{key}}.bouclierequipe" {{checked caracsec.bouclierequipe}}/></span>
</li>
<li class="item flexrow list-item"> <li class="item flexrow list-item">
<span class="stat-label flexrow tooltip tooltip-nobottom" name="{{key}}-total">Total : {{caracsec.total}}</span> <span class="stat-label flexrow tooltip tooltip-nobottom" name="{{key}}-total">Total : {{caracsec.total}}</span>
</li> </li>
@ -372,6 +368,31 @@
</li> </li>
{{/each}} {{/each}}
</ul> </ul>
<div><h4>Bouclier (Bonus de défense physique : {{dpBouclier}}) </h4></div>
<ul class="item-list alternate-list">
<li class="stat flexrow" >
<span class="stat-label flexrow">Nom</span>
<span class="stat-label flexrow">Catégorie</span>
<span class="stat-label flexrow">Bonus DP</span>
<div class="item-controls">
</div>
</li>
{{#each bouclier as |bouclier key|}}
<li class="item stat flexrow list-item" data-armure-id="{{bouclier.id}}" data-item-id="{{bouclier.id}}">
<img class="sheet-competence-img" src="{{bouclier.img}}"/>
<span class="stat-label combat-label flexrow tooltip tooltip-nobottom"><a name="{{bouclier.name}}">{{bouclier.name}}</a></span>
<span class="stat-label combat-label">&nbsp;{{bouclier.data.data.categorie}}</span>
<span class="stat-label combat-label">&nbsp;{{bouclier.data.data.defensebonus}}</span>
<div class="item-controls">
<a class="item-control item-equip" title="Worn">{{#if bouclier.data.data.equipe}}<i class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
</div> </div>
</div> </div>