Updated login page logo & wordmark and responsive behavior

This commit is contained in:
Torkel Ödegaard
2018-10-31 13:40:58 -07:00
parent 74c9defede
commit 4dad8d946e
7 changed files with 52 additions and 43 deletions

View File

@@ -31,9 +31,11 @@ const (
)
const (
DEV string = "development"
PROD string = "production"
TEST string = "test"
DEV = "development"
PROD = "production"
TEST = "test"
APP_NAME = "Grafana"
APP_NAME_ENTERPRISE = "Grafana Enterprise"
)
var (
@@ -531,9 +533,9 @@ func (cfg *Cfg) Load(args *CommandLineArgs) error {
// Temporary keep global, to make refactor in steps
Raw = cfg.Raw
ApplicationName = "Grafana"
ApplicationName = APP_NAME
if IsEnterprise {
ApplicationName += " Enterprise"
ApplicationName = APP_NAME_ENTERPRISE
}
Env = iniFile.Section("").Key("app_mode").MustString("development")