mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-18 05:28:16 -06:00
Hide paginator for empty pages
This commit is contained in:
parent
e30ff425a8
commit
8197e83d96
BIN
netbox/project-static/dist/netbox.css
vendored
BIN
netbox/project-static/dist/netbox.css
vendored
Binary file not shown.
@ -1,3 +1,14 @@
|
|||||||
|
// Object list tables
|
||||||
|
table.object-list {
|
||||||
|
|
||||||
|
// Hide border of last row
|
||||||
|
tbody > tr:last-child > td {
|
||||||
|
border-bottom-width: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
// Object attribute tables
|
||||||
table.attr-table {
|
table.attr-table {
|
||||||
|
|
||||||
// Restyle row header
|
// Restyle row header
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
{% load helpers %}
|
{% load helpers %}
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
|
||||||
<div class="d-flex justify-content-between align-items-center p-2">
|
{% if page %}
|
||||||
|
<div class="d-flex justify-content-between align-items-center border-top p-2">
|
||||||
|
|
||||||
{# Pages carousel #}
|
{# Pages carousel #}
|
||||||
{% if paginator.num_pages > 1 %}
|
{% if paginator.num_pages > 1 %}
|
||||||
@ -112,4 +113,5 @@
|
|||||||
</nav>
|
</nav>
|
||||||
{# /Pagination options #}
|
{# /Pagination options #}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user