mirror of
https://gitlab.com/CodeSolutionsProject/CodeShare.git
synced 2026-02-21 04:13:47 +01:00
Add EU cookies law and improve TOS and about
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user