diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/web/templates/feed_list.html | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/web/templates/feed_list.html b/src/web/templates/feed_list.html index f8e3551e..8c258c3c 100644 --- a/src/web/templates/feed_list.html +++ b/src/web/templates/feed_list.html @@ -1,6 +1,6 @@ {% if feeds.count() != 0 %} <div class="table-responsive"> - <table class="table table-striped"> + <table id="table-feeds" class="table table-striped"> <thead> <tr> <th>#</th> @@ -39,4 +39,17 @@ </tbody> </table> </div> +<script> +$(document).ready(function() { + $('#table-feeds').DataTable( { + responsive: true, + columnDefs: [ + { + bSortable: false, + targets: [0, 1, 4, 5] + } + ] + }); +}); +</script> {% endif %} |