Documentation
¶
Index ¶
- type Config
- type UiManager
- func (m UiManager) TemplateCreateAjax(w http.ResponseWriter, r *http.Request)
- func (m UiManager) TemplateManager(w http.ResponseWriter, r *http.Request)
- func (m UiManager) TemplateTrashAjax(w http.ResponseWriter, r *http.Request)
- func (m UiManager) TemplateUpdate(w http.ResponseWriter, r *http.Request)
- func (m UiManager) TemplateUpdateAjax(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Endpoint string
EntityStore entitystore.StoreInterface
TemplateEntityType string
PathTemplatesTemplateManager string
PathTemplatesTemplateUpdate string
WebpageComplete func(string, string) *hb.HtmlWebpage
FuncLayout func(string) string
CmsHeader func(string) string
CmsBreadcrumbs func([]bs.Breadcrumb) string
}
type UiManager ¶
type UiManager struct {
// contains filtered or unexported fields
}
func NewUiManager ¶
func (UiManager) TemplateCreateAjax ¶
func (m UiManager) TemplateCreateAjax(w http.ResponseWriter, r *http.Request)
func (UiManager) TemplateManager ¶
func (m UiManager) TemplateManager(w http.ResponseWriter, r *http.Request)
func (UiManager) TemplateTrashAjax ¶
func (m UiManager) TemplateTrashAjax(w http.ResponseWriter, r *http.Request)
TemplateTrashAjax - moves the template to the trash
func (UiManager) TemplateUpdate ¶
func (m UiManager) TemplateUpdate(w http.ResponseWriter, r *http.Request)
pageTemplatesTemplateUpdate shows the template edit page
func (UiManager) TemplateUpdateAjax ¶
func (m UiManager) TemplateUpdateAjax(w http.ResponseWriter, r *http.Request)
pageTemplatesTemplateUpdateAjax - saves the template via Ajax
Click to show internal directories.
Click to hide internal directories.