3db03f5159
- Fixed grid-2 to grid-2col CSS class usage
- Replaced improper <p><a> tags with <div><a> in item lists (actor-weapons, actor-defenses, group-items, group-vehicles)
- Fixed typos: smarttlk -> smarttl, compétence -> Compétence
- Fixed duplicate class attributes
- Standardized HTML comments to Handlebars comments ({{!-- --}})
- Added missing localizations for Character and Skills headers
- Removed orphan {{/if}} tag in character-id.hbs
- Created npc-skill-category.hbs partial to eliminate 150+ lines of duplicated skill category code in actor-npc-sheet.hbs
- Created item-list.hbs partial for reusable item list display
- Fixed html.find(...).forEach error in roll.mjs by ensuring jQuery object
- Added .history/ to .gitignore
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
54 lines
1.8 KiB
Handlebars
54 lines
1.8 KiB
Handlebars
<ol class="items-list">
|
|
<li class="item flexrow items-header">
|
|
<div
|
|
class="item-name"
|
|
style="flex:4;"
|
|
>{{ localize 'IDENTITY.name'}}</div>
|
|
<div class="item-clew">{{ localize 'VERMINE.clew'}}</div>
|
|
<div class="item-mobility">{{ localize 'VERMINE.mobility'}}</div>
|
|
<div class="item-rarity">{{ localize 'VERMINE.rarity'}}</div>
|
|
<div class="item-reliability">{{ localize 'VERMINE.reliability'}}</div>
|
|
<div class="item-controls">
|
|
<a
|
|
class="item-control item-create"
|
|
title="Create item"
|
|
data-type="defense"
|
|
><i class="fas fa-plus"></i></a>
|
|
</div>
|
|
</li>
|
|
{{#each defenses as |item id|}}
|
|
<li
|
|
class="item flexrow flex-group-center"
|
|
data-item-id="{{item._id}}"
|
|
>
|
|
<div
|
|
class="item-name"
|
|
style="flex:4;"
|
|
>
|
|
<div class="item-image item-control item-roll">
|
|
<a data-roll-type="item"><img
|
|
src="{{item.img}}"
|
|
title="{{item.name}}"
|
|
width="24"
|
|
height="24"
|
|
/></a>
|
|
</div>
|
|
<a title="Edit Item">{{item.name}}</a>
|
|
</div>
|
|
<div><a class="item-control item-edit" title="Edit Item">{{item.system.level}}</a></div>
|
|
<div><a class="item-control item-edit" title="Edit Item">{{item.system.mobility}}</a></div>
|
|
<div><a class="item-control item-edit" title="Edit Item">{{item.system.rarity.value}}</a></div>
|
|
<div><a class="item-control item-edit" title="Edit Item">{{item.system.reliability}}</a></div>
|
|
<div class="item-controls">
|
|
<a
|
|
class="item-control item-delete"
|
|
title="Delete Item"
|
|
><i class="fas fa-trash"></i></a>
|
|
<a
|
|
class="item-control item-edit"
|
|
title="Delete Item"
|
|
><i class="fas fa-edit"></i></a>
|
|
</div>
|
|
</li>
|
|
{{/each}}
|
|
</ol> |