fix(print): no a4 and css for indications

This commit is contained in:
Florian Schmitt 2025-02-11 18:47:32 +03:00
parent 02d4515fe0
commit 7290d7272b
4 changed files with 10 additions and 25 deletions

View file

@ -132,12 +132,12 @@ document.addEventListener("DOMContentLoaded", function(event) {
$.each( $('.selected'), function( key, value ) {
content = content + "\n" +'{{include page="'+value.getAttribute('data-tag')+'"}}'
});
content = content + '<div class="full-portrait-a4 indications">'
content = content + '""<div class="indications">'
+ '<img src="custom/templates/bazar/assets/Instructions_pliage_recto.webp" alt="instructions recto" />'
+ '</div>'
+ '<div class="full-portrait-a4 indications2">'
+ '<div class="indications2">'
+ '<img src="custom/templates/bazar/assets/Instructions_pliage_verso.webp" alt="instructions verso" />'
+ '</div>'
+ '</div>""'
window.location.href = '/?wiki/render&print=1&content='+content+'&returnTo=<?php echo $GLOBALS['wiki']->href('', 'Merci'); ?>';
return false;
})