{% if elements_debug_mode() and app.request.get('liveCss') is empty %}
{% set message = elements_debug_message('/entrypoints.json') %}
{% if message is not empty %}
<script type="text/javascript">
(function () {
var debugError = window.setInterval(function () {
if (document.body) {
clearInterval(debugError);
var div = '<div id="warning-static-release">{{ message | raw }}</div>';
document.body.insertAdjacentHTML('beforeend', div);
}
}, 100);
})();
</script>
<style type="text/css">
#warning-static-release{
position: fixed;
bottom: calc(10rem/16);
right: calc(10rem/16);
padding: calc(5rem/16) calc(20rem/16);
background: #cd231c;
color: #ffffff;
z-index: 1000;
border-radius: calc(4rem/16);
opacity: .5;
pointer-events: none;
}
#warning-static-release:hover{
opacity: .1;
}
#warning-static-release div{
text-align: right;
font-size: calc(12rem/16);
}
</style>
{% endif %}
{% endif %}