Documentation
¶
Overview ¶
templ: version: v0.2.747
templ: version: v0.2.747
templ: version: v0.2.747
Index ¶
- func ButtonOutlined(id, text, tabIndex string, attrs templ.Attributes) templ.Component
- func ButtonSubmit(id, text, tabIndex string, attrs templ.Attributes) templ.Component
- func ButtonText(id, text, tabIndex string, attrs templ.Attributes) templ.Component
- func Card(idSuffix string, cardHeader, cardContent, cardFooter templ.Component) templ.Component
- func CardActions(actions ...templ.Component) templ.Component
- func CardContent(content templ.Component) templ.Component
- func CardImage(imageURL, imageAlt string) templ.Component
- func CardTitle(title string) templ.Component
- func DisplayError(err string, hide bool) templ.Component
- func ErrorPage(statusCode int, pageMsg string, errMsg error) templ.Component
- func Header(username string) templ.Component
- func Hide(hide bool) string
- func Index(username string) templ.Component
- func InputOutlined(inputID, inputType, inputName string, attrs templ.Attributes) templ.Component
- func Login(redirect string) templ.Component
- func LoginFields(redirect string) templ.Component
- func Logs() templ.Component
- func OnKeyFocusID(keyCode int, id string) templ.ComponentScript
- func Page(title string, content templ.Component) templ.Component
- func Results() templ.Component
- func ResultsItem(name string, waiting, success bool) templ.Component
- func SetTheme(theme ColorTheme)
- func Signup() templ.Component
- func SignupFields() templ.Component
- func Tile(idSuffix, title string) templ.Component
- func TileIndicatorFailComplete(id string) templ.Component
- func TileIndicatorFailIncomplete(id string) templ.Component
- func TileIndicatorIncomplete(id string) templ.Component
- func TileIndicatorSuccessComplete(id string) templ.Component
- func TileIndicatorSuccessIncomplete(id string) templ.Component
- func Tiles() templ.Component
- type Color
- type ColorTheme
- type Colors
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ButtonOutlined ¶
func ButtonOutlined(id, text, tabIndex string, attrs templ.Attributes) templ.Component
func ButtonSubmit ¶
func ButtonSubmit(id, text, tabIndex string, attrs templ.Attributes) templ.Component
Buttons
func ButtonText ¶
func ButtonText(id, text, tabIndex string, attrs templ.Attributes) templ.Component
func InputOutlined ¶
func InputOutlined(inputID, inputType, inputName string, attrs templ.Attributes) templ.Component
Inputs
func LoginFields ¶
func Page ¶
item-center: center the content vertically content-center: center the content horizontally
func SetTheme ¶
func SetTheme(theme ColorTheme)
func SignupFields ¶
func TileIndicatorIncomplete ¶
Types ¶
type ColorTheme ¶
func DefaultTheme ¶
func DefaultTheme() ColorTheme
func GetTheme ¶
func GetTheme() ColorTheme
Click to show internal directories.
Click to hide internal directories.