Documentation
¶
Overview ¶
templ: version: v0.3.960
templ: version: v0.3.960
templ: version: v0.3.960
templ: version: v0.3.960
templ: version: v0.3.960
templ: version: v0.3.960
templ: version: v0.3.960
Index ¶
- Constants
- func Button(config ButtonConfig) templ.Component
- func CSRF() templ.Component
- func Form(conf FormConf) templ.Component
- func GetStatusClass(status string) string
- func InnerButton(entry ButtonConfig, isMenuItem bool) templ.Component
- func InnerButtonGet(entry ButtonConfig, isMenuItem bool) templ.Component
- func InnerButtonPost(entry ButtonConfig, isMenuItem bool) templ.Component
- func InputFile(id string, name string, label string, accept string, multiple bool) templ.Component
- func InputSearch(id string, value string, placeholder string, hxPost string) templ.Component
- func JsonCodeView(data interface{}) templ.Component
- func LoadOrTrigger(trigger *ComponentTrigger) templ.Component
- func MenuEdit(mainButton ButtonConfig, buttonGroups ...[]ButtonConfig) templ.Component
- func Popup(key string, zIndex int) templ.Component
- func PopupError(title string, description string) templ.Component
- func PopupHeaderError(title string) templ.Component
- func PopupHeaderInfo(title string) templ.Component
- func PopupHeaderSuccess(title string) templ.Component
- func PopupInfo(title string, description string) templ.Component
- func PopupSuccess(title string, description string) templ.Component
- func Status(status string) templ.Component
- func Table(id string, columns []model.KeyValuePair, rows []model.Mapper, ...) templ.Component
- func TableFull(tableConfig *TableFullConfig) templ.Component
- func TableHeader(id string, columns []model.KeyValuePair, withSelection bool) templ.Component
- func TableRow(columns []model.KeyValuePair, row model.Mapper, withSelection bool) templ.Component
- func Topbar(name string, search templ.Component, menu templ.Component) templ.Component
- type ButtonColor
- type ButtonConfig
- type ComponentTrigger
- type FormConf
- type TableFullConfig
Constants ¶
View Source
const HscriptOne string = `` /* 203-byte string literal not displayed */
View Source
const HscriptOneOrMore string = `` /* 201-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func Button ¶
func Button(config ButtonConfig) templ.Component
func GetStatusClass ¶
func InnerButton ¶
func InnerButton(entry ButtonConfig, isMenuItem bool) templ.Component
func InnerButtonGet ¶
func InnerButtonGet(entry ButtonConfig, isMenuItem bool) templ.Component
func InnerButtonPost ¶
func InnerButtonPost(entry ButtonConfig, isMenuItem bool) templ.Component
func InputSearch ¶
func JsonCodeView ¶
func LoadOrTrigger ¶
func LoadOrTrigger(trigger *ComponentTrigger) templ.Component
func MenuEdit ¶
func MenuEdit(mainButton ButtonConfig, buttonGroups ...[]ButtonConfig) templ.Component
func PopupHeaderError ¶
func PopupHeaderInfo ¶
func PopupHeaderSuccess ¶
func TableFull ¶
func TableFull(tableConfig *TableFullConfig) templ.Component
func TableHeader ¶
Types ¶
type ButtonColor ¶
type ButtonColor string
Unified button colors for MenuEdit
const ( BUTTON_RED ButtonColor = "red" BUTTON_GREEN ButtonColor = "green" BUTTON_YELLOW ButtonColor = "yellow" BUTTON_PRIMARY ButtonColor = "primary" )
type ButtonConfig ¶
type ComponentTrigger ¶
Click to show internal directories.
Click to hide internal directories.