-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex-older.html
119 lines (107 loc) · 6.99 KB
/
index-older.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
<!doctype html>
<html lang="en">
<head>
<!-- REQUIRED -->
<meta charset="utf-8">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- BOOTSTRAP FOR LAYOUT -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<!-- Individual Styles -->
<link rel="stylesheet" href="style.css">
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<!-- CHART.JS FOR CHARTS-->
<script src="https://cdn.jsdelivr.net/npm/chart.js@2.8.0"></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js@2.8.0"></script>
<!-- JQUERY FOR COVID-DATA-REQUESTS -->
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<title>covid cottbus</title>
</head>
<body>
<!-- HIDDEN DIV FOR CB-DATA-QUERY -->
<!--<div id="hiddenCBQuery"></div>
<div id="filter"></div>-->
<!-- HEADER -->
<nav class="navbar fixed-top navbar-dark bg-dark justify-content-center" style="height: 50px; border-bottom: 1px solid #000000;">
<a style="color:rgb(233,233,233)" href="https://www.cottbus.de/verwaltung/gb_iii/gesundheit/corona/index.html">Covid Cottbus</a>
</nav>
<!-- FOOTER BUTTON FOR MODAL -->
<nav class="navbar fixed-bottom navbar-dark bg-dark justify-content-center" style="height: 60px; border-top: 1px solid #000000;">
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModal" style="color:rgb(233,233,233); background-color:rgba(50,50,50,0); border: 0px;">Info</button>
</nav>
<!-- MODAL = QUELLEN ETC. -->
<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Covid Cottbus</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<h6>Quellenvermerk:</h6>
<p>Robert Koch-Institut (RKI), dl-de/by-2-0</p><br>
<h6>Datenquellen:</h6>
<p><a href="https://npgeo-corona-npgeo-de.hub.arcgis.com/">NPGEO Corona Hub 2020/2021</a></p><br>
<h6>Hinweise:</h6>
<p>Kleine Zahlen geben positive bzw. negative Veränderungen zum Vortag an. Das ausführliches Repository mit der Beschreibung, den RKI-JSON-URLs als Quellen der Zahlen und dem Code (als Template nutzbar) ist auf <a href="https://github.com/stadtentwicklung">Github</a>. Möchten Sie diese App selber nutzen für Ihren Ort, dann ändern Sie den "where"-Teil der URLs in der Datei script.js entsprechend Ihrem Ort. Passen Sie dann nur noch die Namen bzw. Hinweise in den Cards, im Header und Footer an.</p><br>
<h6>Impressum:</h6>
<p>Ansprechpartner: <a href="https://github.com/stefanstoehr">Stefan</a> - CC-BY 2022 CB</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<!-- CENTERING CONTAINER -->
<div class="outer-container">
<div class="inner-container">
<div class="container">
<div class="row justify-content-center">
<!-- UPDATE -->
<div class="col-auto mb-3">
<div class="card" style="width: 18rem; background-color: rgb(243,243,243); border: 1px solid rgb(100,100,100);">
<div class="card-body" style="padding-left: 0; padding-right: 0; padding-bottom: 0;">
<h6 class="card-subtitle mb-2 text-muted">Datenstand</h6>
<h4 class="card-title"><a id="cbUpdate"></a></h4>
<div class="card-footer" style="width: auto; height: 50px; background-color: #343a40">
<small class="text-muted"><a id="rkiUpdate" style="color: rgb(125,125,125);">REST-API RKI COVID-19 DATAHUB</a></small>
</div>
</div>
</div>
</div>
<!-- INZIDENZ -->
<div class="col-auto mb-3">
<div class="card" style="width: 18rem; background-color: rgb(243,243,243);border: 1px solid rgb(100,100,100);">
<div class="card-body" style="padding-left: 0; padding-right: 0; padding-bottom: 0;">
<h6 class="card-subtitle mb-2 text-muted">7-Tage-Inzidenz in Cottbus</h6>
<h4 class="card-title"><a id="cbSieben"></a><a id="cbSiebenRed" style="color:rgb(250,0,0);font-size: 0.7em; padding-left: 10px;"></a><a id="cbSiebenGreen" style="color:rgb(25,150,0);font-size: 0.7em"></a></h4>
<div class="card-footer" style="width: auto; background-color: #343a40; height: 50px;">
<small class="text-muted"><a id="rkiSieben" style="color: rgb(125,125,125);">REST-API RKI COVID-19 DATAHUB</a></small>
</div>
</div>
</div>
</div>
<!-- INFEKTIONEN -->
<div class="col-auto mb-3">
<div class="card" style="width: 18rem; background-color: rgb(243,243,243);border: 1px solid rgb(100,100,100);">
<div class="card-body" style="padding-left: 0; padding-right: 0; padding-bottom: 0;">
<h6 class="card-subtitle mb-2 text-muted">Fälle in Cottbus insgesamt</h6>
<h4 class="card-title"><a id="cbGesamtInfi"></a><a id="cbNewRed" style="color:rgb(250,0,0);font-size: 0.7em; padding-left: 10px;"></a><a id="cbNewGreen" style="color:rgb(25,150,0);font-size: 0.7em"></a></h4>
<div class="card-footer" style="width: auto; background-color: #343a40; height: 50px;">
<small class="text-muted"><a id="rkiAktuellInfi" style="color: rgb(125,125,125);">REST-API RKI COVID-19 DATAHUB</a></small>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>