web

package
v0.0.0-...-eef500e Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

templ: version: v0.2.648

templ: version: v0.2.648

templ: version: v0.2.648

templ: version: v0.2.648

templ: version: v0.2.648

templ: version: v0.2.648

templ: version: v0.2.648

templ: version: v0.2.648

templ: version: v0.2.648

templ: version: v0.2.648

templ: version: v0.2.648

templ: version: v0.2.648

templ: version: v0.2.648

templ: version: v0.2.648

templ: version: v0.2.648

templ: version: v0.2.648

templ: version: v0.2.648

templ: version: v0.2.648

templ: version: v0.2.648

templ: version: v0.2.648

templ: version: v0.2.648

templ: version: v0.2.648

templ: version: v0.2.648

templ: version: v0.2.648

templ: version: v0.2.648

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func About

func About() templ.Component

func AlignLeft

func AlignLeft() templ.CSSClass

func Base

func Base(loggedIn bool) templ.Component

func Btn

func Btn() templ.CSSClass

func BtnSecondary

func BtnSecondary() templ.CSSClass

func BtnWarn

func BtnWarn() templ.CSSClass

func Card

func Card() templ.CSSClass

func CardDescription

func CardDescription() templ.CSSClass

func CardDetailsSection

func CardDetailsSection() templ.CSSClass

func CardImg

func CardImg() templ.CSSClass

func CardImgSection

func CardImgSection() templ.CSSClass

func CardLocation

func CardLocation() templ.CSSClass

func CardTitle

func CardTitle() templ.CSSClass

func Column

func Column() templ.CSSClass

func ContainerHeader

func ContainerHeader() templ.CSSClass

func ContainerPrimary

func ContainerPrimary() templ.CSSClass

func ContainerSecondary

func ContainerSecondary() templ.CSSClass

func CreateBtn

func CreateBtn() templ.CSSClass

func Cta

func Cta() templ.CSSClass

func DeleteBtn

func DeleteBtn() templ.CSSClass

func DescriptionField

func DescriptionField() templ.CSSClass

func EditBtn

func EditBtn() templ.CSSClass

func EditGarden

func EditGarden(g *models.Garden, err string) templ.Component

func EditGardenInventoryItemForm

func EditGardenInventoryItemForm(g string, i *models.Item, err string) templ.Component

func EditProfileForm

func EditProfileForm(u models.User, err string) templ.Component

func Error

func Error() templ.CSSClass

func FeatureDescriptor

func FeatureDescriptor() templ.CSSClass

func Features

func Features() templ.CSSClass

func FieldDescriptor

func FieldDescriptor() templ.CSSClass

func FieldLabel

func FieldLabel() templ.CSSClass

func Fields

func Fields() templ.CSSClass

func FieldsContainer

func FieldsContainer() templ.CSSClass

func ForgotPassword

func ForgotPassword(err, info string) templ.Component

func ForgotPasswordBtn

func ForgotPasswordBtn() templ.CSSClass

func FullSpan

func FullSpan() templ.CSSClass

func Garden

func Garden(g *models.Garden, inventory []*models.Item, query string) templ.Component

func GardenCard

func GardenCard(g *models.Garden) templ.Component
func GardenCreateLink() templ.CSSClass

func GardenImg

func GardenImg() templ.CSSClass

func GardenInventory

func GardenInventory(id, query string, items []*models.Item) templ.Component

func GardenInventoryItem

func GardenInventoryItem(g string, i *models.Item) templ.Component

func GardenListing

func GardenListing(gardens []*models.Garden, query string, demo bool) templ.Component

func GardenPic

func GardenPic() templ.CSSClass
func Header(loggedIn bool) templ.Component

func HeaderBrand

func HeaderBrand() templ.CSSClass
func HeaderLink() templ.CSSClass

func HxIndicator

func HxIndicator() templ.Component

func ImageUploader

func ImageUploader(img string) templ.Component

func ImageUploaderLabel

func ImageUploaderLabel() templ.CSSClass

func Info

func Info() templ.CSSClass

func Input

func Input() templ.CSSClass

func InputBig

func InputBig() templ.CSSClass

func InputLabel

func InputLabel() templ.CSSClass

func InputSecondary

func InputSecondary() templ.CSSClass

func InputSmall

func InputSmall() templ.CSSClass

func InventoryField

func InventoryField() templ.CSSClass

func InventoryItemName

func InventoryItemName() templ.CSSClass

func InventoryListing

func InventoryListing() templ.CSSClass

func ItemAndType

func ItemAndType() templ.CSSClass

func ItemCard

func ItemCard(i *models.Item, g string) templ.Component

func ItemImg

func ItemImg() templ.CSSClass

func ItemLabel

func ItemLabel() templ.CSSClass

func Landing

func Landing() templ.Component

func LandingContainer

func LandingContainer() templ.CSSClass
func Link() templ.CSSClass

func Listing

func Listing() templ.CSSClass

func LocationField

func LocationField() templ.CSSClass
func Nav() templ.CSSClass

func NewGarden

func NewGarden(name, location, description, err string) templ.Component

func NewGardenInventoryItemForm

func NewGardenInventoryItemForm(id, name, field1, field2, field3, field4, field5 string, iType models.ItemType, err string) templ.Component

func NoMargin

func NoMargin() templ.CSSClass

func NoOverFlow

func NoOverFlow() templ.CSSClass

func NotFoundPage

func NotFoundPage() templ.Component

func Padded

func Padded() templ.CSSClass
func PasswordLink() templ.CSSClass

func Profile

func Profile(u models.User) templ.Component

func ResetPassword

func ResetPassword(code, err, info string) templ.Component

func Row

func Row() templ.CSSClass
func Search(resource, query, target string) templ.Component

func SearchForm

func SearchForm() templ.CSSClass

func SearchInput

func SearchInput() templ.CSSClass

func SignIn

func SignIn(err string) templ.Component

func SignInBtn

func SignInBtn() templ.CSSClass

func SignInContainer

func SignInContainer() templ.CSSClass

func SignInForm

func SignInForm() templ.CSSClass

func SignUp

func SignUp(err string) templ.Component

func SignUpBtn

func SignUpBtn() templ.CSSClass

func SignUpContainer

func SignUpContainer() templ.CSSClass

func SignUpForm

func SignUpForm() templ.CSSClass
func SignUpLink() templ.CSSClass

func SpaceBetween

func SpaceBetween() templ.CSSClass

func Styles

func Styles() []templ.CSSClass

func Underline

func Underline() templ.CSSClass

func UploaderContainer

func UploaderContainer() templ.CSSClass

Types

type Page

type Page struct {
	Title       string
	Description string
	Img         string
	URL         string
	User        *models.User
}

func NewPage

func NewPage(title, description string, u *models.User) *Page

func (Page) Layout

func (p Page) Layout(content templ.Component) templ.Component

Jump to

Keyboard shortcuts

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