Implemented container editing
This commit is contained in:
@@ -3,7 +3,13 @@
|
||||
<div id="inventory" class="scroll-y" fit>
|
||||
<paper-shadow class="equipment card double">
|
||||
Armor:<br>
|
||||
<paper-item>{{#if armor}}{{armor.name}}{{else}}none{{/if}}</paper-item>
|
||||
{{#if armor}}
|
||||
{{#with armor}}
|
||||
<paper-item class="inventoryItem">{{name}}</paper-item>
|
||||
{{/with}}
|
||||
{{else}}
|
||||
<paper-item>none</paper-item>
|
||||
{{/if}}
|
||||
Equipment:<br>
|
||||
{{#each equipment}}
|
||||
<paper-item class="inventoryItem">
|
||||
@@ -14,7 +20,7 @@
|
||||
<div class="containers">
|
||||
{{#each containers}}
|
||||
<paper-shadow class="card">
|
||||
<h3>{{name}}</h3>
|
||||
<h2 class="containerName">{{name}}</h2>
|
||||
{{#each items ../_id _id}}
|
||||
<paper-item class="inventoryItem">
|
||||
{{#if gt1 quantity}}{{quantity}}{{/if}} {{pluralName}}
|
||||
|
||||
Reference in New Issue
Block a user