page break nach 80 Aufgaben und Drop Down Aufgaben

This commit is contained in:
2021-06-05 15:01:11 +02:00
parent 6b1c0eb192
commit d12eae4830
4 changed files with 19 additions and 2 deletions

View File

@ -4,6 +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>
{% endif %}
{% endfor %}
</div>
{% endblock %}