html

package
v0.0.0-...-3ce0f23 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Error            = parse("digitalgoods.proxysto.re/*.html", "layout.html", "error.html")
	CustOrder        = parse("digitalgoods.proxysto.re/*.html", "layout.html", "customer/order.html")
	CustPurchase     = parse("digitalgoods.proxysto.re/*.html", "layout.html", "customer/purchase.html")
	Layout           = parse("layout.html")
	StaffIndex       = parse("digitalgoods.proxysto.re/*.html", "layout.html", "staff.html", "staff/index.html")
	StaffView        = parse("digitalgoods.proxysto.re/*.html", "layout.html", "staff.html", "staff/view.html")
	StaffMarkPaid    = parse("digitalgoods.proxysto.re/*.html", "layout.html", "staff.html", "staff/mark-paid.html")
	StaffLogin       = parse("digitalgoods.proxysto.re/*.html", "layout.html", "staff/login.html")
	StaffSelect      = parse("digitalgoods.proxysto.re/*.html", "layout.html", "staff.html", "staff/select.html")
	StaffUploadImage = parse("digitalgoods.proxysto.re/*.html", "layout.html", "staff.html", "staff/upload-image.html")
	StaffUploadText  = parse("digitalgoods.proxysto.re/*.html", "layout.html", "staff.html", "staff/upload-text.html")
)
View Source
var Files embed.FS

Functions

This section is empty.

Types

type CustOrderData

type CustOrderData struct {
	ssg.TemplateData

	Articles             func() ([]*digitalgoods.Article, error)
	AvailableEUCountries []countries.CountryWithName
	AvailableNonEU       bool
	Catalog              digitalgoods.Catalog
	Stock                digitalgoods.Stock

	Cart         *digitalgoods.Cart
	OtherCountry map[string]string // user input: variant ID -> country ID
	Area         string
	EUCountry    string
	CountryErr   bool
	OrderErr     bool
}

type CustPurchaseData

type CustPurchaseData struct {
	ssg.TemplateData
	GroupedOrder   []digitalgoods.OrderedArticle
	Purchase       *digitalgoods.Purchase
	PaymentMethod  payment.Method
	PaymentMethods []payment.Method
	URL            string
	PaysrvErr      error
	PreferOnion    bool
	ActiveTab      string
	TabBTCPay      string
	TabCash        string
	TabSepa        string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL