Improved admin stuff
This commit is contained in:
20
pages/admin/purchases.pixy
Normal file
20
pages/admin/purchases.pixy
Normal file
@ -0,0 +1,20 @@
|
||||
component GlobalPurchaseHistory(purchases []*arn.Purchase)
|
||||
AdminTabs
|
||||
|
||||
h1.page-title All Purchases
|
||||
|
||||
table
|
||||
thead
|
||||
tr.mountable
|
||||
th User
|
||||
th Icon
|
||||
th Item
|
||||
th.history-quantity Quantity
|
||||
th.history-price Price
|
||||
th.history-date Date
|
||||
tbody
|
||||
each purchase in purchases
|
||||
tr.shop-item.mountable(data-item-id=purchase.ItemID)
|
||||
td
|
||||
a.ajax(href=purchase.User().Link())= purchase.User().Nick
|
||||
PurchaseInfo(purchase)
|
Reference in New Issue
Block a user