mirror of
https://git.bwaaa.monster/omnisearch
synced 2026-03-25 17:19:02 +02:00
added pagination to image search
This commit is contained in:
@@ -60,6 +60,15 @@
|
||||
</div>
|
||||
{{endfor}}
|
||||
</div>
|
||||
<nav class="pagination">
|
||||
<a class="pagination-btn prev" href="/images?q={{query}}&p={{prev_page}}">
|
||||
← Page {{prev_page}}
|
||||
</a>
|
||||
<span class="pagination-current">Page {{page}}</span>
|
||||
<a class="pagination-btn next" href="/images?q={{query}}&p={{next_page}}">
|
||||
Page {{next_page}} →
|
||||
</a>
|
||||
</nav>
|
||||
</main>
|
||||
</body>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user