@@ -180,16 +168,16 @@
{% endif %}
{% endblock %}
{% block extra_javascript %}
-
-
+ {% include 'bundles/datatables-js.html' %}
{% endblock %}
{% block extra_css %}
-
+ {% include 'bundles/datatables-css.html' %}
{% endblock %}
+{% block extra_script %}
+ $(document).ready(function(){
+ $('#table-mains').DataTable();
+ $('#table-members').DataTable();
+ $('#table-unregistered').DataTable();
+
+ });
+{% endblock %}
\ No newline at end of file
diff --git a/corputils/templates/corputils/search.html b/corputils/templates/corputils/search.html
index e812705b..85d482b9 100644
--- a/corputils/templates/corputils/search.html
+++ b/corputils/templates/corputils/search.html
@@ -1,6 +1,5 @@
{% extends "corputils/base.html" %}
{% load i18n %}
-{% load bootstrap_pagination %}
{% block member_data %}
@@ -37,14 +36,13 @@
{% endblock %}
{% block extra_javascript %}
-
-
+ {% include 'bundles/datatables-js.html' %}
{% endblock %}
{% block extra_css %}
-
+ {% include 'bundles/datatables-css.html' %}
+{% endblock %}
+{% block extra_script %}
+ $(document).ready(function(){
+ $('#table-search').DataTable();
+ });
{% endblock %}
\ No newline at end of file
diff --git a/stock/templates/bundles/datatables-css.html b/stock/templates/bundles/datatables-css.html
new file mode 100644
index 00000000..5cab0bb1
--- /dev/null
+++ b/stock/templates/bundles/datatables-css.html
@@ -0,0 +1,3 @@
+
+
+
\ No newline at end of file
diff --git a/stock/templates/bundles/datatables-js.html b/stock/templates/bundles/datatables-js.html
new file mode 100644
index 00000000..648fb1bb
--- /dev/null
+++ b/stock/templates/bundles/datatables-js.html
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file