Documentation ¶
Overview ¶
templ: version: v0.2.747
templ: version: v0.2.747
templ: version: v0.2.747
templ: version: v0.2.747
templ: version: v0.2.747
templ: version: v0.2.747
templ: version: v0.2.747
templ: version: v0.2.747
templ: version: v0.2.747
templ: version: v0.2.747
templ: version: v0.2.747
templ: version: v0.2.747
templ: version: v0.2.747
templ: version: v0.2.747
templ: version: v0.2.747
templ: version: v0.2.747
templ: version: v0.2.747
templ: version: v0.2.747
Index ¶
- Constants
- func AddImpersonation(c *ctx.Ctx) templ.Component
- func AddImpersonationSuggest(c *ctx.Ctx, firstName string, lastName string, hits []*models.Person) templ.Component
- func BadgeLocked() templ.Component
- func BadgeStatus(s string) templ.Component
- func Breadcrumbs(c *ctx.Ctx, crumbs []Breadcrumb) templ.Component
- func CSRFTag(c *ctx.Ctx) templ.Component
- func Cat(components ...templ.Component) templ.Component
- func CloseModal() templ.Component
- func CloseModalAndReplace(selector string, component templ.Component) templ.Component
- func ConfirmDeleteDialog(args ConfirmDeleteDialogArgs) templ.Component
- func CreatedBy(c *ctx.Ctx, createdAt *time.Time, createdBy *models.Person) string
- func DashboardIcon(c *ctx.Ctx, notification bool) templ.Component
- func ErrorDialog(message string) templ.Component
- func ErrorDialogWithOptions(message string, opts ErrorDialogOptions) templ.Component
- func Facet(c *ctx.Ctx, args FacetArgs, searchArgs *models.SearchArgs) templ.Component
- func FacetLine() templ.Component
- func FacetSince(c *ctx.Ctx, fieldName string, title string, description string, ...) templ.Component
- func Facets(c *ctx.Ctx, searchArgs *models.SearchArgs) templ.Component
- func FlashMessages(c *ctx.Ctx) templ.Component
- func FormErrorsDialog(title string, errors []string) templ.Component
- func Home(c *ctx.Ctx) templ.Component
- func InternalServerError(c *ctx.Ctx) templ.Component
- func NotFound(c *ctx.Ctx) templ.Component
- func PageLayout(c *ctx.Ctx, args PageLayoutArgs) templ.Component
- func Pagination(c *ctx.Ctx, baseURL *url.URL, searchArgs *models.SearchArgs, p pag.Pagination) templ.Component
- func PaginationCount(c *ctx.Ctx, p pag.Pagination) string
- func Query(c *ctx.Ctx, searchArgs *models.SearchArgs) templ.Component
- func RecentActivity(c *ctx.Ctx, acts []Activity) templ.Component
- func Replace(selector string, component templ.Component) templ.Component
- func ReplaceModal(component templ.Component) templ.Component
- func ShowModal(component templ.Component) templ.Component
- func UpdatedBy(c *ctx.Ctx, updatedAt *time.Time, updatedBy *models.Person, ...) string
- func UserNotFound(c *ctx.Ctx) templ.Component
- type Activity
- type ActivityEvent
- type ActivityObject
- type Breadcrumb
- type ConfirmDeleteDialogArgs
- type ErrorDialogOptions
- type FacetArgs
- type PageLayoutArgs
- type URLBuilder
- func (builder *URLBuilder) AddQueryParam(key string, value string) *URLBuilder
- func (builder *URLBuilder) ClearQuery() *URLBuilder
- func (builder *URLBuilder) Path(path ...string) *URLBuilder
- func (builder *URLBuilder) Query(query interface{}) *URLBuilder
- func (builder *URLBuilder) QueryAdd(pairs ...string) *URLBuilder
- func (builder *URLBuilder) QuerySet(pairs ...string) *URLBuilder
- func (builder *URLBuilder) SafeURL() templ.SafeURL
- func (builder *URLBuilder) SetQueryParam(key string, value string) *URLBuilder
- func (builder *URLBuilder) String() string
- func (builder *URLBuilder) URL() *url.URL
Constants ¶
View Source
const ( PublicationObject ActivityObject = iota DatasetObject CreateEvent ActivityEvent = iota PublishEvent RepublishEvent WithdrawEvent LockEvent UnlockEvent UpdateEvent MessageEvent )
Variables ¶
This section is empty.
Functions ¶
func AddImpersonationSuggest ¶ added in v1.0.56
func BadgeLocked ¶ added in v1.0.56
func BadgeStatus ¶ added in v1.0.56
func Breadcrumbs ¶ added in v1.0.59
func Breadcrumbs(c *ctx.Ctx, crumbs []Breadcrumb) templ.Component
func CloseModal ¶ added in v1.0.59
func CloseModalAndReplace ¶ added in v1.0.56
func ConfirmDeleteDialog ¶ added in v1.0.56
func ConfirmDeleteDialog(args ConfirmDeleteDialogArgs) templ.Component
func ErrorDialog ¶ added in v1.0.56
func ErrorDialogWithOptions ¶ added in v1.0.56
func ErrorDialogWithOptions(message string, opts ErrorDialogOptions) templ.Component
func FacetSince ¶ added in v1.0.56
func FormErrorsDialog ¶ added in v1.0.56
func PageLayout ¶ added in v1.0.56
func PageLayout(c *ctx.Ctx, args PageLayoutArgs) templ.Component
func Pagination ¶ added in v1.0.56
func Pagination(c *ctx.Ctx, baseURL *url.URL, searchArgs *models.SearchArgs, p pag.Pagination) templ.Component
func PaginationCount ¶ added in v1.0.56
func PaginationCount(c *ctx.Ctx, p pag.Pagination) string
Types ¶
type Activity ¶
type Activity struct { Event ActivityEvent User *models.Person Object ActivityObject Datestamp time.Time Status string URL string Title string }
type ActivityEvent ¶
type ActivityEvent int
type ActivityObject ¶
type ActivityObject int
type Breadcrumb ¶ added in v1.0.59
type ConfirmDeleteDialogArgs ¶ added in v1.0.56
type ErrorDialogOptions ¶ added in v1.0.56
type ErrorDialogOptions struct {
RedirectURL string
}
type PageLayoutArgs ¶ added in v1.0.59
type PageLayoutArgs struct { Title string Meta templ.Component Breadcrumbs []Breadcrumb }
type URLBuilder ¶ added in v1.0.56
type URLBuilder struct {
// contains filtered or unexported fields
}
func URL ¶ added in v1.0.56
func URL(base *url.URL) *URLBuilder
func URLFromString ¶ added in v1.0.56
func URLFromString(base string) *URLBuilder
func (*URLBuilder) AddQueryParam ¶ added in v1.0.56
func (builder *URLBuilder) AddQueryParam(key string, value string) *URLBuilder
func (*URLBuilder) ClearQuery ¶ added in v1.0.56
func (builder *URLBuilder) ClearQuery() *URLBuilder
func (*URLBuilder) Path ¶ added in v1.0.56
func (builder *URLBuilder) Path(path ...string) *URLBuilder
func (*URLBuilder) Query ¶ added in v1.0.56
func (builder *URLBuilder) Query(query interface{}) *URLBuilder
func (*URLBuilder) QueryAdd ¶ added in v1.0.56
func (builder *URLBuilder) QueryAdd(pairs ...string) *URLBuilder
func (*URLBuilder) QuerySet ¶ added in v1.0.56
func (builder *URLBuilder) QuerySet(pairs ...string) *URLBuilder
func (*URLBuilder) SafeURL ¶ added in v1.0.56
func (builder *URLBuilder) SafeURL() templ.SafeURL
func (*URLBuilder) SetQueryParam ¶ added in v1.0.56
func (builder *URLBuilder) SetQueryParam(key string, value string) *URLBuilder
func (*URLBuilder) String ¶ added in v1.0.56
func (builder *URLBuilder) String() string
func (*URLBuilder) URL ¶ added in v1.0.56
func (builder *URLBuilder) URL() *url.URL
Source Files ¶
- add_impersonation_suggest_templ.go
- add_impersonation_templ.go
- badge_locked_templ.go
- badge_status_templ.go
- breadcrumbs_templ.go
- confirm_delete_dialog_templ.go
- error_dialog_templ.go
- errors_templ.go
- flash_templ.go
- form_errors_dialog_templ.go
- generate.go
- helpers_templ.go
- home_templ.go
- page_layout_templ.go
- pagination_templ.go
- recent_activity_templ.go
- record_timestamp.go
- replace_templ.go
- search_templ.go
- show_modal_templ.go
- urls.go
Directories ¶
Path | Synopsis |
---|---|
templ: version: v0.2.747
|
templ: version: v0.2.747 |
templ: version: v0.2.747
|
templ: version: v0.2.747 |
templ: version: v0.2.747
|
templ: version: v0.2.747 |
templ: version: v0.2.747
|
templ: version: v0.2.747 |
pages
templ: version: v0.2.747
|
templ: version: v0.2.747 |
summary
templ: version: v0.2.747
|
templ: version: v0.2.747 |
templ: version: v0.2.747
|
templ: version: v0.2.747 |
templ: version: v0.2.747
|
templ: version: v0.2.747 |
templ: version: v0.2.747
|
templ: version: v0.2.747 |
templ: version: v0.2.747
|
templ: version: v0.2.747 |
templ: version: v0.2.747
|
templ: version: v0.2.747 |
pages
templ: version: v0.2.747
|
templ: version: v0.2.747 |
summary
templ: version: v0.2.747
|
templ: version: v0.2.747 |
templ: version: v0.2.747
|
templ: version: v0.2.747 |
templ: version: v0.2.747
|
templ: version: v0.2.747 |
templ: version: v0.2.747
|
templ: version: v0.2.747 |
templ: version: v0.2.747
|
templ: version: v0.2.747 |
Click to show internal directories.
Click to hide internal directories.