Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
srv
/
data
/
web
/
vhosts
/
www.humitest.fr
/
htdocs
/
templates
/
front
/
blocks
/
/srv/data/web/vhosts/www.humitest.fr/htdocs/templates/front/blocks/modal-close.html.twig
{% if modal.isDisplay %} <div class="popup" id="popup"> <div class="popup-content"> <div class="popup-header"> <span class="close" onclick="closePopup()">×</span> </div> <div class="popup-body"> <p style="font-size: 19px"> {{ modal.content }} </p> </div> <div class="popup-footer"> <button type="button" class="btn btn-secondary button-close" onclick="closePopup()">Fermer</button> </div> </div> </div> <style> .popup { display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 999; } .popup-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background-color: #fff; padding: 20px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); text-align: center; display: flex; -ms-flex-direction: column; flex-direction: column; width: 50%; pointer-events: auto; background-clip: padding-box; border: 1px solid rgba(0, 0, 0, 0.2); border-radius: 0.3rem; outline: 0; } .popup-header { display: flex; -ms-flex-align: start; align-items: flex-start; -ms-flex-pack: justify; justify-content: space-between; padding: 1rem; border-bottom: 1px solid #dee2e6; border-top-left-radius: 0.3rem; border-top-right-radius: 0.3rem; } .popup-body { position: relative; -ms-flex: 1 1 auto; flex: 1 1 auto; padding: 1rem; } .popup-footer { display: flex; -ms-flex-align: center; align-items: center; -ms-flex-pack: end; justify-content: flex-end; padding: 1rem; border-top: 1px solid #dee2e6; border-bottom-right-radius: 0.3rem; border-bottom-left-radius: 0.3rem; } .popup-footer button { margin: 0; } .close { position: absolute; top: 10px; right: 10px; font-size: 20px; cursor: pointer; } .button-close { background-color: #c20e1a; border-color: #c20e1a; transition: all 0.3s ease-in-out; } </style> <script> // Fonction pour fermer la pop-up function closePopup() { document.getElementById("popup").style.display = "none"; } </script> {% endif %}