-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e075450
commit c4e5ee3
Showing
10 changed files
with
79 additions
and
20 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
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
= | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="utf-8" /> | ||
<link rel="icon" href="https://egov-dev-assets.s3.ap-south-1.amazonaws.com/browser-icon.png" /> | ||
|
@@ -11,17 +11,74 @@ | |
<meta name="theme-color" content="#00bcd1" /> | ||
<title>DIGIT</title> | ||
<!-- <link rel="stylesheet" href="https://unpkg.com/@egovernments/[email protected]/dist/index.css" /> --> | ||
|
||
<!-- <link rel="stylesheet" href="https://unpkg.com/@egovernments/digit-ui-css/dist/index.css"/> --> | ||
<!-- <script src="https://s3.ap-south-1.amazonaws.com/egov-dev-assets/globalConfigs.js"></script> --> | ||
<link rel="stylesheet" href="https://unpkg.com/@egovernments/[email protected]/dist/index.css" /> | ||
<script src="%REACT_APP_GLOBAL%"></script> | ||
|
||
<script> | ||
var globalConfigs = (function () { | ||
var stateTenantId = "pg"; | ||
var gmaps_api_key = 'AIzaSyCslxyiD1nuQuoshbu_E3WkIV8J2SUA6KI'; | ||
var contextPath = 'sandbox-ui'; | ||
var configModuleName = 'commonUiConfig'; | ||
var centralInstanceEnabled = false; | ||
var localeRegion = "IN"; | ||
var multiRootTenant = true; | ||
var isOTPBasedLogin = true; | ||
var localeDefault = "en"; | ||
var mdmsContextV1 = "egov-mdms-service"; | ||
var mdmsContextV2 = "mdms-v2"; | ||
var footerBWLogoURL = 'https://s3.ap-south-1.amazonaws.com/egov-uat-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 = 'works-qa-asset'; | ||
var 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 === 'MULTI_ROOT_TENANT') { | ||
return multiRootTenant; | ||
} else if (key === 'OTP_BASED_LOGIN') { | ||
return isOTPBasedLogin; | ||
} 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 === 'xstate-webchat-services') { | ||
return xstateWebchatServices; | ||
} 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_V1_CONTEXT_PATH") { | ||
return mdmsContextV2; | ||
} else if (key === "MDMS_V2_CONTEXT_PATH") { | ||
return mdmsContextV2; | ||
} if (key === 'INVALIDROLES') { | ||
return invalidEmployeeRoles; | ||
} | ||
}; | ||
return { | ||
getConfig | ||
}; | ||
}()); | ||
</script> | ||
</head> | ||
|
||
<body> | ||
<noscript>You need to enable JavaScript to run this app.</noscript> | ||
<div id="root"></div> | ||
</body> | ||
|
||
</html> |
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
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
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
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
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
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
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
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