|
|
@ -155,27 +155,26 @@
|
|
|
|
{% if pagination and (pagination.has_next or pagination.has_prev) %}
|
|
|
|
{% if pagination and (pagination.has_next or pagination.has_prev) %}
|
|
|
|
<div class="pagination">
|
|
|
|
<div class="pagination">
|
|
|
|
{% if pagination.has_prev %}
|
|
|
|
{% if pagination.has_prev %}
|
|
|
|
<a class="previous" href="{{ (pagination.page - 1)|url_for_other_page
|
|
|
|
<li class="page-item page-next"><a class="page-link" aria-label="next page" href="{{ (pagination.page - 1)|url_for_other_page
|
|
|
|
}}">« {{_('Previous')}}</a>
|
|
|
|
}}">« {{_('Previous')}}</a></li>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
{% for page in pagination.iter_pages() %}
|
|
|
|
{% for page in pagination.iter_pages() %}
|
|
|
|
{% if page %}
|
|
|
|
{% if page %}
|
|
|
|
{% if page != pagination.page %}
|
|
|
|
{% if page != pagination.page %}
|
|
|
|
<a href="{{ (page)|url_for_other_page }}">{{ page }}</a>
|
|
|
|
<li class="page-item"><a class="page-link" aria-label="to page {{ page }}" href="{{ (page)|url_for_other_page }}">{{ page }}</a></li>
|
|
|
|
{% else %}
|
|
|
|
{% else %}
|
|
|
|
<strong>{{ page }}</strong>
|
|
|
|
<li class="page-item active"><a class="page-link" aria-label="to page {{ page }}" href="{{ (page)|url_for_other_page }}">{{ page }}</a></li>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
{% else %}
|
|
|
|
{% else %}
|
|
|
|
<span class="ellipsis">…</span>
|
|
|
|
<li class="page-item page-last-separator disabled"><a class="page-link" aria-label="">…</a></li>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|
|
|
|
{% if pagination.has_next %}
|
|
|
|
{% if pagination.has_next %}
|
|
|
|
<a class="next" href="{{ (pagination.page + 1)|url_for_other_page
|
|
|
|
<li class="page-item page-next"><a class="page-link" aria-label="next page" href="{{ (pagination.page + 1)|url_for_other_page
|
|
|
|
}}">{{_('Next')}} »</a>
|
|
|
|
}}">{{_('Next')}} »</a></li>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="modal fade" id="bookDetailsModal" tabindex="-1" role="dialog" aria-labelledby="bookDetailsModalLabel">
|
|
|
|
<div class="modal fade" id="bookDetailsModal" tabindex="-1" role="dialog" aria-labelledby="bookDetailsModalLabel">
|
|
|
@ -196,7 +195,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
|
|
|
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
|
|
|
<!--script src="https://code.jquery.com/jquery.js"></script-->
|
|
|
|
|
|
|
|
<script src="{{ url_for('static', filename='js/libs/jquery.min.js') }}"></script>
|
|
|
|
<script src="{{ url_for('static', filename='js/libs/jquery.min.js') }}"></script>
|
|
|
|
<!-- Include all compiled plugins (below), or include individual files as needed -->
|
|
|
|
<!-- Include all compiled plugins (below), or include individual files as needed -->
|
|
|
|
<script src="{{ url_for('static', filename='js/libs/bootstrap.min.js') }}"></script>
|
|
|
|
<script src="{{ url_for('static', filename='js/libs/bootstrap.min.js') }}"></script>
|
|
|
|