-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
78 lines (69 loc) · 2.73 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
<html>
<head>
<meta charset="utf-8"/>
<title>Sonnenzeit</title>
<style>
body, div {
font-family: "arial", "sans-serif";
}
#mapcontainer{position:relative;
width:100%;
height:250px;
}
div.nopad{
padding: 0px;
}
div.label{
color:lightgray;
font-weight:normal;
padding:0px;
font-size:10px;
}
</style>
<link href="style/bootstrap.min.css" rel="stylesheet">
<!--<link href="style/bootstrap-theme.min.css" rel="stylesheet">-->
<link rel="stylesheet" href="//unpkg.com/[email protected]/dist/leaflet.css"
integrity="sha512-puBpdR0798OZvTTbP4A8Ix/l+A4dHDD0DGqYW6RQ+9jxkRFclaxxQb/SJAWZfWAkuyeQUytO7+7N4QKrDh+drA=="
crossorigin=""/>
<!--<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>-->
<script src="js/suncalc.js"></script>
<!--<script src="js/d3.v3.min.js"></script>-->
<script src="//d3js.org/d3.v3.min.js" charset="utf-8"></script>
<script src="//unpkg.com/[email protected]/dist/leaflet.js"
integrity="sha512-QVftwZFqvtRNi0ZyCtsznlKSWOStnDORoefr1enyq5mVL4tmKB3S/EnC3rRJcxCPavG10IcrVGSmPh6Qw5lwrg=="
crossorigin=""></script>
<script src="helpers.js"></script>
<script src="chart.js"></script>
<script src="stringOperations.js"></script>
<script src="index.js"></script>
</head>
<body style="font-size: 20pt; font-family: Arial, 'sans-serif'; background: #2b2b2b;">
<div class="container">
<div class="row" style ="background:transparent;">
<div class="col-md-12 nopad" style="margin-bottom:20px; color:lightgray;">
How the days get longer, and shorter...
</div>
<div class="col-md-12 nopad" style="margin-bottom:20px; height:220px;">
<div id="chartcontainer" style="background: transparent; height:100%">
</div>
<div class="label" style="position:absolute; left:0px; bottom:0px;">|←January</div>
<div class="label" style="position:absolute; right:0px; bottom:0px;">December→|</div>
</div>
<div id="texts" class="col-md-12 nopad" style="background: transparent; height:120; font-size:14px; color: lightgray;">
</div>
<div id="mapcontainer" class="col-md-12 nopad" style="background: transparent;">
<div style="position:absolute; width:100%; height:100%; z-index: 1; background:transparent;" id="map">
</div>
<div style="position:absolute; width:100%; height:100%; z-index: 99; pointer-events:none;">
<svg style="width:100%; background:transparent; pointer-events:none; height: 100%;">
<circle cx="50%" cy="50%" r="10" stroke="black" stroke-width="2" fill="transparent" />
</svg>
</div>
</div>
</div>
</div>
<script>
javascript:init();
</script>
</body>
</html>