aboutsummaryrefslogtreecommitdiff
path: root/src/web/templates/admin
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/templates/admin')
-rw-r--r--src/web/templates/admin/dashboard.html15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/web/templates/admin/dashboard.html b/src/web/templates/admin/dashboard.html
index 0d45118d..58b48fa1 100644
--- a/src/web/templates/admin/dashboard.html
+++ b/src/web/templates/admin/dashboard.html
@@ -5,7 +5,7 @@
{% block content %}
<div class="container">
<h1>{{ _('Registered users') }}</h1>
-<table class="table table-striped">
+<table id="table-users" class="table table-striped ">
<thead>
<tr>
<th>#</th>
@@ -56,4 +56,17 @@
{{ form.submit(class_="btn btn-default") }}
</form>
</div>
+<script>
+$(document).ready(function() {
+ $('#table-users').DataTable( {
+ responsive: true,
+ columnDefs: [
+ {
+ bSortable: false,
+ targets: [0, 5]
+ }
+ ]
+ });
+});
+</script>
{% endblock %}
bgstack15