{% include "headitem.html.twig" with {title: "GENERAL_ADMIN_TITLE"|translate} %} {{ style({ include: "https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" }) }} {{ script({ include: "https://code.jquery.com/jquery-3.2.1.slim.min.js", dynamic: __oxid_include_dynamic }) }} {{ script({ include: "https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js", dynamic: __oxid_include_dynamic }) }} {{ script({ include: "https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js", dynamic: __oxid_include_dynamic }) }} {{ style({ include: "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/solid.min.css" }) }} {% capture assign = "d3script" %}{% apply spaceless %} function startTask(id, format = '') { let elements = document.getElementsByClassName('errorbox'); for (var i = 0; i < elements.length; i++){ elements[i].style.display = 'none'; } setTimeout(function(){ document.getElementById('mask').className=''; document.getElementById('popup2').className='d3loader-2'; }, 3000); document.getElementById('mask').className='on'; document.getElementById('popup2').className='d3loader-2 on'; document.getElementById('taskid').value = id; document.getElementById('format').value = format; document.getElementById('myedit').submit(); } {% endapply %}{% endcapture %} {{ script({ add: d3script, dynamic: __oxid_include_dynamic }) }}