normal search results pages

This commit is contained in:
abrendan
2024-02-15 14:56:26 +00:00
parent d2057259c8
commit 3c55cd8964
2 changed files with 14 additions and 6 deletions

View File

@@ -26,6 +26,15 @@
</li>
{% endfor %}
</ul>
<div class="navigation-buttons">
{% if page > 1 %}
<button onclick="location.href='{{ url_for('search', query=query, page=page-1) }}'" class="search-button navigation-button">&#10094; Prev</button>
{% endif %}
{% if page < total_pages %}
<button onclick="location.href='{{ url_for('search', query=query, page=page+1) }}'" class="search-button navigation-button">Next &#10095;</button>
{% endif %}
</div>
</div>
</body>
</html>