html

package
v0.0.0-...-5bff3f5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ClientError         = parse("template.html", "layout.html", "client.html", "client/error.html")
	ClientHello         = parse("template.html", "layout.html", "client.html", "client/hello.html")
	ClientCreate        = parse("template.html", "layout.html", "client.html", "client/collection-create.html")
	ClientCollCancel    = parse("template.html", "layout.html", "client.html", "client/collection-cancel.html")
	ClientCollDelete    = parse("template.html", "layout.html", "client.html", "client/collection-delete.html")
	ClientCollEdit      = parse("template.html", "layout.html", "client.html", "client/collection-edit.html")
	ClientCollLogin     = parse("template.html", "layout.html", "client.html", "client/collection-login.html")
	ClientCollMessage   = parse("template.html", "layout.html", "client.html", "client/collection-message.html")
	ClientCollPayBTCPay = parse("template.html", "layout.html", "client.html", "client/collection-pay-btcpay.html")
	ClientCollSubmit    = parse("template.html", "layout.html", "client.html", "client/collection-submit.html")
	ClientCollView      = parse("template.html", "layout.html", "client.html", "client/collection-view.html")
	ClientSite          = parse("template.html", "layout.html", "client.html", "client/site.html")
	ClientStateGet      = parse("template.html", "layout.html", "client.html", "client/state-get.html")
	ClientStatePost     = parse("template.html", "layout.html", "client.html", "client/state-post.html")

	StoreError                = parse("template.html", "layout.html", "store.html", "store/error.html")
	StoreIndex                = parse("template.html", "layout.html", "store.html", "store/index.html")
	StoreLogin                = parse("template.html", "layout.html", "store.html", "store/login.html")
	StoreCollAccept           = parse("template.html", "layout.html", "store.html", "store/collection-accept.html")
	StoreCollConfirmPayment   = parse("template.html", "layout.html", "store.html", "store/collection-confirm-payment.html")
	StoreCollConfirmPickup    = parse("template.html", "layout.html", "store.html", "store/collection-confirm-pickup.html")
	StoreCollConfirmReshipped = parse("template.html", "layout.html", "store.html", "store/collection-confirm-reshipped.html")
	StoreCollDelete           = parse("template.html", "layout.html", "store.html", "store/collection-delete.html")
	StoreCollEdit             = parse("template.html", "layout.html", "store.html", "store/collection-edit.html")
	StoreCollMarkSpam         = parse("template.html", "layout.html", "store.html", "store/collection-mark-spam.html")
	StoreCollMessage          = parse("template.html", "layout.html", "store.html", "store/collection-message.html")
	StoreCollPriceRised       = parse("template.html", "layout.html", "store.html", "store/collection-price-rised.html")
	StoreCollReturn           = parse("template.html", "layout.html", "store.html", "store/collection-return.html")
	StoreCollReject           = parse("template.html", "layout.html", "store.html", "store/collection-reject.html")
	StoreCollSubmit           = parse("template.html", "layout.html", "store.html", "store/collection-submit.html")
	StoreCollView             = parse("template.html", "layout.html", "store.html", "store/collection-view.html")
	StoreTaskConfirmArrived   = parse("template.html", "layout.html", "store.html", "store/task-confirm-arrived.html")
	StoreTaskConfirmOrdered   = parse("template.html", "layout.html", "store.html", "store/task-confirm-ordered.html")
	StoreTaskConfirmPickup    = parse("template.html", "layout.html", "store.html", "store/task-confirm-pickup.html")
	StoreTaskConfirmReshipped = parse("template.html", "layout.html", "store.html", "store/task-confirm-reshipped.html")
	StoreTaskMarkFailed       = parse("template.html", "layout.html", "store.html", "store/task-mark-failed.html")
)

Functions

func FmtHuman

func FmtHuman(cents int) string

func FmtMachine

func FmtMachine(cents int) string

Types

type TemplateData

type TemplateData struct {
	AuthorizedCollID string
}

func (TemplateData) Locale

func (TemplateData) Locale() string

func (TemplateData) Locales

func (TemplateData) Locales() []string

func (TemplateData) Map

func (td TemplateData) Map(args ...string) (template.HTML, error)

copied

func (TemplateData) Website

func (TemplateData) Website() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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