From 0f2c9fc6fddb7a1e435ab7d1ca8962383a7cc731 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Mon, 9 Mar 2020 16:48:07 +0000 Subject: added CDN install of DataTables --- ctrack/caf/templates/caf/applicablesystem_list.html | 4 +++- ctrack/static/js/project.js | 3 +++ ctrack/templates/base.html | 5 ++++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ctrack/caf/templates/caf/applicablesystem_list.html b/ctrack/caf/templates/caf/applicablesystem_list.html index a2e7c43..f0ba634 100644 --- a/ctrack/caf/templates/caf/applicablesystem_list.html +++ b/ctrack/caf/templates/caf/applicablesystem_list.html @@ -4,12 +4,14 @@ {% block title %}Applicable Systems{% endblock %} {% block content %} + +

Applicable Systems

- +
diff --git a/ctrack/static/js/project.js b/ctrack/static/js/project.js index d26d23b..2df7245 100644 --- a/ctrack/static/js/project.js +++ b/ctrack/static/js/project.js @@ -1 +1,4 @@ /* Project specific Javascript goes here. */ +$(document).ready(function() { + $('#datatable').DataTable(); +} ); diff --git a/ctrack/templates/base.html b/ctrack/templates/base.html index 7ed25a7..903fac8 100644 --- a/ctrack/templates/base.html +++ b/ctrack/templates/base.html @@ -26,7 +26,8 @@ - +{# #} + {% endblock %} @@ -106,6 +107,8 @@ +{# #} + {% endblock javascript %} -- cgit v1.2.3
Organisation