93 lines
2.1 KiB
Handlebars
93 lines
2.1 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>
|
|
<span class="used">{{computed.capacity.used}}</span>
|
|
<span aria-label="inventory slots used out of">/</span>
|
|
<span class="total">{{computed.capacity.max}}</span>
|
|
</div>
|
|
<div class="e-1dp panel bytes-panel">
|
|
<label
|
|
for="{{meta.idp}}-player-inventory-supplies-input"
|
|
>
|
|
Supplies
|
|
</label>
|
|
<button
|
|
type="button"
|
|
class="icon"
|
|
data-decrement="system.supplies"
|
|
aria-label="Decrease supply count by one"
|
|
>
|
|
<div aria-hidden="true" class="icon icon--14">
|
|
{{{ icons.minus }}}
|
|
</div>
|
|
</button>
|
|
<input
|
|
type="number"
|
|
id="{{meta.idp}}-player-inventory-supplies-input"
|
|
value="{{system.supplies}}"
|
|
>
|
|
<button
|
|
type="button"
|
|
class="icon"
|
|
data-increment="system.supplies"
|
|
aria-label="Increase supply count by one"
|
|
>
|
|
<div aria-hidden="true" class="icon icon--14">
|
|
{{{ icons.create }}}
|
|
</div>
|
|
</button>
|
|
</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">
|
|
All
|
|
</label>
|
|
{{#each computed.itemFilters as | filter |}}
|
|
<label class="{{@key}}-filter">
|
|
<input
|
|
type="checkbox"
|
|
data-filter-toggle="{{@key}}"
|
|
{{checked filter.active}}
|
|
>
|
|
{{filter.label}}
|
|
</label>
|
|
{{/each}}
|
|
</div>
|
|
</div>
|