partials

package
v0.92.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2026 License: GPL-3.0 Imports: 19 Imported by: 0

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

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 ConfigForm(item model.ConfigItem, isNew bool, errors map[string]string) templ.Component

func ConfigRow

func ConfigRow(item model.ConfigItem) templ.Component

func ConfigTable

func ConfigTable(items []model.ConfigItem) templ.Component

func ConfirmModal

func ConfirmModal() templ.Component

func DataEventsTable

func DataEventsTable(sources, eventTypes []string, events []*gen.DataEvent, pageInfo PageInfo, runMap map[string][]store.PipelineRunInfo) templ.Component

func EmptyState

func EmptyState(message string) templ.Component

func EventPagination

func EventPagination(info PageInfo) templ.Component

func EventPayloadDetail

func EventPayloadDetail(payloadJSON string) templ.Component

func FilterBar

func FilterBar(p FilterBarParams) templ.Component

func HealthzStatus

func HealthzStatus(data HealthzData) templ.Component

func HomelabCard

func HomelabCard(app homelab.App) templ.Component

func HomelabGrid

func HomelabGrid(apps []homelab.App, scannedAt string) templ.Component

func HomelabStatusBadge

func HomelabStatusBadge(status homelab.AppStatus) templ.Component

func HubAppStatusBadge

func HubAppStatusBadge(status homelab.AppStatus) templ.Component

func HubAppsTable

func HubAppsTable(apps []homelab.App, updatedAts map[string]string) templ.Component

func NotificationsTable

func NotificationsTable(records []*gen.NotificationRecord, nextCursor string) templ.Component

func NotifyChannelForm

func NotifyChannelForm(item model.NotifyChannel, isNew bool, errors map[string]string, protocols []string) templ.Component

func NotifyChannelRow

func NotifyChannelRow(item model.NotifyChannel) templ.Component

func NotifyChannelsTable

func NotifyChannelsTable(channels []model.NotifyChannel) templ.Component

func NotifyRuleForm

func NotifyRuleForm(item model.NotifyRule, isNew bool, errors map[string]string, templateIDs []string) templ.Component

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 StepCard

func StepCard() templ.Component

func TokenForm

func TokenForm(errors map[string]string) templ.Component

func TokenRow

func TokenRow(item model.TokenItem) templ.Component

func TokenTable

func TokenTable(items []model.TokenItem) templ.Component

func TriggerCard

func TriggerCard() templ.Component

func ViewExpiredPage

func ViewExpiredPage() templ.Component

func ViewFormContent

func ViewFormContent(fields []any) templ.Component

func ViewImageContent

func ViewImageContent(url string, alt string) templ.Component

func ViewMarkdownContent

func ViewMarkdownContent(content templ.Component) templ.Component

func ViewPipelineRunContent

func ViewPipelineRunContent(steps any) templ.Component

func ViewTextContent

func ViewTextContent(content string) templ.Component

func WebhookLogsTable

func WebhookLogsTable(sources, eventTypes []string, events []*gen.DataEvent, pageInfo PageInfo, runMap map[string][]store.PipelineRunInfo) templ.Component

func WebhookPayloadDetail

func WebhookPayloadDetail(headersJSON, bodyJSON string, bodyTruncated bool) templ.Component

Types

type FilterBarParams

type FilterBarParams struct {
	Tab            string
	Sources        []string
	EventTypes     []string
	PipelineNames  []string
	SourceFilter   string
	TypeFilter     string
	PipelineFilter string
	SearchFilter   string
	TimeStart      string
	TimeEnd        string
}

type HealthzCap

type HealthzCap struct {
	Type    string
	Backend string
	Status  string
	Error   string
}

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 PageInfo

type PageInfo struct {
	Page       int
	TotalPages int
	Total      int64
	PerPage    int
	HasPrev    bool
	HasNext    bool
}

PageInfo holds pagination state for the event table.

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
}

Jump to

Keyboard shortcuts

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