Browse Source

Add divider between pagination buttons

Better usability without styles
pm2
Luke Childs 8 years ago
parent
commit
3ee4806d2a
  1. 3
      views/listing.html

3
views/listing.html

@ -39,6 +39,9 @@
{% if req.query.p > 1 %}
<a href="{{ req | pagination('prev') }}">&lt; Prev</a>
{% endif %}
{% if req.query.p > 1 and nodes.length == numOfNodes %}
<span class="divider">-</span>
{% endif %}
{% if nodes.length == numOfNodes %}
<a href="{{ req | pagination('next') }}">Next &gt;</a>
{% endif %}

Loading…
Cancel
Save