From 1552681e6b41ee3dbc12f35dfd3313829be835e0 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Tue, 10 Nov 2020 11:53:40 -0500 Subject: [PATCH] Don't use responsive tables for device components --- netbox/templates/dcim/device.html | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/netbox/templates/dcim/device.html b/netbox/templates/dcim/device.html index b3cab28db..60c8324e0 100644 --- a/netbox/templates/dcim/device.html +++ b/netbox/templates/dcim/device.html @@ -1,4 +1,5 @@ {% extends 'base.html' %} +{% load render_table from django_tables2 %} {% load buttons %} {% load static %} {% load helpers %} @@ -490,7 +491,7 @@ - {% include 'responsive_table.html' with table=interface_table %} + {% render_table interface_table 'inc/table.html' %} - {% include 'responsive_table.html' with table=frontport_table %} + {% render_table frontport_table 'inc/table.html' %} - {% include 'responsive_table.html' with table=rearport_table %} + {% render_table rearport_table 'inc/table.html' %} - {% include 'responsive_table.html' with table=consoleport_table %} + {% render_table consoleport_table 'inc/table.html' %} - {% include 'responsive_table.html' with table=consoleserverport_table %} + {% render_table consoleserverport_table 'inc/table.html' %} - {% include 'responsive_table.html' with table=powerport_table %} + {% render_table powerport_table 'inc/table.html' %} - {% include 'responsive_table.html' with table=poweroutlet_table %} + {% render_table poweroutlet_table 'inc/table.html' %} - {% include 'responsive_table.html' with table=devicebay_table %} + {% render_table devicebay_table 'inc/table.html' %} - {% include 'responsive_table.html' with table=inventoryitem_table %} + {% render_table inventoryitem_table 'inc/table.html' %}