Skip to content
Snippets Groups Projects
Unverified Commit a7d40b85 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Make all tables with datatable class a DataTable.

parent b027b6ce
No related branches found
No related tags found
No related merge requests found
$(document).ready( function () {
$('table.datatable').each(function (index) {
$(this).DataTable();
});
} );
......@@ -8,6 +8,7 @@
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/v/bs/dt-1.10.18/datatables.min.css"/>
<link rel="shortcut icon" href="#" />
<script type="text/javascript" src="https://cdn.datatables.net/v/bs/dt-1.10.18/datatables.min.js"></script>
<script type="text/javascript" src="{% static 'js/main.js' %}" /></script>
{% endblock %}
{% block bootstrap3_content %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment