views

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2022 License: AGPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AboutHTML

func AboutHTML(lc *l18n.Localizer) string

func AdminPanelHTML

func AdminPanelHTML(lc *l18n.Localizer) string

func AdminUserDeleteHTML added in v1.3.0

func AdminUserDeleteHTML(u *user.User, f util.FormData, lc *l18n.Localizer) string

func AdminUserEditHTML added in v1.3.0

func AdminUserEditHTML(u *user.User, f util.FormData, lc *l18n.Localizer) string

func AdminUserNewHTML added in v1.3.0

func AdminUserNewHTML(f util.FormData, lc *l18n.Localizer) string

func AdminUsersPanelHTML added in v1.2.0

func AdminUsersPanelHTML(userList []*user.User, lc *l18n.Localizer) string

func AttachmentHTML

func AttachmentHTML(h *hyphae.MediaHypha, lc *l18n.Localizer) string

func AttachmentHTMLRaw added in v1.5.0

func AttachmentHTMLRaw(h *hyphae.MediaHypha) string

func AttachmentMenuHTML

func AttachmentMenuHTML(rq *http.Request, h hyphae.Hypha, u *user.User) string

func BacklinksHTML added in v1.5.0

func BacklinksHTML(hyphaName string, generator func(string) <-chan string, lc *l18n.Localizer) string

func BaseHTML

func BaseHTML(title, body string, lc *l18n.Localizer, u *user.User, headElements ...string) string

func CommonScripts added in v1.2.0

func CommonScripts() string

func DeleteAskHTML

func DeleteAskHTML(rq *http.Request, hyphaName string, isOld bool) string

func EditHTML

func EditHTML(rq *http.Request, hyphaName, textAreaFill, warning string) string

func HelpEmptyErrorHTML added in v1.3.0

func HelpEmptyErrorHTML(lc *l18n.Localizer) string

func HelpHTML added in v1.3.0

func HelpHTML(content, lang string, lc *l18n.Localizer) string

func HistoryHTML

func HistoryHTML(rq *http.Request, hyphaName, list string, lc *l18n.Localizer) string

func HyphaHTML

func HyphaHTML(rq *http.Request, lc *l18n.Localizer, h hyphae.Hypha, contents string) string

func HyphaListHTML

func HyphaListHTML(lc *l18n.Localizer) string

func LockHTML added in v1.3.0

func LockHTML(lc *l18n.Localizer) string

func LoginErrorHTML

func LoginErrorHTML(err string, lc *l18n.Localizer) string

func LoginHTML

func LoginHTML(lc *l18n.Localizer) string

func LogoutHTML

func LogoutHTML(can bool, lc *l18n.Localizer) string
func NaviTitleHTML(h hyphae.Hypha) string

func PreviewHTML

func PreviewHTML(rq *http.Request, hyphaName, textAreaFill, message, warning string, renderedPage string) string

func PrimitiveDiffHTML

func PrimitiveDiffHTML(rq *http.Request, h hyphae.ExistingHypha, u *user.User, hash string) string

func RecentChangesHTML

func RecentChangesHTML(n int, lc *l18n.Localizer) string

func RegisterHTML added in v1.1.0

func RegisterHTML(rq *http.Request) string

func RenameAskHTML

func RenameAskHTML(rq *http.Request, hyphaName string, isOld bool) string

func RevisionHTML

func RevisionHTML(rq *http.Request, lc *l18n.Localizer, h hyphae.Hypha, contents, revHash string) string

func StreamAboutHTML

func StreamAboutHTML(qw422016 *qt422016.Writer, lc *l18n.Localizer)

func StreamAdminPanelHTML

func StreamAdminPanelHTML(qw422016 *qt422016.Writer, lc *l18n.Localizer)

func StreamAdminUserDeleteHTML added in v1.3.0

func StreamAdminUserDeleteHTML(qw422016 *qt422016.Writer, u *user.User, f util.FormData, lc *l18n.Localizer)

func StreamAdminUserEditHTML added in v1.3.0

