webseite/templates/macros/pagination.html
L3D b61638a4e0 Waffelkalender
Former-commit-id: 5e9322d0d3ae05038bd919e5fe018997b416d7c1 [formerly 6f4be1d943aea656b85bafeeac9e2a58da4b64b7] [formerly 8a430ccbb7ec5f65c0caff386df60d5c1ddd1e3b [formerly 3f1458873caa0b51263f8f0b2b1612b28fe17380]]
Former-commit-id: ac78873eb04ac2e83da1a81b97259ba480ce882d [formerly 68ba82ae8018990ad76454805fee58c4bb5175a7]
Former-commit-id: dd4722fd553836619b3506c43d07f219643cba01
2018-07-21 22:42:40 +02:00

25 lines
776 B
HTML

{% macro render_pagination(pagination) %}
<section id="two" class="wrapper alt spotlight style2">
<div class="inner">
<style>
#two li {
list-style: none;
}
</style>
<ul class="pagination">
{% if pagination.has_prev %}
<li><a href="{{ pagination.prev|url }}" class="button small">Zur&uuml;ck</a></li>
{% else %}
<li><span class="button small disabled">Zur&uuml;ck</span></li>
{% endif %}
<li><a href="#" class="page active">{{ pagination.page }}</a></li>
{% if pagination.has_next %}
<li><a href="{{ pagination.next|url }}" class="button small">Weiter</a></li>
{% else %}
<li><span class="button small disabled">Weiter</span></li>
{% endif %}
</ul>
</div>
</section>
{% endmacro %}