Initial Commit
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
<style>
|
||||
/** PRIVACY POLICY **/
|
||||
|
||||
.privacy_pol {
|
||||
background-color: #0072B6;
|
||||
color: #FFFFFF;
|
||||
bottom: 0;
|
||||
height: auto;
|
||||
padding: 8px 25px;
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.privacy_pol a {
|
||||
color: #FFFFFF;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.privacy_pol a#accept_cookie_policy {
|
||||
max-width: 250px;
|
||||
margin-left: 10px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.privacy_pol a.btn {
|
||||
border: 1px solid #FFF;
|
||||
border-radius: 0;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.privacy_pol a.btn:hover {
|
||||
background-color: #FFF;
|
||||
color: #0072B6;
|
||||
text-decoration: none;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="privacy_pol">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-md-12 text-center">
|
||||
Questo sito o gli strumenti terzi da questo utilizzati si avvalgono di cookie necessari al funzionamento
|
||||
ed utili alle finalità illustrate nella <a href="<?= $this->url(array('action'=>'privacy'),'it',true); ?>"
|
||||
target="_blank">privacy policy</a> e <a href="<?= $this->url(array('action'=>'cookiepolicy'),'it',true); ?>"
|
||||
target="_blank">cookie policy</a>
|
||||
<a id="accept_cookie_policy" class="btn btn-sm"><i class="fa fa-check fa-fw"></i> Ok,acconsento</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
$('#accept_cookie_policy').click(function (link) {
|
||||
link.preventDefault();
|
||||
var d = new Date();
|
||||
d.setTime(d.getTime() + (5 * 24 * 60 * 60 * 1000));
|
||||
var expires = "expires=" + d.toUTCString();
|
||||
document.cookie = "displayCookiePolicy=false; " + expires + "; path=/";
|
||||
$('.privacy_pol').slideUp();
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user