portal

package
v0.2.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2017 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CMLandingIndex         = "/content/home/landing/index.htm"
	CMInternationalization = "/i18n"
	CMCustomLess           = "/less/custom.less"
	CMFavicon              = "/style/images/favicon.ico"
)
View Source
const (
	CMRebuildStyles = "/resources/branding/generatestyles"
)

Variables

This section is empty.

Functions

func DownloadFile

func DownloadFile(config control.Configuration, path string, outputFilename string, debug bool)

DownloadFile downloads a file from the Portal's CMS

func RebuildStyles

func RebuildStyles(config control.Configuration, theme string, debug bool) error

RebuildStyles rebuilds the portal's styles

func ResetTheme

func ResetTheme(config control.Configuration, theme string, debug bool) error

ResetTheme restores the portal theme to as close to vanilla as possible

func UploadFiles

func UploadFiles(files []string, config control.Configuration, path string, debug bool)

UploadFiles uploads a file or files to the Portal CMS

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL