diff --git a/app/templates/home.html b/app/templates/home.html
index 1bc176e..bebde44 100644
--- a/app/templates/home.html
+++ b/app/templates/home.html
@@ -31,11 +31,11 @@
// Configure the url we're about to hit
setTimeout(function (){
$.ajax({
- url: baseUrl,
+ url: baseUrl,
data: {'page': pageNum},
success: function(data) {
$("#loading").hide();
-
+
$("#timeline").append(data);
},
complete: function(data, textStatus){
@@ -46,7 +46,7 @@
}, 1000)
};
- $(document).ready(function(){
+ $(document).ready(function(){
$(window).bind('scroll', loadOnScroll);
});
@@ -62,70 +62,48 @@
{% endblock %}
{% block sidebar %}
-
+
-

-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
Menu
+
+
+
{% endblock %}
{% block content %}
{% if user|has_role:'system_admin' %}
- {% trans 'Courses' %}
-
-
- {% include page_template %}
-
-
+ {% trans 'Courses' %}
+
+ {% include page_template %}
+
{% else %}
-
-
- {% include page_template %}
-
-
+
+ {% include page_template %}
+
{% endif %}
-
diff --git a/app/templates/home_student.html b/app/templates/home_student.html
index 52a6bc9..a785b32 100644
--- a/app/templates/home_student.html
+++ b/app/templates/home_student.html
@@ -18,7 +18,7 @@
{% block sidebar %}
-
{% trans 'Menu' %}
+ {% trans 'Menu' %}
diff --git a/core/templates/base.html b/core/templates/base.html
index 792ee4e..3c55448 100644
--- a/core/templates/base.html
+++ b/core/templates/base.html
@@ -109,7 +109,7 @@
{% endblock %}
-
+
@@ -117,7 +117,7 @@
{% block script_file %}
-
+
{% endblock script_file %}