-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
executable file
·121 lines (104 loc) · 4.59 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="robots" content="index, nofollow" />
<meta name="description" content="Ausbreitung des SARS-CoV-2 in Bayern in einer interaktiven Karte dargestellt." />
<title>Corona in Bayern</title>
<meta property="og:title" content="Corona in Bayern" />
<meta property="og:description" content="Ausbreitung des SARS-CoV-2 in Bayern in einer interaktiven Karte dargestellt." />
<meta property="og:site_name" content="corona.bayern" />
<meta property="og:locale" content="de_DE" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://corona.bayern" />
<meta property="og:image" content="https://corona.bayern/assets/bayern-corona.png" />
<meta property="og:image:secure_url" content="https://corona.bayern/assets/bayern-corona.png" />
<meta property="og:image:width" content="512" />
<meta property="og:image:height" content="512" />
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:image" content="https://corona.bayern/assets/bayern-corona.png" />
<meta property="twitter:title" content="Corona in Bayern" />
<!-- e.g. https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.3.4/leaflet.css -->
<link rel="stylesheet" href="assets/leaflet-1.3.4.css" />
<style>
#info {
position: absolute;
background-color: white;
text-align: center;
font-size: small;
left: 2px;
bottom: 2px;
z-index: 99999;
display: flex;
}
.info-col {
padding: 5px;
}
.info-col:last-child {
padding-left: 20px;
}
.info-col1 button {
margin: 5px 0;
}
.info-legend {
display: none;
text-align: left;
}
.info-legend-show {
display: block;
}
#hopfenspace-img {
width: 75px;
margin-left: 7px;
margin-bottom: 7px;
}
#sum-container {
position: absolute;
background-color: white;
text-align: center;
font-size: large;
top: 2px;
right: 2px;
z-index: 99999;
}
</style>
</head>
<body>
<noscript>Bitte aktivieren sie Javascript um diese Seite anzusehen.</noscript>
<div id="coronamap" style="height: 100%; width: 100%;"></div>
<div id="info">
<div class="info-col info-col1">
Stand: <br />
<span id="timestamp">...</span><br />
<a id="source" href="#" target="_blank">Quelle</a><br />
<button onclick="show_legend()">Zeige Legende</button>
<br />
Ein Projekt des<br />
<a href="https://hopfenspace.org" target="_blank">
<img src="assets/hopfenspace.svg" id="hopfenspace-img" />
</a>
</div>
<div class="info-col info-legend" id="info-legend">
<span style="color:green">⬤</span> < 35<br>
<span style="color:yellow">⬤</span> 35 - 50<br>
<span style="color:orange">⬤</span> 50 - 100<br>
<span style="color:red">⬤</span> 100 - 200<br>
<span style="color:darkred">⬤</span> 200 - 500<br>
<span style="color:purple">⬤</span> 500 - 1000 <br>
<span style="color:#595959;">⬤</span> 1000 - 2000<br>
<span style="color:black">⬤</span> > 2000<br>
</div>
</div>
<div id="sum-container">
Summe: <span id="sickSum">...</span><br />
Todesfälle: <span id="deathSum">...</span><br />
Sterberate: <span id="deathRate">...</span>%<br />
<a href="?">Inzidenzwerte</a><br />
<a href="?percent">Durchseuchung</a><br />
<a href="/graph.html">Historie</a>
</div>
<!-- e.g. https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.3.4/leaflet.js -->
<script src="assets/leaflet-1.3.4.js"></script>
<script src="assets/script.js"></script>
</body>
</html>