Documentation ¶
Index ¶
- Constants
- Variables
- func GetImportCSSTag(src string) template.HTML
- func GetImportJSTag(src string) template.HTML
- type BaseTheme
- func (b *BaseTheme) Get403HTML() template.HTML
- func (b *BaseTheme) Get404HTML() template.HTML
- func (b *BaseTheme) Get500HTML() template.HTML
- func (b *BaseTheme) GetAssetImportHTML(exclude ...string) template.HTML
- func (b *BaseTheme) GetFootJS() template.HTML
- func (b *BaseTheme) GetHeadHTML() template.HTML
- func (b *BaseTheme) GetRequirements() []string
- func (b *BaseTheme) GetTemplate(isPjax bool) (tmpl *template.Template, name string)
- func (b *BaseTheme) GetVersion() string
Constants ¶
View Source
const Version = "v0.0.43"
Variables ¶
View Source
var SepTemplateList = map[string]string{
"403": "403",
"404": "404",
"500": "500",
"admin_panel": "admin_panel",
"components/alert": "components/alert",
"components/box": "components/box",
"components/button": "components/button",
"components/col": "components/col",
"components/form/array": "components/form/array",
"components/form/checkbox": "components/form/checkbox",
"components/form/checkbox_single": "components/form/checkbox_single",
"components/form/checkbox_stacked": "components/form/checkbox_stacked",
"components/form/code": "components/form/code",
"components/form/color": "components/form/color",
"components/form/currency": "components/form/currency",
"components/form/custom": "components/form/custom",
"components/form/datetime": "components/form/datetime",
"components/form/datetime_range": "components/form/datetime_range",
"components/form/default": "components/form/default",
"components/form/email": "components/form/email",
"components/form/file": "components/form/file",
"components/form/help_block": "components/form/help_block",
"components/form/iconpicker": "components/form/iconpicker",
"components/form/ip": "components/form/ip",
"components/form/multi_file": "components/form/multi_file",
"components/form/number": "components/form/number",
"components/form/number_range": "components/form/number_range",
"components/form/password": "components/form/password",
"components/form/radio": "components/form/radio",
"components/form/rate": "components/form/rate",
"components/form/richtext": "components/form/richtext",
"components/form/select": "components/form/select",
"components/form/selectbox": "components/form/selectbox",
"components/form/singleselect": "components/form/singleselect",
"components/form/slider": "components/form/slider",
"components/form/switch": "components/form/switch",
"components/form/table": "components/form/table",
"components/form/text": "components/form/text",
"components/form/textarea": "components/form/textarea",
"components/form/url": "components/form/url",
"components/form": "components/form",
"components/form_components": "components/form_components",
"components/form_components_layout": "components/form_components_layout",
"components/form_layout_default": "components/form_layout_default",
"components/form_layout_flow": "components/form_layout_flow",
"components/form_layout_tab": "components/form_layout_tab",
"components/form_layout_two_col": "components/form_layout_two_col",
"components/image": "components/image",
"components/label": "components/label",
"components/link": "components/link",
"components/paginator": "components/paginator",
"components/popup": "components/popup",
"components/row": "components/row",
"components/table/box-header": "components/table/box-header",
"components/table": "components/table",
"components/tabs": "components/tabs",
"components/tree-header": "components/tree-header",
"components/tree": "components/tree",
"components/treeview": "components/treeview",
"content": "content",
"control_panel": "control_panel",
"footer": "footer",
"head": "head",
"header": "header",
"js": "js",
"layout": "layout",
"menu": "menu",
"sidebar": "sidebar",
}
Functions ¶
func GetImportCSSTag ¶
func GetImportJSTag ¶
Types ¶
type BaseTheme ¶
type BaseTheme struct { AssetPaths map[string]string TemplateList map[string]string Separation bool }
func (*BaseTheme) Get403HTML ¶
func (*BaseTheme) Get404HTML ¶
func (*BaseTheme) Get500HTML ¶
func (*BaseTheme) GetAssetImportHTML ¶
func (*BaseTheme) GetHeadHTML ¶
func (*BaseTheme) GetRequirements ¶
func (*BaseTheme) GetTemplate ¶
func (*BaseTheme) GetVersion ¶
Click to show internal directories.
Click to hide internal directories.