30 lines
872 B
HTML
30 lines
872 B
HTML
|
<div class="pagination" role="navigation">
|
||
|
<p>
|
||
|
<span class="pagination-link">
|
||
|
{% match pagination_info.prev_href %}
|
||
|
{% when Some with (href) %}
|
||
|
<a href="{{ href }}">
|
||
|
<span class="arrow arrow-left" aria-hidden="true"></span>
|
||
|
<span>Previous</span>
|
||
|
</a>
|
||
|
{% when None %}
|
||
|
<span class="arrow arrow-left" aria-hidden="true"></span>
|
||
|
<span>Previous</span>
|
||
|
{% endmatch %}
|
||
|
</span>
|
||
|
Page {{ pagination_info.page }} of {{ pagination_info.total_pages }}
|
||
|
<span class="pagination-link">
|
||
|
{% match pagination_info.next_href %}
|
||
|
{% when Some with (href) %}
|
||
|
<a href="{{ href }}">
|
||
|
<span>Next</span>
|
||
|
<span class="arrow arrow-right" aria-hidden="true"></span>
|
||
|
</a>
|
||
|
{% when None %}
|
||
|
<span>Next</span>
|
||
|
<span class="arrow arrow-right" aria-hidden="true"></span>
|
||
|
{% endmatch %}
|
||
|
</span>
|
||
|
</p>
|
||
|
</div>
|