func StreamAdminUserEditHTML(qw422016 *qt422016.Writer, u *user.User, f util.FormData, lc *l18n.Localizer)

func StreamAdminUserNewHTML added in v1.3.0

func StreamAdminUserNewHTML(qw422016 *qt422016.Writer, f util.FormData, lc *l18n.Localizer)

func StreamAdminUsersPanelHTML added in v1.2.0

func StreamAdminUsersPanelHTML(qw422016 *qt422016.Writer, userList []*user.User, lc *l18n.Localizer)

func StreamAttachmentHTML

func StreamAttachmentHTML(qw422016 *qt422016.Writer, h *hyphae.MediaHypha, lc *l18n.Localizer)

func StreamAttachmentHTMLRaw added in v1.5.0

func StreamAttachmentHTMLRaw(qw422016 *qt422016.Writer, h *hyphae.MediaHypha)

func StreamAttachmentMenuHTML

func StreamAttachmentMenuHTML(qw422016 *qt422016.Writer, rq *http.Request, h hyphae.Hypha, u *user.User)

func StreamBacklinksHTML added in v1.5.0

func StreamBacklinksHTML(qw422016 *qt422016.Writer, hyphaName string, generator func(string) <-chan string, lc *l18n.Localizer)

func StreamBaseHTML

func StreamBaseHTML(qw422016 *qt422016.Writer, title, body string, lc *l18n.Localizer, u *user.User, headElements ...string)

func StreamCommonScripts added in v1.2.0

func StreamCommonScripts(qw422016 *qt422016.Writer)

func StreamDeleteAskHTML

func StreamDeleteAskHTML(qw422016 *qt422016.Writer, rq *http.Request, hyphaName string, isOld bool)

func StreamEditHTML

func StreamEditHTML(qw422016 *qt422016.Writer, rq *http.Request, hyphaName, textAreaFill, warning string)

func StreamHelpEmptyErrorHTML added in v1.3.0

func StreamHelpEmptyErrorHTML(qw422016 *qt422016.Writer, lc *l18n.Localizer)

func StreamHelpHTML added in v1.3.0

func StreamHelpHTML(qw422016 *qt422016.Writer, content, lang string, lc *l18n.Localizer)

func StreamHistoryHTML

func StreamHistoryHTML(qw422016 *qt422016.Writer, rq *http.Request, hyphaName, list string, lc *l18n.Localizer)

func StreamHyphaHTML

func StreamHyphaHTML(qw422016 *qt422016.Writer, rq *http.Request, lc *l18n.Localizer, h hyphae.Hypha, contents string)

func StreamHyphaListHTML

func StreamHyphaListHTML(qw422016 *qt422016.Writer, lc *l18n.Localizer)

func StreamLockHTML added in v1.3.0

func StreamLockHTML(qw422016 *qt422016.Writer, lc *l18n.Localizer)

func StreamLoginErrorHTML

func StreamLoginErrorHTML(qw422016 *qt422016.Writer, err string, lc *l18n.Localizer)

func StreamLoginHTML

func StreamLoginHTML(qw422016 *qt422016.Writer, lc *l18n.Localizer)

func StreamLogoutHTML

func StreamLogoutHTML(qw422016 *qt422016.Writer, can bool, lc *l18n.Localizer)

func StreamNaviTitleHTML

func StreamNaviTitleHTML(qw422016 *qt422016.Writer, h hyphae.Hypha)

func StreamPreviewHTML

func StreamPreviewHTML(qw422016 *qt422016.Writer, rq *http.Request, hyphaName, textAreaFill, message, warning string, renderedPage string)

func StreamPrimitiveDiffHTML

func StreamPrimitiveDiffHTML(qw422016 *qt422016.Writer, rq *http.Request, h hyphae.ExistingHypha, u *user.User, hash string)

func StreamRecentChangesHTML

func StreamRecentChangesHTML(qw422016 *qt422016.Writer, n int, lc *l18n.Localizer)

func StreamRegisterHTML added in v1.1.0

func StreamRegisterHTML(qw422016 *qt422016.Writer, rq *http.Request)

