-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
95 lines (78 loc) · 3.47 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
<!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">
<title>Anwesenheit</title>
<meta name="description" content="Anwesenheit des Büros">
<style is="custom-style" include="shared-styles"></style>
<link href="https://fonts.googleapis.com/css?family=Roboto+Slab&display=swap" rel="stylesheet">
<script src="bower_components/webcomponentsjs/webcomponents-lite.js"></script>
<script defer src="https://browser.sentry-cdn.com/4.0.4/bundle.min.js?onload=sentryInitializer" crossorigin="anonymous" onload="sentryInitializer()"></script>
<link rel="import" href="src/anwesenheit-app/anwesenheit-app.html">
<link rel="import" href="bower_components/paper-toast/paper-toast.html">
<!-- Chrome for Android theme color -->
<meta name="theme-color" content="#000">
<!-- Web Application Manifest -->
<link rel="manifest" href="manifest.json">
<!-- Tile color for Win8 -->
<meta name="msapplication-TileColor" content="#000">
<!-- Add to homescreen for Chrome on Android -->
<meta name="mobile-web-app-capable" content="yes">
<meta name="application-name" content="Anwesenheit">
<link rel="icon" sizes="192x192" href="images/touch/android-icon-192x192.png">
<!-- Add to homescreen for Safari on iOS -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="Anwesenheit">
<link rel="apple-touch-icon" href="images/touch/apple-icon.png">
<!-- Tile icon for Win8 (144x144) -->
<meta name="msapplication-TileImage" content="images/touch/ms-icon-144x144.png">
<script>
function sentryInitializer(){
Sentry.init({ dsn: 'https://[email protected]/1287836' });
}
/**
* [polymer-root-path]
*
* By default, we set `Polymer.rootPath` to the server root path (`/`).
* Leave this line unchanged if you intend to serve your app from the root
* path (e.g., with URLs like `my.domain/` and `my.domain/view1`).
*
* If you intend to serve your app from a non-root path (e.g., with URLs
* like `my.domain/my-app/` and `my.domain/my-app/view1`), edit this line
* to indicate the path from which you'll be serving, including leading
* and trailing slashes (e.g., `/my-app/`).
*/
if ('serviceWorker' in navigator) {
window.addEventListener('load', function() {
navigator.serviceWorker.register('service-worker.js', {scope: Polymer.rootPath}).then(function(registration) {
console.log('ServiceWorker registration successful with scope: ', registration.scope);
}, function(err) {
console.log('ServiceWorker registration failed: ', err);
});
});
}
</script>
<style>
html, body {
margin: 0;
padding: 0;
}
</style>
</head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-115175472-1');
</script>
<body>
<anwesenheit-app></anwesenheit-app>
<paper-toast id="toast"></paper-toast>
<noscript>
Bitte aktiviere Javascript, um diese Seite sehen zu können :)
</noscript>
</body>
</html>