.dungeon/templates/actors/char-sheet/v2/partials/inventory/player.v2.pc.hbs
2024-03-17 11:21:41 -06:00

58 lines
No EOL
1.3 KiB
Handlebars

<div class="tab" data-group="inventory" data-tab="player">
<div class="e-1dp panel containers-panel">
<h2>Containers</h2>
</div>
{{> dotdungeon.pc.v2.item-list }}
<div class="e-1dp panel capacity-panel">
<h2>Capacity</h2>
{{!-- This will need some aria love --}}
<span class="used">X</span>
<span>/</span>
<span class="total">Y</span>
</div>
<div class="e-1dp panel bytes-panel">
<label
for="{{meta.idp}}-player-inventory-bytes-input"
>
Bytes
</label>
<button
type="button"
class="equal-padding"
data-decrement="system.bytes"
aria-label="Decrease byte count by one"
>
<div aria-hidden="true" class="icon icon--14">
{{{ icons.minus }}}
</div>
</button>
<input
type="number"
id="{{meta.idp}}-player-inventory-bytes-input"
value="{{system.bytes}}"
>
<button
type="button"
class="equal-padding"
data-increment="system.bytes"
aria-label="Increase byte count by one"
>
<div aria-hidden="true" class="icon icon--14">
{{{ icons.create }}}
</div>
</button>
</div>
<div class="e-1dp panel filter-panel">
<h2>Show</h2>
<label>
<input type="checkbox" name="">
All
</label>
{{#each computed.itemFilters as | filter |}}
<label class="{{filter.key}}-filter">
<input type="checkbox" {{checked filter.active}}>
{{filter.label}}
</label>
{{/each}}
</div>
</div>