applied cookies popup to all pages

This commit is contained in:
Bea 2020-07-10 12:00:56 +02:00
parent 39b01264da
commit b06af3b038
4 changed files with 33 additions and 7 deletions

View File

@ -26,10 +26,19 @@
})();
</script>
<!-- End Matomo Code -->
<script src="/scripts/policy-popup.js"></script>
</head>
<body>
<body onload="openPolicyPopup()">
<div class="policy-popup" id="policy-popup">
<h4>This website uses cookies.</h4>
<p>We use cookies to ensure you the best experience.
<br>
By visiting our website, you agree with our <a href="/pages/policy.html" target="_blank">Privacy Policy</a>.
</p>
<button onclick="agreePolicyPopup()">Ok, understood</button>
</div>
<div class="top-bar">
<div class="topnav">
<a href="/">Home</a>

View File

@ -26,9 +26,18 @@
})();
</script>
<!-- End Matomo Code -->
<script src="/scripts/policy-popup.js"></script>
</head>
<body>
<body onload="openPolicyPopup()">
<div class="policy-popup" id="policy-popup">
<h4>This website uses cookies.</h4>
<p>We use cookies to ensure you the best experience.
<br>
By visiting our website, you agree with our <a href="/pages/policy.html" target="_blank">Privacy Policy</a>.
</p>
<button onclick="agreePolicyPopup()">Ok, understood</button>
</div>
<div class="top-bar">
<div class="topnav">
<a href="/">Home</a>

View File

@ -26,10 +26,18 @@
})();
</script>
<!-- End Matomo Code -->
<script src="/scripts/policy-popup.js"></script>
</head>
<body>
<body onload="openPolicyPopup()">
<div class="policy-popup" id="policy-popup">
<h4>This website uses cookies.</h4>
<p>We use cookies to ensure you the best experience.
<br>
By visiting our website, you agree with our <a href="/pages/policy.html" target="_blank">Privacy Policy</a>.
</p>
<button onclick="agreePolicyPopup()">Ok, understood</button>
</div>
<div class="top-bar">
<div class="topnav">
<a href="/">Home</a>

View File

@ -60,7 +60,7 @@ a {
display: none; /*Hidden, we want to show it via JavaScript */
/* Theming */
background: #535353;
background: #151515;
color: white;
border-radius: 3px;
padding: 10px;
@ -73,7 +73,7 @@ a {
overflow: hidden;
/* Positioning */
position: absolute;
position: fixed;
left: 50px;
bottom: 75px;
z-index: 2;
@ -95,7 +95,7 @@ a {
transition-duration: 0.4s;
border-radius: 3px;
background-color: #917d6b;
background-color: #484848;
border: none;
cursor: pointer;
color: white;