views

package
v0.0.0-...-41d25ed Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

templ: version: v0.3.1001

templ: version: v0.3.1001

templ: version: v0.3.1001

templ: version: v0.3.1001

templ: version: v0.3.1001

templ: version: v0.3.1001

templ: version: v0.3.1001

templ: version: v0.3.1001

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BackofficeBatchEdit

func BackofficeBatchEdit(c Ctx, list *bbl.List) templ.Component

func BackofficeBatchEditPreview

func BackofficeBatchEditPreview(c Ctx, list *bbl.List, op, field, value string, rows []BatchEditPreviewRow, total int) templ.Component

func BackofficeBatchEditStarted

func BackofficeBatchEditStarted(c Ctx, list *bbl.List) templ.Component

func BackofficeEditList

func BackofficeEditList(c Ctx, list *bbl.List) templ.Component

func BackofficeEditWork

func BackofficeEditWork(c Ctx, work *bbl.Work, profile []bbl.ProfileField, locked map[string]bool, errs vo.Errors) templ.Component

func BackofficeHome

func BackofficeHome(c Ctx) templ.Component

func BackofficeLists

func BackofficeLists(c Ctx, lists []*bbl.List) templ.Component

func BackofficeNewList

func BackofficeNewList(c Ctx) templ.Component

func BackofficeSearchOrganizations

func BackofficeSearchOrganizations(c Ctx, hits *bbl.OrganizationHits, opts *bbl.SearchOpts) templ.Component

func BackofficeSearchPeople

func BackofficeSearchPeople(c Ctx, hits *bbl.PersonHits, opts *bbl.SearchOpts) templ.Component

func BackofficeSearchProjects

func BackofficeSearchProjects(c Ctx, hits *bbl.ProjectHits, opts *bbl.SearchOpts) templ.Component

func BackofficeSearchUsers

func BackofficeSearchUsers(c Ctx, hits *bbl.UserHits, opts *bbl.SearchOpts) templ.Component

func BackofficeSearchWorks

func BackofficeSearchWorks(c Ctx, hits *bbl.WorkHits, opts *bbl.SearchOpts, lists []*bbl.List) templ.Component

Backoffice search views

func BackofficeShowList

func BackofficeShowList(c Ctx, list *bbl.List, works []*bbl.Work, total int, opts *bbl.SearchOpts) templ.Component

func BackofficeShowOrganization

func BackofficeShowOrganization(c Ctx, org *bbl.Organization) templ.Component

func BackofficeShowPerson

func BackofficeShowPerson(c Ctx, person *bbl.Person) templ.Component

func BackofficeShowProject

func BackofficeShowProject(c Ctx, project *bbl.Project) templ.Component

func BackofficeShowWork

func BackofficeShowWork(c Ctx, work *bbl.Work, lists []*bbl.List) templ.Component

Backoffice detail views

func BackofficeWorkHistory

func BackofficeWorkHistory(c Ctx, work *bbl.Work, history []bbl.WorkHistoryEntry) templ.Component

func BatchEditNotification

func BatchEditNotification(output *bbl.BatchEditOutput) templ.Component

func Home

func Home(c Ctx) templ.Component

func Layout

func Layout(c Ctx, title string) templ.Component

func SearchOrganizations

func SearchOrganizations(c Ctx, hits *bbl.OrganizationHits, opts *bbl.SearchOpts) templ.Component

func SearchPeople

func SearchPeople(c Ctx, hits *bbl.PersonHits, opts *bbl.SearchOpts) templ.Component

func SearchProjects

func SearchProjects(c Ctx, hits *bbl.ProjectHits, opts *bbl.SearchOpts) templ.Component

func SearchWorks

func SearchWorks(c Ctx, hits *bbl.WorkHits, opts *bbl.SearchOpts) templ.Component

Discovery search views

func ShowOrganization

func ShowOrganization(c Ctx, org *bbl.Organization) templ.Component

func ShowPerson

func ShowPerson(c Ctx, person *bbl.Person) templ.Component

func ShowProject

func ShowProject(c Ctx, project *bbl.Project) templ.Component

func ShowWork

func ShowWork(c Ctx, work *bbl.Work) templ.Component

Discovery detail views

Types

type BatchEditPreviewRow

type BatchEditPreviewRow struct {
	Work    *bbl.Work
	Current string
	New     string
	Changed bool
}

type Ctx

type Ctx struct {
	AssetPath  func(string) string
	Loc        func(string, ...any) string
	Lang       string            // BCP-47 tag, e.g. "en", "nl"
	Langs      []string          // all supported UI languages
	LangNames  map[string]string // ISO 639-2 code → localized name (code as fallback)
	MainLangs  []string          // preferred languages shown first in selects
	Path       string            // current request path (for lang switcher redirect)
	User       *bbl.User
	ViewAsUser *bbl.User // non-nil when an admin/curator is impersonating another user
	SSEToken   string    // Wire token for global SSE connection (backoffice only)
}

Jump to

Keyboard shortcuts

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