aboutsummaryrefslogtreecommitdiff
path: root/src/web/templates/admin
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-10-18 12:22:12 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-10-18 12:22:12 +0200
commit37b1b8750d728d11d95fb64fe5f26f9278555354 (patch)
tree3bbcafc9e7fd6757f5c2981ce4abb137d43f5219 /src/web/templates/admin
parentUpdated install.sh (diff)
downloadnewspipe-37b1b8750d728d11d95fb64fe5f26f9278555354.tar.gz
newspipe-37b1b8750d728d11d95fb64fe5f26f9278555354.tar.bz2
newspipe-37b1b8750d728d11d95fb64fe5f26f9278555354.zip
added bower in the postdeployment of the app
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