Files
2021-cadpoint-ru/cadpoint/templates/blocks/accept-cookies.jinja2
2021-07-23 23:10:33 +03:00

15 lines
1.1 KiB
Django/Jinja
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!-- СОГЛАСИЕ НА КУКИ: НАЧАЛО -- соглашение о сборе технической информации -->
<noindex id="cookies_accept" class="fixed-bottom container-fluid">
<div class="row bg-dark text-white">
<div class="col p-4 mb-0 text-center">
<small>Тут используют cookie и&nbsp;ведут сбор технических данных о&nbsp;посещениях, потому как без этого <nobr>интернет-сайты</nobr> вообще почти не&nbsp;работают&hellip;</small>
<button onclick="CookieAcceptDate = new Date();
CookieAcceptDate.setTime(CookieAcceptDate.getTime() + 7948800000);
document.cookie = 'cookie_accept=yes;expires=' + CookieAcceptDate;
document.getElementById('cookies_accept').remove();"
class="btn ml-4 py-2 px-4 btn-warning">
Я согласен!
</button>
</div>
</div>
</noindex><!-- СОГЛАСИЕ НА КУКИ: КОНЕЦ -->