Documentation ¶
Index ¶
- Constants
- Variables
- func Add(ctx echo.Context) error
- func BlockAdd(ctx echo.Context) error
- func BlockDelete(ctx echo.Context) error
- func BlockEdit(ctx echo.Context) error
- func BlockIndex(ctx echo.Context) error
- func Delete(ctx echo.Context) error
- func Edit(ctx echo.Context) error
- func GetAllThemeNames() []string
- func GetEmbedThemes() []*xtemplate.ThemeInfo
- func GetTemplateDiskFS() xtemplate.FileSystems
- func GetTemplateEmbedFS() http.FileSystem
- func Index(ctx echo.Context) error
- func LayoutAdd(ctx echo.Context) error
- func LayoutDelete(ctx echo.Context) error
- func LayoutEdit(ctx echo.Context) error
- func LayoutIndex(ctx echo.Context) error
- func ListTemplateFileNames(dir string, themes ...string) []string
- func ListTemplateFiles(dir string, themes ...string) (r []fs.FileInfo)
- func TemplateConfig(ctx echo.Context) error
- func TemplateEdit(ctx echo.Context) error
- func TemplateEnable(ctx echo.Context) error
- func TemplateIndex(ctx echo.Context) error
- func TemplatePreviewImage(ctx echo.Context) error
Constants ¶
View Source
const EventNameFrontendTemplateEdited = `frontend.template.edited`
Variables ¶
View Source
true, Name: `页面布局`, Action: `official/page`, Icon: `magic`, Children: &navigate.List{ { Display: true, Name: `模板管理`, Action: `template_index`, Icon: `columns`, }, { Display: false, Name: `修改模板`, Action: `template_edit`, Icon: `edit`, }, { Display: false, Name: `切换模板`, Action: `template_enable`, Icon: `edit`, }, { Display: false, Name: `删除模板`, Action: `template_delete`, }, }, }Display:
Functions ¶
func BlockDelete ¶
func BlockIndex ¶
func GetAllThemeNames ¶ added in v0.3.0
func GetAllThemeNames() []string
func GetEmbedThemes ¶
func GetTemplateDiskFS ¶
func GetTemplateDiskFS() xtemplate.FileSystems
func GetTemplateEmbedFS ¶
func GetTemplateEmbedFS() http.FileSystem
func LayoutDelete ¶
func LayoutEdit ¶
func LayoutIndex ¶
func ListTemplateFileNames ¶ added in v0.3.0
func ListTemplateFiles ¶ added in v0.3.0
func TemplateConfig ¶
func TemplateEdit ¶
func TemplateEnable ¶
func TemplateIndex ¶
func TemplatePreviewImage ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.