diff --git a/pages/inventory/inventory.pixy b/pages/inventory/inventory.pixy index 7eada3df..24dc3406 100644 --- a/pages/inventory/inventory.pixy +++ b/pages/inventory/inventory.pixy @@ -11,4 +11,7 @@ component Inventory(inventory *arn.Inventory, viewUser *arn.User, user *arn.User .inventory-slot.mountable(title=slot.Item().Name, draggable="true", data-index=index, data-item-id=slot.ItemID, data-consumable=slot.Item().Consumable) Icon(slot.Item().Icon) if slot.Quantity > 1 - .inventory-slot-quantity= slot.Quantity \ No newline at end of file + .inventory-slot-quantity= slot.Quantity + + .footer.text-center.mountable + p You can consume items by double-clicking them. \ No newline at end of file diff --git a/pages/settings/settings.pixy b/pages/settings/settings.pixy index e3c78740..75bd1a37 100644 --- a/pages/settings/settings.pixy +++ b/pages/settings/settings.pixy @@ -137,6 +137,30 @@ component Settings(user *arn.User) .profile-image-container.avatar-preview img.profile-image.mountable(src=strings.Replace(user.Settings().Avatar.SourceURL, "http://", "https://", 1), alt="Avatar preview") + .widget.mountable(data-api="/api/settings/" + user.ID) + h3.widget-title + Icon("star") + span PRO + + + if user.IsPro() + p Thank you for your support! + + .widget-input + label + span Your PRO account expires in + span.utc-date(data-date=user.ProExpires) + span . + a.button.ajax(href="/shop") + Icon("star") + span Extend PRO account duration + else + .widget-input + label Would you like to support the site development? + a.button.ajax(href="/shop") + Icon("star") + span Go PRO + //- .widget.mountable(data-api="/api/settings/" + user.ID) //- h3.widget-title //- Icon("cogs")