Add EU cookies law and improve TOS and about

This commit is contained in:
JoseluCross
2017-10-13 20:07:27 +02:00
parent 9b544784f3
commit 5006c7dfda
3 changed files with 68 additions and 11 deletions

View File

@@ -30,5 +30,25 @@
<script>hljs.initHighlightingOnLoad();</script>
{% endblock %}
<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>
<script>
window.addEventListener("load", function(){
window.cookieconsent.initialise({
"palette": {
"popup": {
"background": "#2196f3",
"text": "#b2dbfb"
},
"button": {
"background": "transparent",
"text": "#b2dbfb",
"border": "#b2dbfb"
}
},
"content": {
"href": "http://localhost:8080/?page=tos#cookiePolicy"
}
})});
</script>
</body>