summaryrefslogtreecommitdiff
path: root/static/website/templates/page.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/website/templates/page.html')
-rw-r--r--static/website/templates/page.html22
1 files changed, 18 insertions, 4 deletions
diff --git a/static/website/templates/page.html b/static/website/templates/page.html
index 9269052..f9f3eb0 100644
--- a/static/website/templates/page.html
+++ b/static/website/templates/page.html
@@ -4,10 +4,13 @@
<html>
<head>
<title>{{ page.heading }} | python.fossee.in</title>
+ <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="{% static 'website/css/bootstrap.min.css' %}">
<link rel="stylesheet" type="text/css" href="{% static 'website/css/bootstrap-theme.min.css' %}">
<link rel="stylesheet" type="text/css" href="{% static 'website/css/lightbox.css'%}">
<link rel="stylesheet" type="text/css" href="{% static 'website/css/main.css'%}">
+ <link rel="shortcut icon" type="image/png" href="{% static 'website/images/pylogo.png'%}"/>
+ <script type="text/javascript" src="{% static 'website/js/jquery.tablesorter.js' %}"></
</head>
<body>
<link rel="stylesheet" type="text/css" href="http://fossee.in/data/banner/css/nice-bar.css" />
@@ -108,7 +111,7 @@
{% if permalink == 'python-workshops' %}
<div id="content" class="col-lg-10 col-md-10 col-sm-10">
- <h3>Pyhton Workshops </h3>
+ <h3>Python Workshops </h3>
<br>
<p>
{% if page.content %}
@@ -126,7 +129,8 @@
<div id="collapsestats" class="panel-collapse collapse in">
<div class="panel-body">
<p>
- <table class="table table-striped table-hover">
+ <table id= "statstable" class="tablesorter table table table-striped table-hover">
+ <thead>
<tr>
<th>Name</th>
<th>Start Date</th>
@@ -134,6 +138,8 @@
<th>No of Participants</th>
<th> </th>
</tr>
+ </thead>
+ <tbody>
{% for b in obj %}
<tr>
<td>{{ b.w_name }}</td>
@@ -143,6 +149,7 @@
<td><a href="http://fossee.in/events/view_details/{{ b.w_id }}" target="_blank">Details</a></td>
</tr>
{% endfor %}
+ </tbody>
</table>
</p>
</div>
@@ -223,7 +230,7 @@
<script src="{% static 'website/js/jquery.min.js' %}"></script>
<script src="{% static 'website/js/bootstrap.min.js' %}"></script>
<script src="{% static 'website/js/lightbox.min.js' %}"></script>
- <script src="{% static 'website/js/nice-bar.js' %}"></script>
+ <!--<script src="{% static 'website/js/nice-bar.js' %}"></script>-->
<!-- Piwik -->
<script type="text/javascript">
var _paq = _paq || [];
@@ -249,7 +256,14 @@
</script>
<noscript><p><img src="http://analytics.spoken-tutorial.org/piwik.php?idsite=14" style="border:0;" alt="" /></p></noscript>
<!-- End Piwik Code -->
-
+<script type="text/javascript" src="{% static 'website/js/jquery.tablesorter.min.js' %}"></script>
+<script type="text/javascript">
+$(document).ready(function()
+ {
+ $("#statstable").tablesorter();
+ }
+);
+</script>
</body>
</html>