Lay the foundation for the per-item templating in the inventory
This commit is contained in:
parent
5e2fb95c73
commit
6d14d70f3e
5 changed files with 20 additions and 7 deletions
|
|
@ -10,11 +10,11 @@
|
|||
<h2>{{filter.label}}</h2>
|
||||
<hr>
|
||||
<div class="{{@key}}-list">
|
||||
<div>Item</div>
|
||||
<div>Item</div>
|
||||
<div>Item</div>
|
||||
<div>Item</div>
|
||||
<div>Item</div>
|
||||
{{#each (lookup @root.items @key) as | item |}}
|
||||
{{> (concat "dotdungeon.pc.v2." @../key) @root item=item}}
|
||||
{{else}}
|
||||
No items found
|
||||
{{/each}}
|
||||
</div>
|
||||
</section>
|
||||
{{/if}}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,6 @@
|
|||
<div class="material">
|
||||
Material Name
|
||||
<button type="button">-</button>
|
||||
X
|
||||
<button type="button">+</button>
|
||||
</div>
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
<div class="untyped">
|
||||
{{item.name}}
|
||||
<button type="button">-</button>
|
||||
X
|
||||
<button type="button">+</button>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue