mirror of
https://koodu.h-i.works/projects/thebadspace
synced 2025-06-25 16:04:37 -05:00
Listing style tweaks
Cleaned up pagination to make it easier to identify what page is currently being displayed and tweaks font sizes of page links for better legibility.
This commit is contained in:
@ -6,10 +6,20 @@
|
||||
{% block main %}
|
||||
<section role="listings">
|
||||
<h1>The Bad Space Listings</h1>
|
||||
<h2>Page
|
||||
{{ options.currentPage }}
|
||||
of
|
||||
{{ options.list.total }}</h2>
|
||||
<div role="paginate">
|
||||
<a href="/listings/page/{{ options.prevPage }}" title="previous page">
|
||||
<i class="ti ti-arrow-left"></i>
|
||||
</a>
|
||||
<span>
|
||||
Page
|
||||
{{ options.currentPage }}
|
||||
of
|
||||
{{ options.list.total }}
|
||||
</span>
|
||||
<a href="/listings/page/{{ options.nextPage }}" title="next page">
|
||||
<i class="ti ti-arrow-right"></i>
|
||||
</a>
|
||||
</div>
|
||||
{% for location in options.list.locations %}
|
||||
|
||||
<a href="/location/{{ location.uuid }}">
|
||||
@ -17,7 +27,21 @@
|
||||
{{ location.name }}</a>
|
||||
<br/>
|
||||
{% endfor %}
|
||||
<a href="/listings/page/{{ options.prevPage }}">Previous</a>
|
||||
<a href="/listings/page/{{ options.nextPage }}">Next</a>
|
||||
|
||||
<div role="paginate">
|
||||
<a href="/listings/page/{{ options.prevPage }}" title="previous page">
|
||||
<i class="ti ti-arrow-left"></i>
|
||||
</a>
|
||||
<span>
|
||||
Page
|
||||
{{ options.currentPage }}
|
||||
of
|
||||
{{ options.list.total }}
|
||||
</span>
|
||||
<a href="/listings/page/{{ options.nextPage }}" title="next page">
|
||||
<i class="ti ti-arrow-right"></i>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user