func StreamRenameAskHTML

func StreamRenameAskHTML(qw422016 *qt422016.Writer, rq *http.Request, hyphaName string, isOld bool)

func StreamRevisionHTML

func StreamRevisionHTML(qw422016 *qt422016.Writer, rq *http.Request, lc *l18n.Localizer, h hyphae.Hypha, contents, revHash string)

func StreamSubhyphaeHTML

func StreamSubhyphaeHTML(qw422016 *qt422016.Writer, subhyphae string, lc *l18n.Localizer)

func StreamTitleSearchHTML added in v1.3.0

func StreamTitleSearchHTML(qw422016 *qt422016.Writer, query string, generator func(string) <-chan string, lc *l18n.Localizer)

func StreamTitleSearchJSON added in v1.3.0

func StreamTitleSearchJSON(qw422016 *qt422016.Writer, query string, generator func(string) <-chan string)

func StreamToolbar added in v1.1.0

func StreamToolbar(qw422016 *qt422016.Writer, u *user.User, lc *l18n.Localizer)

func StreamUnattachAskHTML

func StreamUnattachAskHTML(qw422016 *qt422016.Writer, rq *http.Request, hyphaName string, isOld bool)

func StreamUserListHTML

func StreamUserListHTML(qw422016 *qt422016.Writer, lc *l18n.Localizer)

func SubhyphaeHTML

func SubhyphaeHTML(subhyphae string, lc *l18n.Localizer) string

func TitleSearchHTML added in v1.3.0

func TitleSearchHTML(query string, generator func(string) <-chan string, lc *l18n.Localizer) string

func TitleSearchJSON added in v1.3.0

func TitleSearchJSON(query string, generator func(string) <-chan string) string

func Toolbar added in v1.1.0

func Toolbar(u *user.User, lc *l18n.Localizer) string

func UnattachAskHTML

func UnattachAskHTML(rq *http.Request, hyphaName string, isOld bool) string

func UserListHTML

func UserListHTML(lc *l18n.Localizer) string

func WriteAboutHTML

func WriteAboutHTML(qq422016 qtio422016.Writer, lc *l18n.Localizer)

func WriteAdminPanelHTML

func WriteAdminPanelHTML(qq422016 qtio422016.Writer, lc *l18n.Localizer)

func WriteAdminUserDeleteHTML added in v1.3.0

func WriteAdminUserDeleteHTML(qq422016 qtio422016.Writer, u *user.User, f util.FormData, lc *l18n.Localizer)

func WriteAdminUserEditHTML added in v1.3.0

func WriteAdminUserEditHTML(qq422016 qtio422016.Writer, u *user.User, f util.FormData, lc *l18n.Localizer)

func WriteAdminUserNewHTML added in v1.3.0

func WriteAdminUserNewHTML(qq422016 qtio422016.Writer, f util.FormData, lc *l18n.Localizer)

func WriteAdminUsersPanelHTML added in v1.2.0

func WriteAdminUsersPanelHTML(qq422016 qtio422016.Writer, userList []*user.User, lc *l18n.Localizer)

func WriteAttachmentHTML

func WriteAttachmentHTML(qq422016 qtio422016.Writer, h *hyphae.MediaHypha, lc *l18n.Localizer)

func WriteAttachmentHTMLRaw added in v1.5.0

func WriteAttachmentHTMLRaw(qq422016 qtio422016.Writer, h *hyphae.MediaHypha)

func WriteAttachmentMenuHTML

func WriteAttachmentMenuHTML(qq422016 qtio422016.Writer, rq *http.Request, h hyphae.Hypha, u *user.User)

func WriteBacklinksHTML added in v1.5.0

func WriteBacklinksHTML(qq422016 qtio422016.Writer, hyphaName string, generator func(string) <-chan string, lc *l18n.Localizer)

func WriteBaseHTML

func WriteBaseHTML(qq422016 qtio422016.Writer, title, body string, lc *l18n.Localizer, u *user.User, headElements ...string)

