break after 100

This commit is contained in:
Arne Baeumler 2021-06-05 16:32:30 +02:00
parent 42f8ac8a53
commit a31abd18a5

View File

@ -4,7 +4,7 @@
<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) and (not loop.last) %}
{% if (loop.index % 100 == 0) and (not loop.last) %}
<div style="break-after: page; clear: both;"></div>
<div style="margin-bottom: 3em"></div>
{% endif %}