Added media icons to sidebar (closes #52)

This commit is contained in:
2017-11-13 16:46:33 +01:00
parent 7f8c582917
commit 6ced454e97
10 changed files with 116 additions and 46 deletions

View File

@ -1,6 +1,6 @@
component Inventory(inventory *arn.Inventory, viewUser *arn.User, user *arn.User)
ShopTabs(user)
h1.page-title Inventory
.inventory(data-api="/api/inventory/" + viewUser.ID)
@ -13,6 +13,6 @@ component Inventory(inventory *arn.Inventory, viewUser *arn.User, user *arn.User
Icon(slot.Item().Icon)
if slot.Quantity > 1
.inventory-slot-quantity= slot.Quantity
.footer.text-center.mountable
.footer.mountable
p You can consume items by double-clicking them.