MAPG-196 reposition of cookie notice
This commit is contained in:
parent
2737c7d6d6
commit
66c709f00d
@ -404,9 +404,17 @@ div.buttonContainer>button {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#cookiesNotice {
|
#cookiesNotice {
|
||||||
|
position: fixed;
|
||||||
|
left: 0;
|
||||||
|
bottom: 0;
|
||||||
|
right: 0;
|
||||||
|
margin: 20px;
|
||||||
background-color: #eeeeee;
|
background-color: #eeeeee;
|
||||||
|
border: solid #888888 1px;
|
||||||
|
border-radius: 3px;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
z-index: 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
#loading {
|
#loading {
|
||||||
|
@ -25,14 +25,6 @@
|
|||||||
<link rel="icon" type="image/png" sizes="16x16" href="<?= $_ENV['STATIC_ROOT'] ?>/img/favicon/16x16.png?rev=<?= REVISION ?>">
|
<link rel="icon" type="image/png" sizes="16x16" href="<?= $_ENV['STATIC_ROOT'] ?>/img/favicon/16x16.png?rev=<?= REVISION ?>">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<?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 'Agree', you consent to our use of cookies.
|
|
||||||
</p>
|
|
||||||
<button id="agreeCookiesButton" class="small marginTop">Agree</button>
|
|
||||||
</div>
|
|
||||||
<?php endif; ?>
|
|
||||||
<div id="loading">
|
<div id="loading">
|
||||||
<img src="<?= $_ENV['STATIC_ROOT'] ?>/img/loading.svg?rev=<?= REVISION ?>" width="64" height="64" alt="Loading">
|
<img src="<?= $_ENV['STATIC_ROOT'] ?>/img/loading.svg?rev=<?= REVISION ?>" width="64" height="64" alt="Loading">
|
||||||
</div>
|
</div>
|
||||||
@ -44,6 +36,14 @@
|
|||||||
</div>
|
</div>
|
||||||
@yields('pagemodal')
|
@yields('pagemodal')
|
||||||
@yields('content')
|
@yields('content')
|
||||||
|
<?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 'Agree', you consent to our use of cookies.
|
||||||
|
</p>
|
||||||
|
<button id="agreeCookiesButton" class="small marginTop">Agree</button>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
<script>
|
<script>
|
||||||
const STATIC_ROOT = '<?= $_ENV['STATIC_ROOT'] ?>';
|
const STATIC_ROOT = '<?= $_ENV['STATIC_ROOT'] ?>';
|
||||||
const REVISION = '<?= REVISION ?>';
|
const REVISION = '<?= REVISION ?>';
|
||||||
|
Loading…
Reference in New Issue
Block a user