ui

package
v0.0.0-...-b49271d Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ItemImagePage

type ItemImagePage struct {
	ui.Page
	ItemImage model.ItemImage
}

ItemImagePage represents an image page

func NewItemImagePage

func NewItemImagePage(userID string, itemImage model.ItemImage) *ItemImagePage

NewItemImagePage returns new image page

type ItemPage

type ItemPage struct {
	ui.Page
	Item model.Item
}

ItemPage represents item page

func NewItemPage

func NewItemPage(userID string, item model.Item) *ItemPage

NewItemPage returns a new item page

type ItemsPage

type ItemsPage struct {
	ui.Page
	ItemCategories   []model.Category
	Categories       []string
	Brands           []string
	Colors           []string
	SelectedCategory string
	SelectedBrand    string
	SelectedColor    string
	SelectedOutfit   *model.Outfit
}

ItemsPage represents an items page

type OutfitPage

type OutfitPage struct {
	ui.Page
	Outfit model.Outfit
}

OutfitPage represents outfit page

func NewOutfitPage

func NewOutfitPage(userID string, outfit model.Outfit) *OutfitPage

NewOutfitPage returns a new outfit page

type OutfitsPage

type OutfitsPage struct {
	ui.Page
	Outfits []model.Outfit
}

OutfitsPage represents an outfits page

type WeightEntriesPage

type WeightEntriesPage struct {
	ui.Page
	Weights             []model.WeightEntry
	WeightChartDataJSON string
}

WeightEntriesPage represents weights page

func NewWeightEntriesPage

func NewWeightEntriesPage(userID string, weights []model.WeightEntry) (*WeightEntriesPage, error)

NewWeightEntriesPage returns a new weights page

type WeightPage

type WeightPage struct {
	ui.Page
	Weight model.WeightEntry
}

WeightPage represents weight page

func NewWeightPage

func NewWeightPage(userID string, weight model.WeightEntry) *WeightPage

NewWeightPage returns a new weight page

Jump to

Keyboard shortcuts

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