2018-07-02 14:50:13 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="en">
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
2021-02-24 08:17:40 +01:00
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
2018-07-02 14:50:13 +02:00
|
|
|
<meta name="theme-color" content="#000000">
|
|
|
|
|
<!--
|
|
|
|
|
manifest.json provides metadata used when your web app is added to the
|
|
|
|
|
homescreen on Android. See https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/
|
|
|
|
|
-->
|
2018-09-10 14:52:32 +02:00
|
|
|
<link rel="manifest" href="{{ contextPath }}/manifest.json">
|
|
|
|
|
<link rel="shortcut icon" href="{{ contextPath }}/favicon.ico">
|
2018-08-30 08:49:28 +02:00
|
|
|
|
2018-09-10 14:52:32 +02:00
|
|
|
<base href="{{ contextPath }}">
|
2018-07-11 14:59:01 +02:00
|
|
|
<title>SCM-Manager</title>
|
2019-10-11 07:34:19 +02:00
|
|
|
<script>
|
|
|
|
|
var modernBrowser = (
|
|
|
|
|
'fetch' in window &&
|
|
|
|
|
'assign' in Object
|
|
|
|
|
);
|
|
|
|
|
if ( !modernBrowser ) {
|
|
|
|
|
var scriptElement = document.createElement("script");
|
|
|
|
|
scriptElement.async = false;
|
2019-10-11 14:26:57 +02:00
|
|
|
scriptElement.src = "{{ contextPath }}/assets/polyfills.bundle.js";
|
2019-10-11 07:34:19 +02:00
|
|
|
document.head.appendChild(scriptElement);
|
|
|
|
|
}
|
2021-11-04 08:33:11 +01:00
|
|
|
var linkElement = document.createElement("link");
|
|
|
|
|
linkElement.rel = 'stylesheet';
|
|
|
|
|
linkElement.type = 'text/css';
|
|
|
|
|
var theme = localStorage.getItem('scm.theme');
|
2022-03-08 09:47:36 +01:00
|
|
|
if (theme === 'light') {
|
|
|
|
|
linkElement.href = "{{ contextPath }}/assets/ui-theme-light.css"
|
|
|
|
|
} else if (theme === 'dark') {
|
|
|
|
|
linkElement.href = "{{ contextPath }}/assets/ui-theme-dark.css"
|
|
|
|
|
} else if (theme === 'highcontrast') {
|
2021-11-04 08:33:11 +01:00
|
|
|
linkElement.href = "{{ contextPath }}/assets/ui-theme-highcontrast.css"
|
|
|
|
|
} else {
|
2022-03-08 09:47:36 +01:00
|
|
|
if (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) {
|
|
|
|
|
linkElement.href = "{{ contextPath }}/assets/ui-theme-dark.css"
|
|
|
|
|
} else {
|
|
|
|
|
linkElement.href = "{{ contextPath }}/assets/ui-theme-light.css"
|
|
|
|
|
}
|
2021-11-04 08:33:11 +01:00
|
|
|
}
|
|
|
|
|
document.head.appendChild(linkElement);
|
2019-10-11 07:34:19 +02:00
|
|
|
</script>
|
2018-07-02 14:50:13 +02:00
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<noscript>
|
|
|
|
|
You need to enable JavaScript to run this app.
|
|
|
|
|
</noscript>
|
|
|
|
|
<div id="root"></div>
|
2019-02-01 08:47:38 +01:00
|
|
|
<div id="modalRoot"></div>
|
|
|
|
|
|
2018-08-27 15:47:02 +02:00
|
|
|
<script>
|
2018-09-10 14:52:32 +02:00
|
|
|
window.ctxPath = "{{ contextPath }}";
|
2020-08-25 08:42:16 +02:00
|
|
|
window.scmStage = "{{ scmStage }}";
|
2018-08-27 15:47:02 +02:00
|
|
|
</script>
|
2019-10-08 16:01:31 +02:00
|
|
|
<script src="{{ contextPath }}/assets/runtime.bundle.js"></script>
|
2019-10-09 14:19:26 +02:00
|
|
|
<script src="{{ contextPath }}/assets/vendors~webapp.bundle.js"></script>
|
2019-10-08 08:36:53 +02:00
|
|
|
<script src="{{ contextPath }}/assets/webapp.bundle.js"></script>
|
2018-10-25 16:39:19 +02:00
|
|
|
|
|
|
|
|
{{#liveReloadURL}}
|
|
|
|
|
<script src="{{liveReloadURL}}"></script>
|
|
|
|
|
{{/liveReloadURL}}
|
2018-07-02 14:50:13 +02:00
|
|
|
</body>
|
|
|
|
|
</html>
|