summaryrefslogtreecommitdiff
path: root/static/website/templates/index.html
diff options
context:
space:
mode:
authorprathamesh2015-09-28 20:23:47 +0530
committerprathamesh2015-09-28 20:23:47 +0530
commitdbef89661da7cb5df09c0753a12e7f2f0d9fa6f0 (patch)
tree3664fc439a697f99c0b742c4e638e4fa5b3a3531 /static/website/templates/index.html
parent533dd56995041ea56857d343dd14d570c20cb99c (diff)
parentd8ab6cd732adb3f20c6f86c35665e3ee044490a9 (diff)
downloadspoken-tutorial-forums-dbef89661da7cb5df09c0753a12e7f2f0d9fa6f0.tar.gz
spoken-tutorial-forums-dbef89661da7cb5df09c0753a12e7f2f0d9fa6f0.tar.bz2
spoken-tutorial-forums-dbef89661da7cb5df09c0753a12e7f2f0d9fa6f0.zip
Merge branch 'master' of https://github.com/FOSSEE/spoken-tutorial-forums
Diffstat (limited to 'static/website/templates/index.html')
-rw-r--r--static/website/templates/index.html19
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 -->