diff options
| author | frosty <gabriel@bwaaa.monster> | 2026-02-24 01:30:46 -0500 |
|---|---|---|
| committer | frosty <gabriel@bwaaa.monster> | 2026-02-24 01:30:46 -0500 |
| commit | 7b595962d4757f982dee0985ad23b992fbe6b3fb (patch) | |
| tree | 304922f7d6a4d16224eb8b69ca0af7559fe4bc0c /templates/images.html | |
| parent | b280ab6bcdf6c9bae46a7a21b7138d46d953dd71 (diff) | |
| download | omnisearch-7b595962d4757f982dee0985ad23b992fbe6b3fb.tar.gz | |
added pagination to image search
Diffstat (limited to 'templates/images.html')
| -rw-r--r-- | templates/images.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/images.html b/templates/images.html index fd4915a..2f1bb40 100644 --- a/templates/images.html +++ b/templates/images.html @@ -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> |
