-
Notifications
You must be signed in to change notification settings - Fork 23
/
base.html
120 lines (114 loc) · 4.36 KB
/
base.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
<!DOCTYPE html>
<html lang="{{ page.language }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>{% if page.title %}{{ page.title }}{% else %}{% if site.data.translations.title[page.language] %}{{ site.data.translations.title[page.language] }}{% else %}{{ site.data.translations.title.en }}{% endif %}{% endif %}</title>
<script>
if (document.location.hostname.indexOf('okfde.github.io') !== -1) {
document.location.replace('http:https://{{ site.domain }}/' + document.location.pathname.split('/').slice(2).join('/'));
}
</script>
<link rel="stylesheet" href="{{ site.baseurl}}/css/bootstrap.min.css">
<link rel="stylesheet" href="{{ site.baseurl}}/css/style.css">
<link rel="shortcut icon" href="{{ site.baseurl}}/img/favicon.png" />
<script type="text/javascript" src="{{ site.baseurl}}/js/jquery.min.js"></script>
</head>
<body>
<div class="container">
<div class="alert alert-danger">
<strong>Submissions are closed now.</strong> Thanks for participating in the consultation!
</div>
</div>
{{ content }}
<script>
var EUCopyright = EUCopyright || {};
EUCopyright.language = "{{ page.language }}";
EUCopyright.baseurl = "{{ site.baseurl}}";
EUCopyright.questions = [
{% for question in site.data.questions %}
{
num: {{ question.num }},
{% if question.options %}
options: [
{% for opt in question.options %}
{
num: {{ forloop.index0 }},
{% if opt.odf %}
odf: [
{% for odf in opt.odf %}
{
action: "{{ odf.action }}",
key: "{{ odf.key }}"
}{% unless forloop.last %},{% endunless %}
{% endfor %}
],
{% endif %}
fulltext: {% if opt.fulltext %}true{% else %}false{% endif %}
}{% unless forloop.last %},{% endunless %}
{% endfor %}
],
{% endif %}
{% if question.odf %}
odf: [
{% for odf in question.odf %}
{
action: "{{ odf.action }}",
key: "{{ odf.key }}"
}
{% unless forloop.last %},{% endunless %}
{% endfor %}
],
{% endif %}
type: "{{ question.type }}"
}{% unless forloop.last %},{% endunless %}
{% endfor %}];
EUCopyright.answers = {
{% for answer in site.data.answers %}
{{ answer.slug }}: {
{% if answer.url contains "http:https://" or answer.url contains "https://" %}
url: "{{ answer.url }}",
{% else %}
url: "{{ site.baseurl}}{{ answer.url }}",
{% endif %}
language: "{{ answer.language }}",
slug: "{{ answer.slug }}",
name: "{{ answer.name }}"
}{% unless forloop.last %},{% endunless %}
{% endfor %}
};
</script>
<script type="text/javascript" src="{{ site.baseurl}}/js/autogrow.min.js"></script>
<script type="text/javascript" src="{{ site.baseurl}}/js/bootstrap.min.js"></script>
<script type="text/javascript" src="{{ site.baseurl}}/js/jszip.js"></script>
<script type="text/javascript" src="{{ site.baseurl}}/js/odtprocessor.js"></script>
<script type="text/javascript" src="{{ site.baseurl}}/js/eucopyright.js"></script>
<script type="text/javascript">
(function(){
/* Use downloadify if Blob URLs are not supported */
if (window.URL === undefined || !JSZip.support.blob) {
var d=document, g=d.createElement("script"), s=d.getElementsByTagName("script")[0]; g.type="text/javascript";
g.defer=true; g.async=true; g.src="{{ site.baseurl}}/js/swfobject.js";
s.parentNode.insertBefore(g,s);
g=d.createElement("script"), s=d.getElementsByTagName("script")[0]; g.type="text/javascript";
g.defer=true; g.async=true; g.src="{{ site.baseurl}}/js/downloadify.min.js";
s.parentNode.insertBefore(g,s);
}
}());
</script>
<!-- Piwik -->
<script type="text/javascript">
var _paq = _paq || [];
_paq.push(["trackPageView"]);
_paq.push(["enableLinkTracking"]);
(function() {
var u="https://fragdenstaat.de/piwik/";
_paq.push(["setTrackerUrl", u+"piwik.php"]);
_paq.push(["setSiteId", "2"]);
var d=document, g=d.createElement("script"), s=d.getElementsByTagName("script")[0]; g.type="text/javascript";
g.defer=true; g.async=true; g.src=u+"piwik.js"; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Piwik Code -->
</body>
</html>