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
Index ¶
- func CapabilitiesPage(descriptors []hub.Descriptor, types []string, providers []string) templ.Component
- func ConfigsPage(items []model.ConfigItem) templ.Component
- func EventsPage(p EventsPageParams) templ.Component
- func HealthzPage(data partials.HealthzData) templ.Component
- func HomePage() templ.Component
- func HomelabDetailPage(app homelab.App, status homelab.AppStatus, version string, scannedAt string) templ.Component
- func HomelabDetailStatusBadge(status homelab.AppStatus) templ.Component
- func HomelabPage(apps []homelab.App, scannedAt string) templ.Component
- func HubAppDetailPage(app homelab.App, status homelab.AppStatus, permissions homelab.Permissions) templ.Component
- func HubAppStatusBadge(status homelab.AppStatus) templ.Component
- func HubAppsPage(apps []homelab.App, updatedAts map[string]string) templ.Component
- func LoginForm(nextURL string, errorMsg string) templ.Component
- func LoginPage(nextURL string, errorMsg string) templ.Component
- func NotificationsPage(p NotificationsPageParams) templ.Component
- func NotifySettingsPage() templ.Component
- func PipelineEditorPage(name string) templ.Component
- func PipelineListPage(defs []*gen.PipelineDefinition) templ.Component
- func PipelineRunLivePage(p PipelineRunLiveParams) templ.Component
- func PipelineRunsPage(name string, runs []*gen.PipelineRun) templ.Component
- func RelationsPage(p RelationsPageParams) templ.Component
- func TokensPage(items []model.TokenItem) templ.Component
- func ViewPage(title string, body templ.Component, expired bool) templ.Component
- type EventsPageParams
- type NotificationsPageParams
- type PipelineRunLiveParams
- type RelationsPageParams
- type StepState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CapabilitiesPage ¶
func ConfigsPage ¶
func ConfigsPage(items []model.ConfigItem) templ.Component
func EventsPage ¶
func EventsPage(p EventsPageParams) templ.Component
func HealthzPage ¶
func HealthzPage(data partials.HealthzData) templ.Component
func HomelabDetailPage ¶
func HubAppDetailPage ¶
func HubAppsPage ¶
func LoginForm ¶
LoginForm renders the login form without the base layout. Used for HTMX responses where only the form fragment should be swapped.
func NotificationsPage ¶
func NotificationsPage(p NotificationsPageParams) templ.Component
func NotifySettingsPage ¶
func PipelineEditorPage ¶
func PipelineListPage ¶
func PipelineListPage(defs []*gen.PipelineDefinition) templ.Component
func PipelineRunLivePage ¶
func PipelineRunLivePage(p PipelineRunLiveParams) templ.Component
PipelineRunLivePage renders the live run dashboard.
func PipelineRunsPage ¶
func PipelineRunsPage(name string, runs []*gen.PipelineRun) templ.Component
func RelationsPage ¶
func RelationsPage(p RelationsPageParams) templ.Component
Types ¶
type EventsPageParams ¶
type NotificationsPageParams ¶
type NotificationsPageParams struct {
Records []*gen.NotificationRecord
NextCursor string
}
type PipelineRunLiveParams ¶
type PipelineRunLiveParams struct {
RunID int64
PipelineName string
Trigger string
TotalSteps int
RunStatus string
Steps []StepState
}
PipelineRunLiveParams holds all data for the live dashboard page.
type RelationsPageParams ¶
type StepState ¶
type StepState struct {
Name string `json:"name"`
Status string `json:"status"`
ElapsedMs int64 `json:"elapsed_ms"`
Output map[string]any `json:"output"`
Error string `json:"error"`
Input map[string]any `json:"input"`
}
StepState represents the initial state of one pipeline step for Alpine.js.
Source Files
¶
- capabilities_templ.go
- configs_templ.go
- events_templ.go
- healthz_templ.go
- home_templ.go
- homelab_detail_templ.go
- homelab_templ.go
- hub_app_detail_templ.go
- hub_apps_templ.go
- login_templ.go
- notifications_templ.go
- notify_settings_templ.go
- pipeline_editor_templ.go
- pipeline_list_templ.go
- pipeline_run_live_templ.go
- pipeline_runs_templ.go
- relations_templ.go
- tokens_templ.go
- view_templ.go
Click to show internal directories.
Click to hide internal directories.