summaryrefslogtreecommitdiffstats
path: root/data/templates/users/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/users/index.html')
-rw-r--r--data/templates/users/index.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/data/templates/users/index.html b/data/templates/users/index.html
index 246e523..71eccf9 100644
--- a/data/templates/users/index.html
+++ b/data/templates/users/index.html
@@ -1,4 +1,4 @@
-<table class="sortable table table-bordered table-striped table-condensed">
+<table id="usertable" class="table table-bordered table-striped table-condensed">
<thead>
<tr><th>ID</th></th><th>Name</th></tr>
</thead>
@@ -6,3 +6,9 @@
{{{DATA}}}
</tbody>
</table>
+
+<script type="text/javascript">
+$(document).ready(function() {
+ $('#usertable').DataTable();
+} );
+</script>