add EU cookie notice

This commit is contained in:
Silver Kuusik 2018-01-27 15:43:31 +01:00
parent c89fbfc5f5
commit 7615a86a4d
2 changed files with 20 additions and 0 deletions

View File

@ -6,6 +6,7 @@
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="bootstrap.min.css">
<link href="https://fonts.googleapis.com/css?family=Orbitron" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.css">
<!-- begin favicon -->
<link rel="apple-touch-icon" sizes="180x180" href="favicons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicons/favicon-32x32.png">
@ -22,6 +23,21 @@
<script src="sumorobot.js" type="text/javascript" charset="utf-8"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.2.9/ace.js" type="text/javascript" charset="utf-8"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.2.9/ext-language_tools.js" type="text/javascript" charset="utf-8"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.js"></script>
<script>
window.addEventListener("load", function() {
window.cookieconsent.initialise({
"palette": {
"popup": {
"background": "#242943ff"
},
"button": {
"background": "#ffd500ff"
}
}
})
});
</script>
</head>
<body>
<div id="battery">Disconnected</div>

View File

@ -55,6 +55,10 @@ div.btn-group-control {
bottom: 0px;
position: fixed !important;
}
/* coockie button */
a.cc-btn:hover {
background-color: #ffd500ff !important;
}
/* the battery div */
div#battery {
z-index: 35;