-
Notifications
You must be signed in to change notification settings - Fork 3
/
contact.html
178 lines (174 loc) · 8.75 KB
/
contact.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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<meta name="description" content="">
<meta name="author" content="">
<meta http-equiv="Content-Language" content="de">
<link rel="icon" href="media/icon.png">
<title id="title">Kontakt</title>
<!-- Bootstrap core CSS -->
<link href="lib/css/bootstrap.min.css" rel="stylesheet">
<link href="lib/css/languages.min.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="lib/css/carousel.css" rel="stylesheet">
<!-- Heise Shariff -->
<link href="lib/css/shariff.complete.css" rel="stylesheet">
</head>
<!-- NAVBAR
================================================== -->
<body>
<div class="navbar-wrapper">
<div class="container">
<nav class="navbar navbar-inverse navbar-static-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html" style="padding-top: 3px; padding-bottom: 3px; height: 44px;">
<img alt="ParkenDD" src="media/icon44.png">
</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li><a href="index.html">ParkenDD</a></li>
<li><a href="map.html">Karte</a></li>
<li><a href="opendata.html">OpenData</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li class="dropdown" style="margin-right:5px;">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><span id="langlabel" class="glyphicon glyphicon-flag" aria-hidden="true"></span></a>
<ul class="dropdown-menu">
<li><a href="en/contact.html"><span class="lang-lg lang-lbl" lang="en"></a></li>
<li><a href="cs/contact.html"><span class="lang-lg lang-lbl" lang="cs"></a></li>
</ul>
</li>
</ul>
</div>
</div>
</nav>
</div>
</div>
<div class="container" style="margin-top:100px;">
<div class="container">
<span id="contact"><h2>Kontakt</h2></span>
<p>Der Kontakt zu den Entwicklern kann über die jeweiligen Stores der Apps, über Github oder hier direkt per E-Mail erfolgen.</p>
<div class="row">
<div class="col-lg-6">
<div class="list-group">
<a class="list-group-item" href="https://github.com/jklmnn/ParkenDD">ParkenDD für Android auf GitHub</a>
<a class="list-group-item" href="https://github.com/kiliankoe/parkendd">ParkenDD für iOS auf GitHub</a>
<a class="list-group-item" href="https://github.com/sibbl/ParkenDD">ParkenDD für Windows 10 auf GitHub</a>
<a class="list-group-item" href="https://github.com/offenesdresden/ParkAPI">ParkAPI auf GitHub</a>
</div>
</div>
<div class="col-lg-6">
<div class="shariff" data-services="["mail"]" data-mail-url="mailto:[email protected]" data-mail-subject="ParkenDD" data-url="https://parkendd.de" data-theme="white"></div>
</div>
</div>
</div>
<div class="container">
<span id="licenses"><h2>Lizenzen</h2></span>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Daten</h3>
</div>
<div class="panel-body">
<div class="list-group" id="attribution_list">
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">ParkenDD Logo</h3>
</div>
<div class="panel-body">
<a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"><img alt="Creative Commons Lizenzvertrag" style="border-width:0" src="media/cc-by-sa.png" /></a><br /><span xmlns:dct="http://purl.org/dc/terms/" property="dct:title">ParkenDD Icon</span> von <span xmlns:cc="http://creativecommons.org/ns#" property="cc:attributionName">Matthias Altermann</span> ist lizenziert unter einer <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Namensnennung - Weitergabe unter gleichen Bedingungen 4.0 International Lizenz</a>.
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Heise Shariff Social Media Buttons</h3>
</div>
<div class="panel-body">
Die <a href="https://github.com/heiseonline/shariff">Heise Shariff Social Media Buttons</a> sind lizenziert unter der <a href="https://opensource.org/licenses/MIT">MIT Lizenz</a>.
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Karte</h3>
</div>
<div class="panel-body">
Dank an <a href="https://github.com/ubahnverleih/parkenDD">ubahnverleih</a>, <a href="https://www.openstreetmap.org/copyright/">OpenStreetMap Mitwirkende</a>, Kacheln von <a href="https://stadtnavi.de/">stadtnavi</a>.
</div>
</div>
</div>
<!-- FOOTER -->
<footer>
<p>ParkenDD · <a href="contact.html#contact">Kontakt</a> · <a href="contact.html#licenses">Lizenzen</a> · <a href="impressum.html">Impressum</a></p>
</footer>
</div>
<script>
var llabel = document.getElementById("langlabel");
llabel.className = "lang-sm";
llabel.setAttribute("lang", document.head.querySelector('[http-equiv=\'Content-Language\']').content);
</script>
<script type="text/javascript">
function createAttribution(parent, city, url, attributor, license){
console.log(city, url, attributor, license);
var item = document.createElement("a");
item.className = "list-group-item";
item.setAttribute("href", url);
var heading = document.createElement("h4");
heading.className = "list-group-item-heading";
heading.appendChild(document.createTextNode(city));
item.appendChild(heading);
var text = document.createElement("p");
text.className = "list-group-item-text";
item.appendChild(text);
var table = document.createElement("table");
table.className = "table";
var tbody = document.createElement("tbody");
var row = document.createElement("tr");
var td = document.createElement("td");
td.appendChild(document.createTextNode(attributor));
row.appendChild(td);
var td = document.createElement("td");
td.appendChild(document.createTextNode(license));
row.appendChild(td);
tbody.appendChild(row);
table.style.margin = 0;
table.appendChild(tbody);
text.appendChild(table);
parent.appendChild(item);
}
var req = new XMLHttpRequest();
req.open("GET", "https://api.parkendd.de", false);
req.send();
var initdata = JSON.parse(req.responseText);
var cities = Object.keys(initdata.cities);
var parent = document.getElementById("attribution_list");
for( var i = 0; i < cities.length; i++ ){
if( initdata.cities[cities[i]].attribution != null){
createAttribution(parent, initdata.cities[cities[i]].name, initdata.cities[cities[i]].attribution.url, initdata.cities[cities[i]].attribution.contributor, initdata.cities[cities[i]].attribution.license);
}
}
</script>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="lib/js/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="lib/js/jquery.min.js"><\/script>')</script>
<script src="lib/js/bootstrap.min.js"></script>
<!-- Heise Shariff -->
<script src="lib/js/shariff.complete.js"></script>
<script async defer data-domain="parkendd.de" src="https://geiger.kernkraftwerk.lol/js/plausible.js"></script>
</body>
</html>