-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Wrycu
committed
Apr 27, 2021
1 parent
1fbf640
commit 9cd41dd
Showing
2 changed files
with
46 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,41 @@ | ||
|
||
<h2>Store Inventory</h2> | ||
|
||
<table border="1"> | ||
<tbody> | ||
<tr> | ||
<td>Image</td> | ||
<td>Item</td> | ||
<td>Type</td> | ||
<td>Price</td> | ||
<td>Roll Result</td> | ||
<td>Action</td> | ||
</tr> | ||
{{#each inventory as |item|}} | ||
<tr> | ||
<td><img height="64" src="{{item.item.image}}" width="128"></td> | ||
<td> | ||
<a class="entity-link" data-id="{{item.item.id}}" data-pack="{{item.item.compendium}}" draggable="true"> | ||
{{item.item.name}} | ||
</a> | ||
</td> | ||
<td>{{item.item.type}}</td> | ||
<td>{{item.price}}</td> | ||
<td>{{{item.roll}}}</td> | ||
<td> | ||
{{log 'hello' actors}} | ||
</td> | ||
</tr> | ||
{{/each}} | ||
</tbody> | ||
</table> | ||
|
||
|
||
<h2>Store Inventory</h2> | ||
|
||
<table border="1"> | ||
<tbody> | ||
<tr> | ||
<td>Image</td> | ||
<td>Item</td> | ||
<td>Type</td> | ||
<td>Price</td> | ||
<td>Roll Result</td> | ||
<!--<td>Action</td>--> | ||
</tr> | ||
{{#inventory}} | ||
<tr> | ||
<td><img height="64" src="{{item.image}}" width="128"></td> | ||
<td> | ||
<a class="entity-link" data-id="{{item.id}}" data-pack="{{item.compendium}}" draggable="true"> | ||
{{item.name}} | ||
</a> | ||
</td> | ||
<td>{{item.type}}</td> | ||
<td>{{price}}</td> | ||
<td>{{{roll}}}</td> | ||
<td> | ||
<!-- | ||
this section is non-functional as of now | ||
<select id="shop_actor" name="shop_actor"> | ||
{{#each ../actors}} | ||
<option value="{{this.data.id}}">{{this.data.name}}</option> | ||
{{/each}} | ||
</select> | ||
<div class="dialog"><div class="dialog-buttons"> | ||
<button class="dialog-button three" data-button="three"><i class="fas fa-plus"></i>Send</button> | ||
</div></div> | ||
--> | ||
</td> | ||
</tr> | ||
{{/inventory}} | ||
</tbody> | ||
</table> |