last print adjustments
This commit is contained in:
parent
7290d7272b
commit
eacf7c654c
2 changed files with 4 additions and 8 deletions
|
@ -14,6 +14,7 @@
|
||||||
display: block;
|
display: block;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
.recto .left,
|
.recto .left,
|
||||||
.verso .left,
|
.verso .left,
|
||||||
|
@ -212,8 +213,8 @@
|
||||||
.indications,
|
.indications,
|
||||||
.indications2 {
|
.indications2 {
|
||||||
page-break-after: always;
|
page-break-after: always;
|
||||||
max-width: 210mm;
|
width: 210mm;
|
||||||
max-height: 297mm;
|
height: 297mm;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
.indications img,
|
.indications img,
|
||||||
|
|
|
@ -132,12 +132,7 @@ document.addEventListener("DOMContentLoaded", function(event) {
|
||||||
$.each( $('.selected'), function( key, value ) {
|
$.each( $('.selected'), function( key, value ) {
|
||||||
content = content + "\n" +'{{include page="'+value.getAttribute('data-tag')+'"}}'
|
content = content + "\n" +'{{include page="'+value.getAttribute('data-tag')+'"}}'
|
||||||
});
|
});
|
||||||
content = content + '""<div class="indications">'
|
content = content + "\n" + '{{include page="Instructions"}}'
|
||||||
+ '<img src="custom/templates/bazar/assets/Instructions_pliage_recto.webp" alt="instructions recto" />'
|
|
||||||
+ '</div>'
|
|
||||||
+ '<div class="indications2">'
|
|
||||||
+ '<img src="custom/templates/bazar/assets/Instructions_pliage_verso.webp" alt="instructions verso" />'
|
|
||||||
+ '</div>""'
|
|
||||||
window.location.href = '/?wiki/render&print=1&content='+content+'&returnTo=<?php echo $GLOBALS['wiki']->href('', 'Merci'); ?>';
|
window.location.href = '/?wiki/render&print=1&content='+content+'&returnTo=<?php echo $GLOBALS['wiki']->href('', 'Merci'); ?>';
|
||||||
return false;
|
return false;
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Reference in a new issue