mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-28 04:24:00 +03:00
fix: add next/prev buttons
This commit is contained in:
parent
5ae59fb63c
commit
4401813279
|
@ -34,7 +34,7 @@
|
|||
<a
|
||||
{% if page.previous_page %}href="{{ page.previous_page.url|url }}"{% endif %}
|
||||
{% if not page.previous_page %}disabled{% endif %}
|
||||
class="btn btn-sm btn-secondary align-items-center gap-1 d-none d-sm-flex"
|
||||
class="btn btn-sm btn-secondary align-items-center gap-1 d-flex"
|
||||
>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-arrow-left" viewBox="0 0 16 16">
|
||||
<path fill-rule="evenodd" d="M15 8a.5.5 0 0 0-.5-.5H2.707l3.147-3.146a.5.5 0 1 0-.708-.708l-4 4a.5.5 0 0 0 0 .708l4 4a.5.5 0 0 0 .708-.708L2.707 8.5H14.5A.5.5 0 0 0 15 8"/>
|
||||
|
@ -47,7 +47,7 @@
|
|||
<a
|
||||
{% if page.next_page %}href="{{ page.next_page.url|url }}"{% endif %}
|
||||
{% if not page.next_page %}disabled{% endif %}
|
||||
class="btn btn-sm btn-secondary align-items-center gap-1 d-none d-sm-flex"
|
||||
class="btn btn-sm btn-secondary align-items-center gap-1 d-flex"
|
||||
>
|
||||
<span class="d-none d-md-block">Next</span>
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user