Documentation ¶
Overview ¶
components are used by pages.
Index ¶
- func AttachmentCard(props AttachmentCardProps) templ.Component
- func Base(head, body templ.Component, csrfToken string) templ.Component
- func EndpointForm(props EndpointFormProps) templ.Component
- func EndpointFormConfig(props EndpointFormConfigProps) templ.Component
- func EnvelopeForm(props EnvelopeFormProps) templ.Component
- func EnvelopeTab(props EnvelopeTabProps) templ.Component
- func Flash(t FlashType, c templ.Component) templ.Component
- func FlashMessage(message string) templ.Component
- func FlashMessageLink(message string, route routes.Route) templ.Component
- func Footer() templ.Component
- func FormatDate(m meta.Meta, t time.Time) templ.Component
- func FormatDateString(m meta.Meta, t string) templ.Component
- func Header(m meta.Meta) templ.Component
- func HelpDialog(props HelpDialogProps) templ.Component
- func LayoutDefault(m meta.Meta) templ.Component
- func LoginForm(props LoginFormProps) templ.Component
- func PaginateFooter(props PaginateFooterProps) templ.Component
- func PaginateHeader(props PaginateHeaderProps) templ.Component
- func RecentEnvelopeList(m meta.Meta, props RecentEnvelopeListProps) templ.Component
- func RuleForm(props RuleFormProps) templ.Component
- func RuleFormExpressionLabel(props RuleFormExpressionLabelProps) templ.Component
- func RuleToggleButton(props RuleToggleButtonProps) templ.Component
- func StorageStats(props StorageStatsProps) templ.Component
- func TableOrderTH(props TableOrderTHProps) templ.Component
- type AttachmentCardProps
- type EndpointFormConfigField
- type EndpointFormConfigProps
- type EndpointFormData
- type EndpointFormProps
- type EnvelopeFormProps
- type EnvelopeTabProps
- type FlashProps
- type FlashType
- type HelpDialogProps
- type LoginFormProps
- type PaginateFooterProps
- type PaginateHeaderProps
- type RecentEnvelopeListProps
- type RuleFormData
- type RuleFormExpressionLabelProps
- type RuleFormProps
- type RuleToggleButtonProps
- type StorageStatsProps
- type TableOrderTHProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AttachmentCard ¶
func AttachmentCard(props AttachmentCardProps) templ.Component
func EndpointForm ¶ added in v0.14.0
func EndpointForm(props EndpointFormProps) templ.Component
func EndpointFormConfig ¶ added in v0.14.0
func EndpointFormConfig(props EndpointFormConfigProps) templ.Component
func EnvelopeForm ¶
func EnvelopeForm(props EnvelopeFormProps) templ.Component
func EnvelopeTab ¶
func EnvelopeTab(props EnvelopeTabProps) templ.Component
func FlashMessage ¶
func HelpDialog ¶ added in v0.14.0
func HelpDialog(props HelpDialogProps) templ.Component
func LoginForm ¶ added in v0.13.1
func LoginForm(props LoginFormProps) templ.Component
func PaginateFooter ¶
func PaginateFooter(props PaginateFooterProps) templ.Component
func PaginateHeader ¶
func PaginateHeader(props PaginateHeaderProps) templ.Component
func RecentEnvelopeList ¶
func RecentEnvelopeList(m meta.Meta, props RecentEnvelopeListProps) templ.Component
func RuleForm ¶ added in v0.14.0
func RuleForm(props RuleFormProps) templ.Component
func RuleFormExpressionLabel ¶ added in v0.14.0
func RuleFormExpressionLabel(props RuleFormExpressionLabelProps) templ.Component
func RuleToggleButton ¶
func RuleToggleButton(props RuleToggleButtonProps) templ.Component
func StorageStats ¶
func StorageStats(props StorageStatsProps) templ.Component
func TableOrderTH ¶
func TableOrderTH(props TableOrderTHProps) templ.Component
Types ¶
type AttachmentCardProps ¶
type AttachmentCardProps struct {
Attachment models.Attachment
}
type EndpointFormConfigField ¶ added in v0.14.0
type EndpointFormConfigField struct { models.EndpointSchemaField Value string }
type EndpointFormConfigProps ¶ added in v0.14.0
type EndpointFormConfigProps struct { Internal bool Fields []EndpointFormConfigField Error string }
type EndpointFormData ¶ added in v0.14.0
type EndpointFormProps ¶ added in v0.14.0
type EndpointFormProps struct { Flash templ.Component Create bool Data EndpointFormData }
func (EndpointFormProps) Route ¶ added in v0.14.0
func (p EndpointFormProps) Route() routes.Route
func (EndpointFormProps) WithError ¶ added in v0.14.0
func (p EndpointFormProps) WithError(err error) EndpointFormProps
type EnvelopeFormProps ¶
type EnvelopeTabProps ¶
type EnvelopeTabProps struct { Envelope models.Envelope Tab routes.EnvelopeTab }
type FlashProps ¶
type HelpDialogProps ¶ added in v0.14.0
func (HelpDialogProps) ShowModal ¶ added in v0.14.0
func (h HelpDialogProps) ShowModal() templ.ComponentScript
type LoginFormProps ¶ added in v0.13.1
type PaginateFooterProps ¶
type PaginateFooterProps struct {}
type PaginateHeaderProps ¶
type PaginateHeaderProps struct { Route routes.Route Query url.Values PageResult pagination.PageResult Ascending bool }
type RecentEnvelopeListProps ¶
type RuleFormData ¶ added in v0.14.0
type RuleFormExpressionLabelProps ¶ added in v0.14.0
type RuleFormExpressionLabelProps struct {
Err error
}
type RuleFormProps ¶ added in v0.14.0
type RuleFormProps struct { Flash templ.Component Create bool Data RuleFormData }
func (RuleFormProps) Route ¶ added in v0.14.0
func (p RuleFormProps) Route() routes.Route
func (RuleFormProps) WithError ¶ added in v0.14.0
func (p RuleFormProps) WithError(err error) RuleFormProps
type RuleToggleButtonProps ¶
type StorageStatsProps ¶
Source Files ¶
- attachment_card_templ.go
- base_templ.go
- components.go
- endpoint_form.go
- endpoint_form_templ.go
- envelope_form_templ.go
- envelope_tab_templ.go
- flash_templ.go
- footer_templ.go
- format_date_templ.go
- header_templ.go
- help_dialog_templ.go
- layout_templ.go
- login_form_templ.go
- paginate_footer_templ.go
- paginate_header_templ.go
- recent_envelope_list_templ.go
- rule_form.go
- rule_form_templ.go
- rule_toggle_button_templ.go
- storage_stats_templ.go
- table_order_th_templ.go
Click to show internal directories.
Click to hide internal directories.