Просмотр исходного кода

Fixes #12845: Fix pagination of related IP addresses table

Jeremy Stretch 2 лет назад
Родитель
Сommit
8aeb31751a
1 измененных файлов с 12 добавлено и 12 удалено
  1. 12 12
      netbox/templates/ipam/ipaddress/ip_addresses.html

+ 12 - 12
netbox/templates/ipam/ipaddress/ip_addresses.html

@@ -2,18 +2,18 @@
 {% load helpers %}
 {% load helpers %}
 
 
 {% block content %}
 {% block content %}
-    {% include 'inc/table_controls_htmx.html' with table_modal="IPAddressTable_config" %}
-    <form method="post">
-        {% csrf_token %}
-        <div class="card">
-            <div class="card-body" id="object_list">
-                {% include 'htmx/table.html' %}
-            </div>
-        </div>
-    </form>
-{% endblock content %}
+  {% include 'inc/table_controls_htmx.html' with table_modal="IPAddressTable_config" %}
+  <form method="post">
+    {% csrf_token %}
+    <div class="card">
+      <div class="card-body htmx-container table-responsive" id="object_list">
+        {% include 'htmx/table.html' %}
+      </div>
+    </div>
+  </form>
+{% endblock %}
 
 
 {% block modals %}
 {% block modals %}
-    {{ block.super }}
-    {% table_config_form table %}
+  {{ block.super }}
+  {% table_config_form table %}
 {% endblock modals %}
 {% endblock modals %}