Move the tab-specific partials into a subfolder structure

This commit is contained in:
Oliver 2026-04-25 14:01:47 -06:00
parent bda5d05969
commit 0220083daf
2 changed files with 1 additions and 1 deletions

View file

@ -0,0 +1,50 @@
<li
class="item"
data-item-uuid="{{uuid}}"
>
<div class="summary">
<taf-toggle
data-foreign-name="system.equipped"
data-foreign-uuid="{{uuid}}"
var:size="8px"
var:padding="2px"
{{checked equipped}}
></taf-toggle>
<img
src="{{img}}"
alt=""
>
<div class="title">
<span class="name">{{ name }}</span>
<span class="subtitle">{{ weight }}</span>
</div>
<input
id="{{uuid}}-quantity"
type="number"
value="{{quantity}}"
data-foreign-name="system.quantity"
data-foreign-uuid="{{uuid}}"
>
<button
type="button"
class="expand-button"
data-action="toggleExpand"
data-expanded="{{isExpanded}}"
{{disabled (not canExpand)}}
aria-label="{{localize "taf.Apps.PlayerSheet.toggle-item-description"}}"
>
<taf-icon
name="icons/chevron"
var:colour="var(--item-card-header-input-color)"
></taf-icon>
</button>
</div>
{{#if canExpand}}
<div
class="full-details"
data-expanded="{{isExpanded}}"
>
{{{ description }}}
</div>
{{/if}}
</li>