html

package
v0.0.0-...-d787f02 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EditEventMain

func EditEventMain(form contract.EditEventForm, errs url.Values, csrf string) Node

EditEventMain render the edit event page main content.

func ErrorMain

func ErrorMain(text string) Node

ErrorMain renders the error page main content.

func EventCard

func EventCard(user *domain.User, ev *domain.Event, csrf string) Node

EventCard renders the event card.

func EventListPartial

func EventListPartial(user *domain.User, offset int64, events []*domain.Event, csrf string) Node

EventListPartial renders the event list partial.

func EventNav

func EventNav(user *domain.User, path, csrf string) Node

EventNav renders the event navigation.

func EventsMain

func EventsMain(csrf string) Node

EventsMain renders the events page main content.

func InviteLinkPartial

func InviteLinkPartial(token uuid.UUID) Node

InviteLinkPartial renders an invite link.

func LoginMain

func LoginMain(form contract.LoginForm, errs url.Values, csrf string) Node

LoginMain renders the login page main content.

func Page

func Page(props PageProps) Node

Page renders a page.

func RegisterMain

func RegisterMain(form contract.RegisterForm, errs url.Values, csrf string) Node

RegisterMain renders the registration page main content.

func SetupMain

func SetupMain(form contract.SetupForm, errs url.Values, csrf string) Node

SetupMain renders the setup page main content.

func StopWordsMain

func StopWordsMain(words []string, csrf string) Node

StopWordsMain renders the stop words form.

func TagListPartial

func TagListPartial(tags []*domain.Tag, csrf string) Node

TagListPartial renders the tag list partial.

func TagsMain

func TagsMain(csrf string) Node

TagsMain renders the tags page main content.

func UserNav

func UserNav(user *domain.User, children Node) Node

UserNav renders the user navigation.

func UsersListPartial

func UsersListPartial(currentUser *domain.User, users []*domain.User, csrf string) Node

UsersListPartial renders users list partial.

func UsersMain

func UsersMain(currentUser *domain.User, users []*domain.User, csrf string) Node

UsersMain renders the users page main content.

Types

type PageProps

type PageProps struct {
	Title        string
	User         *domain.User
	Path         string
	CSRF         string
	Children     Node
	FlashSuccess string
}

PageProps is props for page.

Jump to

Keyboard shortcuts

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