func WriteCommonScripts added in v1.2.0

func WriteCommonScripts(qq422016 qtio422016.Writer)

func WriteDeleteAskHTML

func WriteDeleteAskHTML(qq422016 qtio422016.Writer, rq *http.Request, hyphaName string, isOld bool)

func WriteEditHTML

func WriteEditHTML(qq422016 qtio422016.Writer, rq *http.Request, hyphaName, textAreaFill, warning string)

func WriteHelpEmptyErrorHTML added in v1.3.0

func WriteHelpEmptyErrorHTML(qq422016 qtio422016.Writer, lc *l18n.Localizer)

func WriteHelpHTML added in v1.3.0

func WriteHelpHTML(qq422016 qtio422016.Writer, content, lang string, lc *l18n.Localizer)

func WriteHistoryHTML

func WriteHistoryHTML(qq422016 qtio422016.Writer, rq *http.Request, hyphaName, list string, lc *l18n.Localizer)

func WriteHyphaHTML

func WriteHyphaHTML(qq422016 qtio422016.Writer, rq *http.Request, lc *l18n.Localizer, h hyphae.Hypha, contents string)

func WriteHyphaListHTML

func WriteHyphaListHTML(qq422016 qtio422016.Writer, lc *l18n.Localizer)

func WriteLockHTML added in v1.3.0

func WriteLockHTML(qq422016 qtio422016.Writer, lc *l18n.Localizer)

func WriteLoginErrorHTML

func WriteLoginErrorHTML(qq422016 qtio422016.Writer, err string, lc *l18n.Localizer)

func WriteLoginHTML

func WriteLoginHTML(qq422016 qtio422016.Writer, lc *l18n.Localizer)

func WriteLogoutHTML

func WriteLogoutHTML(qq422016 qtio422016.Writer, can bool, lc *l18n.Localizer)

func WriteNaviTitleHTML

func WriteNaviTitleHTML(qq422016 qtio422016.Writer, h hyphae.Hypha)

func WritePreviewHTML

func WritePreviewHTML(qq422016 qtio422016.Writer, rq *http.Request, hyphaName, textAreaFill, message, warning string, renderedPage string)

func WritePrimitiveDiffHTML

func WritePrimitiveDiffHTML(qq422016 qtio422016.Writer, rq *http.Request, h hyphae.ExistingHypha, u *user.User, hash string)

func WriteRecentChangesHTML

func WriteRecentChangesHTML(qq422016 qtio422016.Writer, n int, lc *l18n.Localizer)

func WriteRegisterHTML added in v1.1.0

func WriteRegisterHTML(qq422016 qtio422016.Writer, rq *http.Request)

func WriteRenameAskHTML

func WriteRenameAskHTML(qq422016 qtio422016.Writer, rq *http.Request, hyphaName string, isOld bool)

func WriteRevisionHTML

func WriteRevisionHTML(qq422016 qtio422016.Writer, rq *http.Request, lc *l18n.Localizer, h hyphae.Hypha, contents, revHash string)

func WriteSubhyphaeHTML

func WriteSubhyphaeHTML(qq422016 qtio422016.Writer, subhyphae string, lc *l18n.Localizer)

func WriteTitleSearchHTML added in v1.3.0

func WriteTitleSearchHTML(qq422016 qtio422016.Writer, query string, generator func(string) <-chan string, lc *l18n.Localizer)

func WriteTitleSearchJSON added in v1.3.0

func WriteTitleSearchJSON(qq422016 qtio422016.Writer, query string, generator func(string) <-chan string)

func WriteToolbar added in v1.1.0

func WriteToolbar(qq422016 qtio422016.Writer, u *user.User, lc *l18n.Localizer)

func WriteUnattachAskHTML

func WriteUnattachAskHTML(qq422016 qtio422016.Writer, rq *http.Request, hyphaName string, isOld bool)

func WriteUserListHTML

func WriteUserListHTML(qq422016 qtio422016.Writer, lc *l18n.Localizer)

Types

This section is empty.

Jump to

Keyboard shortcuts

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