Documentation
¶
Overview ¶
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
Package partials provides HTMX-targeted partial views.
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
Index ¶
- func CapabilityCard(d hub.Descriptor) templ.Component
- func CapabilityGrid(descriptors []hub.Descriptor, filtered bool) templ.Component
- func ConfigForm(item model.ConfigItem, isNew bool, errors map[string]string) templ.Component
- func ConfigRow(item model.ConfigItem) templ.Component
- func ConfigTable(items []model.ConfigItem) templ.Component
- func ConfirmModal() templ.Component
- func DataEventsTable(sources, eventTypes []string, events []*gen.DataEvent, pageInfo PageInfo, ...) templ.Component
- func EmptyState(message string) templ.Component
- func EventPagination(info PageInfo) templ.Component
- func EventPayloadDetail(payloadJSON string) templ.Component
- func FilterBar(p FilterBarParams) templ.Component
- func HealthzStatus(data HealthzData) templ.Component
- func HomelabCard(app homelab.App) templ.Component
- func HomelabGrid(apps []homelab.App, scannedAt string) templ.Component
- func HomelabStatusBadge(status homelab.AppStatus) templ.Component
- func HubAppStatusBadge(status homelab.AppStatus) templ.Component
- func HubAppsTable(apps []homelab.App, updatedAts map[string]string) templ.Component
- func NotificationsTable(records []*gen.NotificationRecord, nextCursor string) templ.Component
- func NotifyChannelForm(item model.NotifyChannel, isNew bool, errors map[string]string, ...) templ.Component
- func NotifyChannelRow(item model.NotifyChannel) templ.Component
- func NotifyChannelsTable(channels []model.NotifyChannel) templ.Component
- func NotifyRuleForm(item model.NotifyRule, isNew bool, errors map[string]string, ...) templ.Component
- func NotifyRuleRow(item model.NotifyRule, templateIDs []string) templ.Component
- func NotifyRulesTable(rules []model.NotifyRule, templateIDs []string) templ.Component
- func PipelineListTable(defs []*gen.PipelineDefinition) templ.Component
- func PipelineRunsTable(name string, runs []*gen.PipelineRun) templ.Component
- func PipelineStats(name string, stats *types.PipelineStats) templ.Component
- func PipelineStepRunsDetail(steps []*gen.PipelineStepRun) templ.Component
- func RelationDetail(p RelationDetailParams) templ.Component
- func RelationEdgeBadge(edge schema.ResourceEdge, direction string) templ.Component
- func RelationNodeCard(ref schema.ResourceRef, side string) templ.Component
- func RelationSearchResults(results []schema.ResourceRef) templ.Component
- func RelationTree(p RelationTreeParams) templ.Component
- func StepCard() templ.Component
- func TokenForm(errors map[string]string) templ.Component
- func TokenRow(item model.TokenItem) templ.Component
- func TokenTable(items []model.TokenItem) templ.Component
- func TriggerCard() templ.Component
- func ViewExpiredPage() templ.Component
- func ViewFormContent(fields []any) templ.Component
- func ViewImageContent(url string, alt string) templ.Component
- func ViewMarkdownContent(content templ.Component) templ.Component
- func ViewPipelineRunContent(steps any) templ.Component
- func ViewTextContent(content string) templ.Component
- func WebhookLogsTable(sources, eventTypes []string, events []*gen.DataEvent, pageInfo PageInfo, ...) templ.Component
- func WebhookPayloadDetail(headersJSON, bodyJSON string, bodyTruncated bool) templ.Component
- type FilterBarParams
- type HealthzCap
- type HealthzData
- type PageInfo
- type RelationDetailParams
- type RelationTreeParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CapabilityCard ¶
func CapabilityCard(d hub.Descriptor) templ.Component
func CapabilityGrid ¶
func CapabilityGrid(descriptors []hub.Descriptor, filtered bool) templ.Component
func ConfigForm ¶
func ConfigTable ¶
func ConfigTable(items []model.ConfigItem) templ.Component
func ConfirmModal ¶
func DataEventsTable ¶
func EmptyState ¶
func EventPagination ¶
func EventPayloadDetail ¶
func FilterBar ¶
func FilterBar(p FilterBarParams) templ.Component
func HealthzStatus ¶
func HealthzStatus(data HealthzData) templ.Component
func HubAppsTable ¶
func NotificationsTable ¶
func NotificationsTable(records []*gen.NotificationRecord, nextCursor string) templ.Component
func NotifyChannelForm ¶
func NotifyChannelRow ¶
func NotifyChannelRow(item model.NotifyChannel) templ.Component
func NotifyChannelsTable ¶
func NotifyChannelsTable(channels []model.NotifyChannel) templ.Component
func NotifyRuleForm ¶
func NotifyRuleRow ¶
func NotifyRuleRow(item model.NotifyRule, templateIDs []string) templ.Component
func NotifyRulesTable ¶
func NotifyRulesTable(rules []model.NotifyRule, templateIDs []string) templ.Component
func PipelineListTable ¶
func PipelineListTable(defs []*gen.PipelineDefinition) templ.Component
func PipelineRunsTable ¶
func PipelineRunsTable(name string, runs []*gen.PipelineRun) templ.Component
func PipelineStats ¶
func PipelineStats(name string, stats *types.PipelineStats) templ.Component
func PipelineStepRunsDetail ¶
func PipelineStepRunsDetail(steps []*gen.PipelineStepRun) templ.Component
func RelationDetail ¶
func RelationDetail(p RelationDetailParams) templ.Component
func RelationEdgeBadge ¶
func RelationEdgeBadge(edge schema.ResourceEdge, direction string) templ.Component
func RelationNodeCard ¶
func RelationNodeCard(ref schema.ResourceRef, side string) templ.Component
func RelationSearchResults ¶
func RelationSearchResults(results []schema.ResourceRef) templ.Component
func RelationTree ¶
func RelationTree(p RelationTreeParams) templ.Component
func TriggerCard ¶
func ViewExpiredPage ¶
func ViewFormContent ¶
func ViewPipelineRunContent ¶
func ViewTextContent ¶
func WebhookLogsTable ¶
Types ¶
type FilterBarParams ¶
type HealthzCap ¶
HealthzCap represents a capability health status for display.
type HealthzData ¶
type HealthzData struct {
PostgresLatency time.Duration
PostgresOk bool
RedisLatency time.Duration
RedisOk bool
Goroutines int
HeapAlloc uint64
TotalAlloc uint64
SysMem uint64
NumGC uint32
LastGCPause time.Duration
Capabilities []HealthzCap
Errors []flog.ErrorEntry
}
HealthzData is the data model for the health dashboard.
type RelationDetailParams ¶
type RelationDetailParams struct {
Type string // "node" or "edge"
Node schema.ResourceRef
Edge schema.ResourceEdge
}
type RelationTreeParams ¶
type RelationTreeParams struct {
Node schema.ResourceRef
Upstream []schema.ResourceEdge
Downstream []schema.ResourceEdge
}
Source Files
¶
- capability_card_templ.go
- capability_grid_templ.go
- config_form_templ.go
- config_row_templ.go
- config_table_templ.go
- confirm_modal_templ.go
- data_events_table_templ.go
- empty_state_templ.go
- event_filters_templ.go
- event_pagination_templ.go
- event_payload_templ.go
- healthz_status_templ.go
- helpers.go
- homelab_card_templ.go
- homelab_grid_templ.go
- hub_apps_table_templ.go
- notifications_table_templ.go
- notify_channel_form_templ.go
- notify_channel_row_templ.go
- notify_channels_table_templ.go
- notify_rule_form_templ.go
- notify_rule_row_templ.go
- notify_rules_table_templ.go
- notify_settings_helpers.go
- pipeline_list_templ.go
- pipeline_partials_templ.go
- pipeline_runs_templ.go
- pipeline_stats_templ.go
- relation_detail_templ.go
- relation_edge_templ.go
- relation_node_templ.go
- relation_search_templ.go
- relation_tree_templ.go
- token_form_templ.go
- token_helpers.go
- token_row_templ.go
- token_table_templ.go
- view_expired_templ.go
- view_form_templ.go
- view_image_templ.go
- view_markdown_templ.go
- view_pipeline_run_templ.go
- view_text_templ.go
- webhook_logs_table_templ.go
- webhook_payload_templ.go