-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'mf-build-docker' into mf-nabeel
- Loading branch information
Showing
1 changed file
with
51 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,61 +2,62 @@ | |
<html lang="en"> | ||
|
||
<head> | ||
<base href="/" /> | ||
<title>Core Page</title> | ||
<link rel="preconnect" href="https://fonts.gstatic.com" /> | ||
<script src="https://s3.ap-south-1.amazonaws.com/egov-dev-assets/globalConfigsWorkbench.js"></script> | ||
<script> | ||
var globalConfigs = (function () { | ||
var contextPath = "workbench-ui"; | ||
var stateTenantId = "pg"; | ||
var gmaps_api_key = "AIzaSyAASfCFja6YxwDzEAzhHFc8B-17TNTCV0g"; | ||
var configModuleName = "commonUiConfig"; | ||
var centralInstanceEnabled = false; | ||
var localeRegion = "IN"; | ||
var localeDefault = "en"; | ||
var mdmsContext = "mdms-v2"; | ||
var footerBWLogoURL = | ||
"https://unified-dev.digit.org/egov-dev-assets/digit-footer-bw.png"; | ||
var footerLogoURL = | ||
"https://unified-dev.digit.org/egov-dev-assets/digit-footer.png"; | ||
var digitHomeURL = "https://www.digit.org/"; | ||
var assetS3Bucket = "egov-dev-assets"; | ||
var invalidEmployeeRoles = ["CBO_ADMIN", "ORG_ADMIN", "ORG_STAFF", "SYSTEM"]; | ||
var globalConfigs = (function () { | ||
var contextPath = "workbench-ui"; | ||
var stateTenantId = "pg"; | ||
var gmaps_api_key = "AIzaSyAASfCFja6YxwDzEAzhHFc8B-17TNTCV0g"; | ||
var configModuleName = "commonUiConfig"; | ||
var centralInstanceEnabled = false; | ||
var localeRegion = "IN"; | ||
var localeDefault = "en"; | ||
var mdmsContext = "mdms-v2"; | ||
var footerBWLogoURL = | ||
"https://unified-dev.digit.org/egov-dev-assets/digit-footer-bw.png"; | ||
var footerLogoURL = | ||
"https://unified-dev.digit.org/egov-dev-assets/digit-footer.png"; | ||
var digitHomeURL = "https://www.digit.org/"; | ||
var assetS3Bucket = "egov-dev-assets"; | ||
var invalidEmployeeRoles = ["CBO_ADMIN", "ORG_ADMIN", "ORG_STAFF", "SYSTEM"]; | ||
|
||
var getConfig = function (key) { | ||
if (key === "STATE_LEVEL_TENANT_ID") { | ||
return stateTenantId; | ||
} else if (key === "GMAPS_API_KEY") { | ||
return gmaps_api_key; | ||
} else if (key === "ENABLE_SINGLEINSTANCE") { | ||
return centralInstanceEnabled; | ||
} else if (key === "DIGIT_FOOTER_BW") { | ||
return footerBWLogoURL; | ||
} else if (key === "DIGIT_FOOTER") { | ||
return footerLogoURL; | ||
} else if (key === "DIGIT_HOME_URL") { | ||
return digitHomeURL; | ||
} else if (key === "S3BUCKET") { | ||
return assetS3Bucket; | ||
} else if (key === "CONTEXT_PATH") { | ||
return contextPath; | ||
} else if (key === "UICONFIG_MODULENAME") { | ||
return configModuleName; | ||
} else if (key === "LOCALE_REGION") { | ||
return localeRegion; | ||
} else if (key === "LOCALE_DEFAULT") { | ||
return localeDefault; | ||
} else if (key === "MDMS_CONTEXT_PATH") { | ||
return mdmsContext; | ||
} else if (key === "INVALIDROLES") { | ||
return invalidEmployeeRoles; | ||
} | ||
}; | ||
var getConfig = function (key) { | ||
if (key === "STATE_LEVEL_TENANT_ID") { | ||
return stateTenantId; | ||
} else if (key === "GMAPS_API_KEY") { | ||
return gmaps_api_key; | ||
} else if (key === "ENABLE_SINGLEINSTANCE") { | ||
return centralInstanceEnabled; | ||
} else if (key === "DIGIT_FOOTER_BW") { | ||
return footerBWLogoURL; | ||
} else if (key === "DIGIT_FOOTER") { | ||
return footerLogoURL; | ||
} else if (key === "DIGIT_HOME_URL") { | ||
return digitHomeURL; | ||
} else if (key === "S3BUCKET") { | ||
return assetS3Bucket; | ||
} else if (key === "CONTEXT_PATH") { | ||
return contextPath; | ||
} else if (key === "UICONFIG_MODULENAME") { | ||
return configModuleName; | ||
} else if (key === "LOCALE_REGION") { | ||
return localeRegion; | ||
} else if (key === "LOCALE_DEFAULT") { | ||
return localeDefault; | ||
} else if (key === "MDMS_CONTEXT_PATH") { | ||
return mdmsContext; | ||
} else if (key === "INVALIDROLES") { | ||
return invalidEmployeeRoles; | ||
} | ||
}; | ||
|
||
return { | ||
getConfig, | ||
}; | ||
})(); | ||
return { | ||
getConfig, | ||
}; | ||
})(); | ||
</script> | ||
<link rel="stylesheet" href="https://unpkg.com/@egovernments/[email protected]/dist/index.css" /> | ||
|
||
|
@@ -104,7 +105,7 @@ | |
|
||
<body> | ||
<div id="root"></div> | ||
|
||
</body> | ||
|
||
</html> |