pages

package
v0.92.1 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: 8 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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CapabilitiesPage

func CapabilitiesPage(descriptors []hub.Descriptor, types []string, providers []string) templ.Component

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 HomePage

func HomePage() templ.Component

func HomelabDetailPage

func HomelabDetailPage(app homelab.App, status homelab.AppStatus, version string, scannedAt string) templ.Component

func HomelabDetailStatusBadge

func HomelabDetailStatusBadge(status homelab.AppStatus) templ.Component

func HomelabPage

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

func HubAppDetailPage

func HubAppDetailPage(app homelab.App, status homelab.AppStatus, permissions homelab.Permissions) templ.Component

func HubAppStatusBadge

func HubAppStatusBadge(status homelab.AppStatus) templ.Component

func HubAppsPage

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

func LoginForm

func LoginForm(nextURL string, errorMsg string) templ.Component

LoginForm renders the login form without the base layout. Used for HTMX responses where only the form fragment should be swapped.

func LoginPage

func LoginPage(nextURL string, errorMsg string) templ.Component

func NotifySettingsPage

func NotifySettingsPage() templ.Component

func PipelineEditorPage

func PipelineEditorPage(name string) templ.Component

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

func TokensPage

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

func ViewPage

func ViewPage(title string, body templ.Component, expired bool) templ.Component

Types

type EventsPageParams

type EventsPageParams struct {
	Sources       []string
	EventTypes    []string
	PipelineNames []string
}

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 RelationsPageParams struct {
	Query    string
	Pipeline string
	Since    string
}

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.

Jump to

Keyboard shortcuts

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