fixed footer and policy
This commit is contained in:
@@ -1,2 +1,57 @@
|
||||
<footer class="footer text-center text-sm-left">
|
||||
© 2023 CE Soft <span class="text-muted d-none d-sm-inline-block float-right">CE SOFT SRL</span>
|
||||
<footer class="footer text-center text-sm-left" style="padding: 20px; background-color: #f8f9fa; position: fixed; bottom: 0; width: 100%; z-index: 1000;">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 col-md-6 text-center text-md-left mb-2 mb-md-0">
|
||||
© 2023 CE Soft
|
||||
</div>
|
||||
<div class="col-sm-12 col-md-6 text-center text-md-right">
|
||||
<span class="text-muted">CE SOFT SRL</span> |
|
||||
<a href="terminiecondizioni.php" target="_blank">Termini IT</a> |
|
||||
<a href="termsandconditions.php" target="_blank">Terms EN</a> |
|
||||
<a href="regolamentoprivacy.php" target="_blank">Privacy IT</a> |
|
||||
<a href="privacydoc.php" target="_blank">Privacy EN</a> |
|
||||
<a href="cookie-policy-it.php" target="_blank">Cookie IT</a> |
|
||||
<a href="cookie-policy-en.php" target="_blank">Cookie EN</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
const footer = document.querySelector('footer');
|
||||
const footerHeight = footer.offsetHeight;
|
||||
document.body.style.paddingBottom = footerHeight + 'px';
|
||||
});
|
||||
</script>
|
||||
|
||||
<!-- Cookie Banner -->
|
||||
<div id="cookie-banner" style="position: fixed; bottom: 0; width: 100%; background: #333; color: #fff; padding: 15px; text-align: center; z-index: 1000; font-family: Arial, sans-serif;">
|
||||
<div id="cookie-text">
|
||||
<p>
|
||||
Questo sito utilizza esclusivamente cookie tecnici per garantire funzionalità essenziali (come login e sicurezza).
|
||||
<a href="cookie-policy-it.php" target="_blank" style="color: #fff; text-decoration: underline; margin-left: 5px;">Scopri di più</a>
|
||||
</p>
|
||||
<p>
|
||||
This site uses only technical cookies to ensure essential features (such as login and security).
|
||||
<a href="cookie-policy-en.php" target="_blank" style="color: #fff; text-decoration: underline; margin-left: 5px;">Learn more</a>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<button onclick="closeBanner()" style="background: #28a745; color: #fff; border: none; padding: 8px 16px; margin: 5px; cursor: pointer;">OK</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
function closeBanner() {
|
||||
document.getElementById('cookie-banner').style.display = 'none';
|
||||
localStorage.setItem('cookiesAcknowledged', 'true');
|
||||
}
|
||||
|
||||
// Nasconde il banner se l'utente ha già chiuso
|
||||
window.onload = function() {
|
||||
if (localStorage.getItem('cookiesAcknowledged')) {
|
||||
document.getElementById('cookie-banner').style.display = 'none';
|
||||
}
|
||||
};
|
||||
</script>
|
||||
Reference in New Issue
Block a user