fixed print format

This commit is contained in:
2021-06-05 16:06:02 +02:00
parent f4f4ed3220
commit c45d880b8e
3 changed files with 9 additions and 6 deletions

View File

@ -4,8 +4,9 @@
<div class="w3-responsive">
{% for a in aufgaben %}
<table class="w3-left" width="auto"><tr><td class="w3-right-align" style="width: 5em">{{ a }}</td><td> = </td><td class="w3-border-bottom" style="width: 5em; height: 2em"></td></tr></table>
{% if loop.index % 80 == 0 %}
<div style="break-after: page;"></div>
{% if (loop.index % 80 == 0) and (not loop.last) %}
<div style="break-after: page; clear: both;"></div>
<div style="margin-bottom: 3em"></div>
{% endif %}
{% endfor %}
</div>