aboutsummaryrefslogtreecommitdiff
path: root/src/web/templates/feed_list_simple.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/templates/feed_list_simple.html')
-rw-r--r--src/web/templates/feed_list_simple.html15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/web/templates/feed_list_simple.html b/src/web/templates/feed_list_simple.html
index f15d5f0a..3e04ad7e 100644
--- a/src/web/templates/feed_list_simple.html
+++ b/src/web/templates/feed_list_simple.html
@@ -1,6 +1,6 @@
{% if feeds | length != 0 %}
<div class="table-responsive">
- <table class="table table-striped">
+ <table id="table-feeds" class="table table-striped">
<thead>
<tr>
<th>#</th>
@@ -19,4 +19,17 @@
</tbody>
</table>
</div>
+<script>
+$(document).ready(function() {
+ $('#table-feeds').DataTable( {
+ responsive: true,
+ columnDefs: [
+ {
+ bSortable: false,
+ targets: [0]
+ }
+ ]
+ });
+});
+</script>
{% endif %}
bgstack15