diff options
Diffstat (limited to 'static/website/templates/index.html')
-rw-r--r-- | static/website/templates/index.html | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/static/website/templates/index.html b/static/website/templates/index.html index 63890fd..a911f6a 100644 --- a/static/website/templates/index.html +++ b/static/website/templates/index.html @@ -5,6 +5,16 @@ {% load helpers %} {% block content %} +<script> +$(document).ready(function(){ +$("#listTable").tablesorter({ + headers:{ 3:{sorter:false } +}, + +}); + +}); +</script> <div id="carousel-container"> <div class="carousel"> {% for category in categories %} @@ -58,7 +68,9 @@ Recent questions </div> <div class="panel-body"> - <table class="table table-bordered table-hover"> + <table id = "listTable" class="tablesorter-blue"> + <thead> + <tr> <th> FOSS </th> <th> Tutorial</th> <th> Min </th> @@ -68,6 +80,9 @@ <th> Views</th> <th> Answers</th> <th> User</th> + </tr> + </thead> + <tbody> {% for question in questions %} <tr> <td> @@ -133,7 +148,7 @@ </td> </tr> {% endfor %} - + </tbody> </table> </div> <!-- /.panel-body --> </div> <!-- /.panel --> |