Compare commits
7
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4561c825a4 | ||
|
|
693bddbcf0 | ||
|
|
eae7cefae1 | ||
|
|
212728e138 | ||
|
|
0d627f297e | ||
|
|
f07ae979a2 | ||
|
|
8bdbbafcff |
No files matched your search
@@ -16,6 +16,8 @@
|
||||
|
||||
#noPano {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
position: absolute;
|
||||
z-index: 2;
|
||||
visibility: hidden;
|
||||
@@ -23,7 +25,7 @@
|
||||
}
|
||||
|
||||
#noPano>p {
|
||||
margin: auto;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#control {
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<?php if (!isset($_COOKIE['COOKIES_CONSENT'])): ?>
|
||||
<script>
|
||||
(function () {
|
||||
MapGuesser = {
|
||||
var MapGuesser = {
|
||||
cookiesAgreed: false,
|
||||
|
||||
agreeCookies: function () {
|
||||
@@ -29,10 +29,13 @@
|
||||
document.cookie = 'COOKIES_CONSENT=1; expires=' + expirationDate + '; path=/';
|
||||
|
||||
MapGuesser.cookiesAgreed = true;
|
||||
document.getElementById('cookiesNotice').style.display = 'none';
|
||||
}
|
||||
};
|
||||
|
||||
document.getElementById('agreeCookies').onclick = function () {
|
||||
document.getElementById('cookiesNotice').style.display = 'none';
|
||||
};
|
||||
|
||||
window.onclick = function () {
|
||||
MapGuesser.agreeCookies();
|
||||
};
|
||||
|
||||
@@ -25,9 +25,9 @@
|
||||
<?php if (!isset($_COOKIE['COOKIES_CONSENT'])): ?>
|
||||
<div id="cookiesNotice">
|
||||
<p class="small">
|
||||
<?= $_ENV['APP_NAME'] ?> uses cookies to improve user experience. By using the app or clicking I agree, you consent to our use of cookies.
|
||||
<?= $_ENV['APP_NAME'] ?> uses cookies to improve user experience. By using the app or clicking 'Agree', you consent to our use of cookies.
|
||||
</p>
|
||||
<button id="agreeCookies" class="small marginTop">I agree</button>
|
||||
<button id="agreeCookies" class="small marginTop">Agree</button>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<div id="loading">
|
||||
|
||||
Reference in new issue
Block a user