-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
72 lines (61 loc) · 1.63 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Printable Wall Calendar</title>
<script src="components/webcomponentsjs/webcomponents.js"></script>
<link rel="import" href="elements/calendar-app.html">
<style>
body {
background-image: url(resources/cork.jpg);
margin: 0;
}
#loading {
margin-top: 300px;
text-align: center;
}
#message {
background: #fffacd;
box-shadow: 5px 5px 10px rgba( 0, 0, 0, 0.5 );
display: inline-block;
font-family: "Myriad Pro", Calibri, "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 15px;
padding: 2em;
}
@media print {
body {
background-image: none;
}
}
</style>
<script>
window.addEventListener( "WebComponentsReady", function() {
// Check to see if app was really loaded.
var calendar = document.querySelector( "calendar-app" );
var loading = document.querySelector( "#loading" );
if ( !calendar.shadowRoot ) {
var message = document.querySelector( "#message" );
message.textContent = "Sorry, but this browser isn't supported yet.";
} else {
loading.style.display = "none";
}
});
</script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-46364252-1', 'janmiksovsky.github.io');
ga('send', 'pageview');
</script>
</head>
<body>
<div id="loading">
<div id="message">
Setting up…
</div>
</div>
<calendar-app></calendar-app>
</body>
</html>