layouts

package
v1.2.59 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2023 License: GPL-3.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdminHead

func AdminHead(title string) string

func DadataHead

func DadataHead() string

func DadataScript

func DadataScript(Inputs map[string][]string) string

func FooterHTML

func FooterHTML(FooterMenu Menu) string

func HTTPResponse added in v1.2.15

func HTTPResponse(msg []byte, statusCode int, headers ...string) string

func HeaderHTML

func HeaderHTML(TopMenu Menu) string

func PutEndForm

func PutEndForm() string

func PutHeadForm

func PutHeadForm() string

func PutStyles added in v1.0.311

func PutStyles() string

func StreamAdminHead

func StreamAdminHead(qw422016 *qt422016.Writer, title string)

func StreamDadataHead

func StreamDadataHead(qw422016 *qt422016.Writer)

func StreamDadataScript

func StreamDadataScript(qw422016 *qt422016.Writer, Inputs map[string][]string)

func StreamFooterHTML

func StreamFooterHTML(qw422016 *qt422016.Writer, FooterMenu Menu)

func StreamHTTPResponse added in v1.2.15

func StreamHTTPResponse(qw422016 *qt422016.Writer, msg []byte, statusCode int, headers ...string)

func StreamHeaderHTML

func StreamHeaderHTML(qw422016 *qt422016.Writer, TopMenu Menu)

func StreamPutEndForm

func StreamPutEndForm(qw422016 *qt422016.Writer)

func StreamPutHeadForm

func StreamPutHeadForm(qw422016 *qt422016.Writer)

func StreamPutStyles added in v1.0.311

func StreamPutStyles(qw422016 *qt422016.Writer)

func WriteAdminHead

func WriteAdminHead(qq422016 qtio422016.Writer, title string)

func WriteDadataHead

func WriteDadataHead(qq422016 qtio422016.Writer)

func WriteDadataScript

func WriteDadataScript(qq422016 qtio422016.Writer, Inputs map[string][]string)

func WriteFooterHTML

func WriteFooterHTML(qq422016 qtio422016.Writer, FooterMenu Menu)

func WriteHTTPResponse added in v1.2.15

func WriteHTTPResponse(qq422016 qtio422016.Writer, msg []byte, statusCode int, headers ...string)

func WriteHeaderHTML

func WriteHeaderHTML(qq422016 qtio422016.Writer, TopMenu Menu)

func WritePutEndForm

func WritePutEndForm(qq422016 qtio422016.Writer)

func WritePutHeadForm

func WritePutHeadForm(qq422016 qtio422016.Writer)

func WritePutStyles added in v1.0.311

func WritePutStyles(qq422016 qtio422016.Writer)

Types

type HeadHTMLPage

type HeadHTMLPage struct {
	Title      string
	Language   string
	Charset    string
	LinkStyles []string
	MetaTags   []string
	Scripts    []string
}

func (*HeadHTMLPage) HeadHTML

func (head *HeadHTMLPage) HeadHTML() string

func (*HeadHTMLPage) StreamHeadHTML

func (head *HeadHTMLPage) StreamHeadHTML(qw422016 *qt422016.Writer)

func (*HeadHTMLPage) WriteHeadHTML

func (head *HeadHTMLPage) WriteHeadHTML(qq422016 qtio422016.Writer)

type ItemMenu

type ItemMenu struct {
	Link, Label, Content, OnClick, Title, Target string
}
type Menu []ItemMenu
func (menu Menu) RenderDropdownMenu() string
func (menu Menu) RenderMenu(classMenu, classLi string) string
func (menu Menu) StreamRenderDropdownMenu(qw422016 *qt422016.Writer)
func (menu Menu) StreamRenderMenu(qw422016 *qt422016.Writer, classMenu, classLi string)
func (menu Menu) WriteRenderDropdownMenu(qq422016 qtio422016.Writer)
func (menu Menu) WriteRenderMenu(qq422016 qtio422016.Writer, classMenu, classLi string)
type MenuOwnerBody struct {
	TopMenu Menu
	Title   string
}
func (menu *MenuOwnerBody) MenuOwner() string
func (menu *MenuOwnerBody) StreamMenuOwner(qw422016 *qt422016.Writer)
func (menu *MenuOwnerBody) WriteMenuOwner(qq422016 qtio422016.Writer)

type SearchPanel added in v1.2.54

type SearchPanel struct {
	// contains filtered or unexported fields
}

func NewSearchPanel added in v1.2.55

func NewSearchPanel(action, suggestions, showObject string) *SearchPanel

func (*SearchPanel) Render added in v1.2.55

func (s *SearchPanel) Render() string

func (*SearchPanel) StreamRender added in v1.2.55

func (s *SearchPanel) StreamRender(qw422016 *qt422016.Writer)

func (*SearchPanel) WriteRender added in v1.2.55

func (s *SearchPanel) WriteRender(qq422016 qtio422016.Writer)

Jump to

Keyboard shortcuts

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