1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Fixes #6171: Fix display of horizontally-scrolling object lists

This commit is contained in:
jeremystretch
2021-04-15 15:52:11 -04:00
parent ef78a7d41b
commit 0bb2a051b6
2 changed files with 4 additions and 3 deletions

View File

@@ -29,7 +29,6 @@
{% block sidebar %}{% endblock %}
</div>
{% endif %}
<div class="table-responsive">
{% with bulk_edit_url=content_type.model_class|validated_viewname:"bulk_edit" bulk_delete_url=content_type.model_class|validated_viewname:"bulk_delete" %}
{% if permissions.change or permissions.delete %}
<form method="post" class="form form-horizontal">
@@ -59,7 +58,9 @@
</div>
</div>
{% endif %}
{% render_table table 'inc/table.html' %}
<div class="table-responsive">
{% render_table table 'inc/table.html' %}
</div>
<div class="pull-left noprint">
{% block bulk_buttons %}{% endblock %}
{% if bulk_edit_url and permissions.change %}
@@ -78,7 +79,6 @@
{% render_table table 'inc/table.html' %}
{% endif %}
{% endwith %}
</div>
{% include 'inc/paginator.html' with paginator=table.paginator page=table.page %}
<div class="clearfix"></div>
</div>