dashboard

package
v0.0.0-...-57fd1e0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

templ: version: v0.3.1001

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contacts

func Contacts(props ContactsProps) templ.Component

func LoginPanel

func LoginPanel(props LoginProps) templ.Component

func Overview

func Overview(props OverviewProps) templ.Component
func PageHeader(title string, description string) templ.Component

Types

type Action

type Action struct {
	Label  string
	Href   string
	Method string
}

type ContactField

type ContactField struct {
	Label    string
	Name     string
	Type     string
	Required bool
}

type ContactRow

type ContactRow struct {
	ID        string
	Name      string
	Email     string
	Company   string
	CreatedAt string
}

type ContactsProps

type ContactsProps struct {
	Title            string
	Description      string
	AddTitle         string
	Fields           []ContactField
	SubmitLabel      string
	ListTitle        string
	EmptyText        string
	NameHeader       string
	EmailHeader      string
	CompanyHeader    string
	CreatedHeader    string
	DeleteLabel      string
	DeleteActionBase string
	Rows             []ContactRow
}

type LoginProps

type LoginProps struct {
	Title         string
	Subtitle      string
	ErrorText     string
	ReturnTo      string
	EmailLabel    string
	PasswordLabel string
	SubmitText    string
}

type OverviewProps

type OverviewProps struct {
	Title       string
	Description string
	Stats       []StatItem
}

type StatItem

type StatItem struct {
	Label  string
	Value  string
	Action Action
}

Jump to

Keyboard shortcuts

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