weniger Aufgaben pro Seite

This commit is contained in:
Arne Baeumler 2021-06-06 14:00:45 +02:00
parent 46a74320d9
commit 724ce039da

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: 7em">{{ a.a }} {% if a.t.typ == '*' %}&middot;{% elif a.t.typ == '/'%}:{% else %}{{ a.t.typ }}{% endif %} {{ a.b }}{{ a.c }}</td><td> = </td><td class="w3-border-bottom" style="width: 5em; height: 2em"></td></tr></table>
{% if (loop.index % 100 == 0) and (not loop.last) %}
{% if (loop.index % 60 == 0) and (not loop.last) %}
<div style="break-after: page; clear: both;"></div>
<div style="margin-bottom: 3em"></div>
{% endif %}