Documentation ¶
Index ¶
- Variables
- func AdminHead(title string) string
- func DadataHead() string
- func DadataScript(Inputs map[string][]string) string
- func FooterHTML(FooterMenu Menu) string
- func HTTPResponse(msg []byte, statusCode int, headers ...string) string
- func HeaderHTML(TopMenu Menu) string
- func StreamAdminHead(qw422016 *qt422016.Writer, title string)
- func StreamDadataHead(qw422016 *qt422016.Writer)
- func StreamDadataScript(qw422016 *qt422016.Writer, Inputs map[string][]string)
- func StreamFooterHTML(qw422016 *qt422016.Writer, FooterMenu Menu)
- func StreamHTTPResponse(qw422016 *qt422016.Writer, msg []byte, statusCode int, headers ...string)
- func StreamHeaderHTML(qw422016 *qt422016.Writer, TopMenu Menu)
- func WriteAdminHead(qq422016 qtio422016.Writer, title string)
- func WriteDadataHead(qq422016 qtio422016.Writer)
- func WriteDadataScript(qq422016 qtio422016.Writer, Inputs map[string][]string)
- func WriteFooterHTML(qq422016 qtio422016.Writer, FooterMenu Menu)
- func WriteHTTPResponse(qq422016 qtio422016.Writer, msg []byte, statusCode int, headers ...string)
- func WriteHeaderHTML(qq422016 qtio422016.Writer, TopMenu Menu)
- type HeadHTMLPage
- type ItemMenu
- type Menu
- func (m Menu) Add(item *ItemMenu) Menu
- func (m Menu) FindItem(name string) (*ItemMenu, int)
- 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
- type SearchPanel
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrSubMennuNotFound = errors.New("item has't subMenu")
Functions ¶
func DadataHead ¶
func DadataHead() string
func DadataScript ¶
func FooterHTML ¶
func HTTPResponse ¶ added in v1.2.15
func HeaderHTML ¶
func StreamAdminHead ¶
func StreamDadataHead ¶
func StreamDadataScript ¶
func StreamFooterHTML ¶
func StreamHTTPResponse ¶ added in v1.2.15
func StreamHeaderHTML ¶
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)
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 ¶
func (*ItemMenu) AddSubItem ¶ added in v1.2.102
type Menu ¶ added in v1.0.11512
type Menu []*ItemMenu
func (Menu) RenderDropdownMenu ¶ added in v1.0.11512
func (Menu) RenderMenu ¶ added in v1.0.11512
func (Menu) StreamRenderDropdownMenu ¶ added in v1.0.11512
func (Menu) StreamRenderMenu ¶ added in v1.0.11512
func (Menu) WriteRenderDropdownMenu ¶ added in v1.0.11512
func (menu Menu) WriteRenderDropdownMenu(qq422016 qtio422016.Writer)
func (Menu) WriteRenderMenu ¶ added in v1.0.11512
func (menu Menu) WriteRenderMenu(qq422016 qtio422016.Writer, classMenu, classLi string)
type MenuOwnerBody ¶
func (*MenuOwnerBody) MenuOwner ¶
func (menu *MenuOwnerBody) MenuOwner() string
func (*MenuOwnerBody) StreamMenuOwner ¶
func (menu *MenuOwnerBody) StreamMenuOwner(qw422016 *qt422016.Writer)
func (*MenuOwnerBody) WriteMenuOwner ¶
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, labelButton, placeholder string, counter int) *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)
Click to show internal directories.
Click to hide internal directories.