generated from bcgov/quickstart-openshift
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #436 from bcgov/update-fav-icon
updating site title
- Loading branch information
Showing
1 changed file
with
125 additions
and
0 deletions.
There are no files selected for viewing
125 changes: 125 additions & 0 deletions
125
forms-flow-ai/forms-flow-ai-ee/forms-flow-web-root-config/src/index.ejs
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 |
---|---|---|
@@ -0,0 +1,125 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | ||
<title>Site Remediaton Services</title> | ||
<script src="/config/config.js"></script> | ||
<link rel="stylesheet" href="https://unpkg.com/bpmn-js-properties-panel/dist/assets/properties-panel.css"> | ||
<link rel="stylesheet" href="https://unpkg.com/bpmn-js-properties-panel/dist/assets/element-templates.css"> | ||
<!-- required dmn modeler styles --> | ||
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/assets/diagram-js.css"> | ||
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/assets/dmn-js-shared.css"> | ||
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/assets/dmn-js-drd.css"> | ||
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/assets/dmn-js-decision-table.css"> | ||
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/assets/dmn-js-decision-table-controls.css"> | ||
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/assets/dmn-js-literal-expression.css"> | ||
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/assets/dmn-font/css/dmn.css"> | ||
|
||
<!-- required styles from cdn --> | ||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;700&display=swap"> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.min.css"> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/formio.full.min.css"> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> | ||
<script src="https://cdn.form.io/flatpickr/flatpickr.min.js"></script> | ||
<link rel="stylesheet" href="https://cdn.form.io/flatpickr/flatpickr.min.css"> | ||
<script src="https://npmcdn.com/flatpickr/dist/l10n/ar.js"></script> | ||
<!-- | ||
Remove this if you only support browsers that support async/await. | ||
This is needed by babel to share largeish helper code for compiling async/await in older | ||
browsers. More information at https://github.com/single-spa/create-single-spa/issues/112 | ||
--> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/runtime.min.js"></script> | ||
|
||
<!-- | ||
This CSP allows any SSL-enabled host and for arbitrary eval(), but you should limit these directives further to increase your app's security. | ||
Learn more about CSP policies at https://content-security-policy.com/#directive | ||
--> | ||
<% if (!isLocal) { %> | ||
<meta http-equiv="Content-Security-Policy" content="default-src 'self' https: http: ; script-src 'unsafe-inline' 'unsafe-eval' https: http:; connect-src https: http: ws://*:*; style-src 'unsafe-inline' https:; object-src 'none'; img-src 'self' data: https: http:; font-src * data:"> | ||
<% } %> | ||
<meta name="importmap-type" content="systemjs-importmap" /> | ||
<!-- If you wish to turn off import-map-overrides for specific environments (prod), uncomment the line below --> | ||
<!-- More info at https://github.com/joeldenning/import-map-overrides/blob/master/docs/configuration.md#domain-list --> | ||
<!-- <meta name="import-map-overrides-domains" content="denylist:prod.example.com" /> --> | ||
|
||
<!-- Shared dependencies go into this import map. Your shared dependencies must be of one of the following formats: | ||
1. System.register (preferred when possible) - https://github.com/systemjs/systemjs/blob/master/docs/system-register.md | ||
2. UMD - https://github.com/umdjs/umd | ||
3. Global variable | ||
More information about shared dependencies can be found at https://single-spa.js.org/docs/recommended-setup#sharing-with-import-maps. | ||
--> | ||
<script type="systemjs-importmap"> | ||
{ | ||
"imports": { | ||
"single-spa": "https://cdn.jsdelivr.net/npm/[email protected]/lib/system/single-spa.min.js" | ||
} | ||
} | ||
</script> | ||
<link rel="preload" href="https://cdn.jsdelivr.net/npm/[email protected]/lib/system/single-spa.min.js" as="script"> | ||
|
||
<!-- Add your organization's prod import map URL to this script's src --> | ||
<!-- <script type="systemjs-importmap" src="/importmap.json"></script> --> | ||
<script type="systemjs-importmap"> | ||
{ | ||
"imports": { | ||
"@formsflow/root-config": "/formsflow-root-config.js", | ||
"@formsflow/nav": "<%= process.env.MF_FORMSFLOW_NAV_URL %>", | ||
"@formsflow/formsflow-web": "<%= process.env.MF_FORMSFLOW_WEB_URL %>", | ||
"@formsflow/admin":"<%=process.env.MF_FORMSFLOW_ADMIN_URL %>", | ||
"@formsflow/service":"<%= process.env.MF_FORMSFLOW_SERVICE_URL %>", | ||
"@formsflow/theme":"<%= process.env.MF_FORMSFLOW_THEME_URL %>" | ||
} | ||
} | ||
</script> | ||
<% if (isLocal) { %> | ||
<script type="systemjs-importmap"> | ||
{ | ||
"imports": { | ||
"react": "https://cdn.jsdelivr.net/npm/[email protected]/umd/react.development.js", | ||
"react-dom": "https://cdn.jsdelivr.net/npm/[email protected]/umd/react-dom.development.js" | ||
} | ||
} | ||
</script> | ||
<% } else { %> | ||
<script type="systemjs-importmap"> | ||
{ | ||
"imports": { | ||
"react": "https://cdn.jsdelivr.net/npm/[email protected]/umd/react.production.min.js", | ||
"react-dom": "https://cdn.jsdelivr.net/npm/[email protected]/umd/react-dom.production.min.js" | ||
} | ||
} | ||
</script> | ||
<% } %> | ||
|
||
<!-- | ||
If you need to support Angular applications, uncomment the script tag below to ensure only one instance of ZoneJS is loaded | ||
Learn more about why at https://single-spa.js.org/docs/ecosystem-angular/#zonejs | ||
--> | ||
<!-- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/zone.min.js"></script> --> | ||
|
||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/import-map-overrides.js"></script> | ||
<% if (isLocal) { %> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/system.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/extras/amd.js"></script> | ||
<% } else { %> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/system.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/extras/amd.min.js"></script> | ||
<% } %> | ||
|
||
</head> | ||
<body> | ||
<noscript> | ||
You need to enable JavaScript to run this app. | ||
</noscript> | ||
<script> | ||
System.import('@formsflow/root-config'); | ||
System.import('@formsflow/theme'); | ||
</script> | ||
<import-map-overrides-full show-when-local-storage="devtools" dev-libs></import-map-overrides-full> | ||
</body> | ||
</html> |