Cookie consents

git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3398 f459cee4-fb09-11de-96c3-f9c5f16c3c76
This commit is contained in:
adametz 2018-05-24 13:40:58 +00:00
parent bdad447ca9
commit 74f431aa89
4 changed files with 34 additions and 0 deletions

View file

@ -74,6 +74,7 @@
{% endstylesheets %}
{% stylesheets
'bundles/app/css/custom.css'
'bundles/app/css/cookieconsent.min.css'
filter='cssrewrite'
%}
<link rel="stylesheet" href="{{ asset_url }}"/>
@ -173,10 +174,34 @@
'@AppBundle/Resources/public/js/bootstrap-select-1.12.0.js'
'@AppBundle/Resources/public/js/validator.js'
'@AppBundle/Resources/public/js/custom.js'
'@AppBundle/Resources/public/js/cookieconsent.min.js'
%}
<script src="{{ asset_url }}"></script>
{% endjavascripts %}
{% endblock javascripts %}
<script type="text/javascript">
window.addEventListener("load", function(){
window.cookieconsent.initialise({
"palette": {
"popup": {
"background": "#648859"
},
"button": {
"background": "#f1d600"
}
},
"position": "top",
"content": {
"message": "Diese Webseite verwendet Cookies, über die personenbezogene Daten erhoben werden können. Nähere Informationen zu den verwendeten Cookies finden Sie hier:",
"dismiss": "Einverstanden!",
"link": "Datenschutzerklärung",
"href": "https://www.sterntours.de/datenschutz"
}
})});
</script>
</body>
</html>