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
Package pages provides full-page Templ 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
Index ¶
- func AgentChatPage(session model.AgentSession, messages []model.AgentChatMessage, ...) templ.Component
- func AgentScheduledTaskDetailPage(task model.AgentScheduledTask, runs []model.AgentScheduledTaskRun) templ.Component
- func AgentScheduledTasksPage(items []model.AgentScheduledTask) templ.Component
- func AgentSessionDetailPage(session model.AgentSession, entries []model.AgentSessionEntry, ...) templ.Component
- func AgentSessionsPage(items []model.AgentSession, nextCursor string) templ.Component
- func AgentSkillsPage(items []model.AgentSkill) templ.Component
- func AgentSubagentsPage(items []model.AgentSubagent) templ.Component
- func AgentsPage(items []model.AgentSession, nextCursor string, ...) templ.Component
- func CapabilitiesPage(descriptors []hub.Descriptor, types []string, providers []string) templ.Component
- func ChatAgentPermissionsPage(data partials.PermissionFormPageData) templ.Component
- func ClipPage(d ClipPageData) templ.Component
- func ClipsPage(items []partials.ClipListItem) templ.Component
- func ConfigsPage(items []model.ConfigItem) templ.Component
- func EventsPage(p EventsPageParams) templ.Component
- func HealthzPage(data partials.HealthzData) templ.Component
- func HomePage(d partials.HomeDashboard) 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 NotifySettingsPage(activeTab string) templ.Component
- func PipelineEditorPage(name string) templ.Component
- func PipelineListPage(entries []partials.PipelineListEntry) 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 ClipPageData
- type EventsPageParams
- type PipelineRunLiveParams
- type RelationsPageParams
- type StepState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AgentChatPage ¶ added in v0.95.0
func AgentChatPage(session model.AgentSession, messages []model.AgentChatMessage, endpoints partials.ChatAgentEndpoints) templ.Component
func AgentScheduledTaskDetailPage ¶ added in v0.95.0
func AgentScheduledTaskDetailPage(task model.AgentScheduledTask, runs []model.AgentScheduledTaskRun) templ.Component
func AgentScheduledTasksPage ¶ added in v0.95.0
func AgentScheduledTasksPage(items []model.AgentScheduledTask) templ.Component
func AgentSessionDetailPage ¶ added in v0.93.0
func AgentSessionDetailPage(session model.AgentSession, entries []model.AgentSessionEntry, plans []model.AgentPlan) templ.Component
func AgentSessionsPage ¶ added in v0.93.0
func AgentSessionsPage(items []model.AgentSession, nextCursor string) templ.Component
func AgentSkillsPage ¶ added in v0.93.0
func AgentSkillsPage(items []model.AgentSkill) templ.Component
func AgentSubagentsPage ¶ added in v0.93.0
func AgentSubagentsPage(items []model.AgentSubagent) templ.Component
func AgentsPage ¶ added in v0.95.0
func AgentsPage(items []model.AgentSession, nextCursor string, endpoints partials.ChatAgentEndpoints, chatEnabled bool) templ.Component
func CapabilitiesPage ¶
func ChatAgentPermissionsPage ¶ added in v0.93.0
func ChatAgentPermissionsPage(data partials.PermissionFormPageData) templ.Component
func ClipPage ¶ added in v0.97.0
func ClipPage(d ClipPageData) templ.Component
ClipPage renders a shareable markdown clip with gated body for anonymous visitors.
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 NotifySettingsPage ¶
NotifySettingsPage renders the Notifications page with channels, templates, rules, history, and playground tabs. activeTab selects the initial tab: channels (default), templates, rules, history, or playground.
func PipelineEditorPage ¶
func PipelineListPage ¶
func PipelineListPage(entries []partials.PipelineListEntry) 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 ClipPageData ¶ added in v0.97.0
type ClipPageData struct {
// Slug is the public short identifier.
Slug string
// Title is the display and Open Graph title.
Title string
// Description is the preview text for meta tags and gated view.
Description string
// CreatedAt is when the clip was created.
CreatedAt time.Time
// WordCount is a rough word count of the markdown body.
WordCount int
// Authed is true when the visitor has a valid web session cookie.
Authed bool
// BodyHTML is sanitized HTML rendered from markdown (authed only).
BodyHTML string
// ContentMD is the raw markdown used by Copy MD.
ContentMD string
// LoginURL is the web login URL with next redirect.
LoginURL string
// NotFound marks a missing clip.
NotFound bool
}
ClipPageData carries fields for the clip reader page.
type EventsPageParams ¶
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
¶
- agent_scheduled_task_detail_templ.go
- agent_scheduled_tasks_templ.go
- agent_session_detail_templ.go
- agent_sessions_templ.go
- agent_skills_templ.go
- agent_subagents_templ.go
- agents_templ.go
- capabilities_templ.go
- chatagent_permissions_templ.go
- clip_helpers.go
- clip_templ.go
- clips_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
- 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