Browse Source

Allow responsive tables (#1124)

* Make tables responsive #1115

Resolves #1115
Brian Ellwood 8 years ago
parent
commit
4035b87693
2 changed files with 2 additions and 2 deletions
  1. 1 1
      netbox/templates/table.html
  2. 1 1
      requirements.txt

+ 1 - 1
netbox/templates/table.html

@@ -1,4 +1,4 @@
-{% extends 'django_tables2/table.html' %}
+{% extends 'django_tables2/boostrap-responsive.html' %}
 {% load django_tables2 %}
 
 {# Extends the stock django_tables2 template to provide custom formatting of the pagination controls #}

+ 1 - 1
requirements.txt

@@ -5,7 +5,7 @@ django-debug-toolbar>=1.6
 django-filter>=1.0.1
 django-mptt==0.8.7
 django-rest-swagger>=2.1.0
-django-tables2>=1.2.5
+django-tables2>=1.6.0
 djangorestframework>=3.5.0
 graphviz>=0.4.10
 Markdown>=2.6.7