Cookie consent script
This commit is contained in:
parent
2d047a2cf1
commit
72373f9968
2 changed files with 22 additions and 1 deletions
|
@ -68,6 +68,25 @@ $(document).ready(function() {
|
||||||
nextArrow: '<span class="arrow right glyphicon glyphicon-chevron-right" aria-hidden="true">Next</span>',
|
nextArrow: '<span class="arrow right glyphicon glyphicon-chevron-right" aria-hidden="true">Next</span>',
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Cookie notice via insites.com
|
||||||
|
window.cookieconsent.initialise({
|
||||||
|
"palette": {
|
||||||
|
"popup": {
|
||||||
|
"background": "#edeff5",
|
||||||
|
"text": "#838391"
|
||||||
|
},
|
||||||
|
"button": {
|
||||||
|
"background": "#4b81e8"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"theme": "edgeless",
|
||||||
|
"content": {
|
||||||
|
"message": "Diese Website verwendet Cookies, um Ihnen eine optimale Nutzung unserer Website zu ermöglichen.",
|
||||||
|
"dismiss": "Zustimmen",
|
||||||
|
"link": "Weitere informationen",
|
||||||
|
"href": "/privacy/"
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
// Pastel colors on live news
|
// Pastel colors on live news
|
||||||
// $('.feedpage-body .panel').each(function() {
|
// $('.feedpage-body .panel').each(function() {
|
||||||
|
|
|
@ -13,7 +13,9 @@
|
||||||
<link rel="stylesheet" type="text/x-scss" href="{% static 'css/main.scss' %}">
|
<link rel="stylesheet" type="text/x-scss" href="{% static 'css/main.scss' %}">
|
||||||
{% endcompress %}
|
{% endcompress %}
|
||||||
|
|
||||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
<link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.css" />
|
||||||
|
<script src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.js"></script>
|
||||||
|
|
||||||
<!--[if lt IE 9]>
|
<!--[if lt IE 9]>
|
||||||
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
|
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
|
||||||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
||||||
|
|
Loading…
Reference in a new issue