forked from owncloud/web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
50 lines (49 loc) · 1.31 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>ownCloud Phoenix</title>
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
<meta name="theme-color" content="#375f7E"/>
<link rel="manifest" href="manifest.json">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="core/css/uikit.owncloud.css" />
<link rel="stylesheet" href="core/css/uikit.core.css" />
<noscript>
<style>
#enable-js-banner {
display: flex;
flex-direction: row;
justify-content: center;
padding: 0.5rem;
background-color: #467391;
}
#banner-content{
color: white;
}
</style>
</noscript>
</head>
<body>
<main id="owncloud"></main>
<script data-main="core/js/core.bundle.js" src="node_modules/requirejs/require.js"></script>
<script>
if ('serviceWorker' in navigator) {
window.addEventListener('load', () => {
navigator.serviceWorker.register('sw.js')
.then(registration => {
// Service Worker registered
})
.catch(err => {
// Service Worker registration failed
});
});
}
</script>
<noscript>
<div id="enable-js-banner">
<span id="banner-content"><h3>Please enable JavaScript</h3></span>
</div>
</noscript>
</body>
</html>