templates

package
v1.0.32 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TemplateBodyCard

func TemplateBodyCard(props TemplateBodyCardProps) htmx.Node

TemplateBodyCard ...

func TemplateNewForm

func TemplateNewForm(props TemplateNewFormProps) htmx.Node

TemplateNewForm ...

func TemplatesTable

func TemplatesTable(props TemplatesTableProps, children ...htmx.Node) htmx.Node

TemplatesTable ...

Types

type TemplateBodyCardProps

type TemplateBodyCardProps struct {
	ClassNames htmx.ClassNames
	Template   models.Template
	Markdown   string
}

TemplateBodyCardProps ...

type TemplateNewFormProps

type TemplateNewFormProps struct {
	ClassNames htmx.ClassNames
}

TemplateNewFormProps ...

type TemplatesTableProps

type TemplatesTableProps struct {
	Templates []*models.Template
	Offset    int
	Limit     int
	Total     int
}

TemplatesTableProps ...

Jump to

Keyboard shortcuts

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