Documentation
¶
Overview ¶
templ: version: v0.3.1001
templ: version: v0.3.1001
templ: version: v0.3.1001
templ: version: v0.3.1001
templ: version: v0.3.1001
templ: version: v0.3.1001
templ: version: v0.3.1001
Index ¶
- func Breadcrumb(items []BreadcrumbItem) templ.Component
- func EmptyState(iconName string, title string, description string) templ.Component
- func EnabledBadge(enabled bool) templ.Component
- func FooterAPIDocsLink(href string) templ.Component
- func JobStateBadge(state string) templ.Component
- func JsonViewer(data []byte) templ.Component
- func PageHeader(title string, count string, description string) templ.Component
- func PathRewriter(pagesBase string, apiBase string) templ.Component
- func StatCard(iconName string, label string, value string, subtitle string) templ.Component
- func WorkflowStateBadge(state string) templ.Component
- type BreadcrumbItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Breadcrumb ¶
func Breadcrumb(items []BreadcrumbItem) templ.Component
func EmptyState ¶
func EnabledBadge ¶
func FooterAPIDocsLink ¶
func JobStateBadge ¶
func JsonViewer ¶
func PathRewriter ¶
PathRewriter adds an HTMX configRequest interceptor that rewrites bare page paths (e.g. "/crons/detail") to fully-qualified dashboard extension paths (e.g. "/dashboard/ext/dispatch/pages/crons/detail").
It also rewrites API paths starting with "/v1/" by prepending the extension's API base path (e.g. "/v1/jobs/..." becomes "/dispatch/v1/jobs/...").
This component should wrap the outermost page content once.
func WorkflowStateBadge ¶
Types ¶
type BreadcrumbItem ¶
BreadcrumbItem represents a single breadcrumb segment.
Click to show internal directories.
Click to hide internal directories.