diff --git a/publichealth/static/js/main.js b/publichealth/static/js/main.js index c4090cb..fdfab37 100644 --- a/publichealth/static/js/main.js +++ b/publichealth/static/js/main.js @@ -68,6 +68,25 @@ $(document).ready(function() { nextArrow: '', }); + // 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 // $('.feedpage-body .panel').each(function() { diff --git a/publichealth/templates/base.html b/publichealth/templates/base.html index 7ddf16f..9a1cea0 100644 --- a/publichealth/templates/base.html +++ b/publichealth/templates/base.html @@ -13,7 +13,9 @@ {% endcompress %} - + + +