This repository has been archived by the owner on Jul 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathindex.html
105 lines (87 loc) · 3.57 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes">
<link href="https://fonts.googleapis.com/css?family=Roboto+Mono:400,700|Roboto:400,300,300italic,400italic,500,500italic,700,700italic&display=swap"
rel="stylesheet">
<link rel="apple-touch-icon" sizes="180x180" href="/_assets/icons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/_assets/icons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/_assets/icons/favicon-16x16.png">
<link rel="manifest" href="/manifest.json">
<link rel="mask-icon" href="/_assets/icons/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
<title>フロー Furo BaseComponents</title>
<link rel="icon" href="/_assets/icons/favicon.ico">
<!-- Load webcomponents-loader.js to check and load any polyfills your browser needs -->
<script src="/node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>
<script>
window.APPROOT = {rootPath: '/'};
if ('serviceWorker' in navigator) {
window.addEventListener('load', () => {
navigator.serviceWorker.getRegistration().then((registration) => {
if (registration) {
registration.addEventListener('updatefound', () => {
// A wild service worker has appeared in reg.installing!
const newWorker = registration.installing;
// "installing" - the install event has fired, but not yet complete
// "installed" - install complete
// "activating" - the activate event has fired, but not yet complete
// "activated" - fully active
// "redundant" - discarded. Either failed install, or it's been
// replaced by a newer version
newWorker.addEventListener('statechange', () => {
if (newWorker.state === 'installed') {
const obj = {};
obj.labelText = "New update installed.";
obj._action = () => {
// reload page
registration.unregister();
window.location.reload();
};
obj.icon = "clear";
obj._dismiss = () => {
console.log("closed without reload...")
};
obj.actionButtonText = "restart";
const customEvent = new Event("open-furo-snackbar-requested", {composed: true, bubbles: true});
customEvent.detail = obj;
this.dispatchEvent(customEvent);
}
});
});
}
});
});
// Load and register pre-caching Service Worker
window.addEventListener('load', function (registration) {
navigator.serviceWorker.register('service-worker.js');
});
}
</script>
<script data-ui5-config type="application/json">
{
"language": "de_CH"
}
</script>
<!-- Load your application shell -->
<script type="module" src="/_page/furo-shell.js"></script>
<style>
body {
margin: 0;
min-height: 100vh;
background-color: #ffffff;
font-family: "Roboto", "Noto", sans-serif;
line-height: 1.5;
letter-spacing: 0.5px;
}
</style>
</head>
<body>
<furo-shell></furo-shell>
<noscript>
Please enable JavaScript to view this website.
</noscript>
</body>
</html>