| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 | package constsimport (	"html/template")const AssetsPath = "assets"const AssetsVersion = "37"const DirIndexFile = "index.html"// Bootstrap resourcesconst AssetsBootstrapCss = AssetsPath + "/bootstrap.css"const AssetsBootstrapJs = AssetsPath + "/bootstrap.js"const AssetsJqueryJs = AssetsPath + "/jquery.js"const AssetsPopperJs = AssetsPath + "/popper.js"// System resourcesconst AssetsCpScriptsJs = AssetsPath + "/cp/scripts.js"const AssetsCpStylesCss = AssetsPath + "/cp/styles.css"const AssetsSysBgPng = AssetsPath + "/sys/bg.png"const AssetsSysFaveIco = AssetsPath + "/sys/fave.ico"const AssetsSysLogoPng = AssetsPath + "/sys/logo.png"const AssetsSysLogoSvg = AssetsPath + "/sys/logo.svg"const AssetsSysStylesCss = AssetsPath + "/sys/styles.css"// Wysiwyg editorconst AssetsCpWysiwygPellCss = AssetsPath + "/cp/wysiwyg/pell.css"const AssetsCpWysiwygPellJs = AssetsPath + "/cp/wysiwyg/pell.js"// CodeMirror template editorconst AssetsCpCodeMirrorCss = AssetsPath + "/cp/tmpl-editor/codemirror.css"const AssetsCpCodeMirrorJs = AssetsPath + "/cp/tmpl-editor/codemirror.js"// Make global for other packagesvar ParamDebug boolvar ParamHost stringvar ParamKeepAlive boolvar ParamPort intvar ParamWwwDir string// For admin paneltype BreadCrumb struct {	Name string	Link string}// Template datatype TmplSystem struct {	CpModule             string	CpSubModule          string	InfoVersion          string	PathCssBootstrap     string	PathCssCpCodeMirror  string	PathCssCpStyles      string	PathCssCpWysiwygPell string	PathCssStyles        string	PathJsBootstrap      string	PathJsCpCodeMirror   string	PathJsCpScripts      string	PathJsCpWysiwygPell  string	PathJsJquery         string	PathJsPopper         string	PathSvgLogo          string	PathThemeScripts     string	PathThemeStyles      string	PathIcoFav           string}type TmplError struct {	ErrorMessage string}type TmplData struct {	System TmplSystem	Data   interface{}}type TmplDataCpBase struct {	BodyClasses        string	Caption            string	Content            template.HTML	ModuleCurrentAlias string	NavBarModules      template.HTML	NavBarModulesSys   template.HTML	SidebarLeft        template.HTML	SidebarRight       template.HTML	UserAvatarLink     string	UserEmail          string	UserFirstName      string	UserId             int	UserLastName       string	UserPassword       string	Title              string}
 |