Finish the primary design of the item tab, still awaiting an equipped toggle

This commit is contained in:
Oliver 2026-03-19 23:31:50 -06:00
parent 704ff4672a
commit 2b0fbdfa8b
6 changed files with 60 additions and 14 deletions

View file

@ -1,25 +1,35 @@
<div
class="tab {{ifThen tabActive "active" ""}}"
class="tab items-tab {{ifThen tabActive "active" ""}}"
data-group="primary"
data-tab="items"
>
<section>
Total Weight: {{totalWeight}}
/
<section class="inventory-summary">
<h3 class="grow">
Carrying Capacity:
</h3>
<div>
({{carryCapacityPercent}}% Used)
</div>
<input
type="text"
value="{{totalWeight}}"
disabled
>
<div aria-hidden="true">
/
</div>
<input
type="number"
name="system.carryCapacity"
value="{{system.carryCapacity}}"
>
({{ carryCapacityPercent }}%)
</section>
{{#each itemGroups as | group |}}
<section>
<div class="item-list-header">
<div class="grow">
<h3 class="grow">
{{ group.name }}
</div>
</h3>
<span class="weight">
{{ group.weight }}
</span>