From 1626ba1fa8734d8c278246ff9030f4c343ae84f3 Mon Sep 17 00:00:00 2001
From: Jayaram Pai
Date: Thu, 24 Apr 2014 17:11:58 +0530
Subject: fixed slider speed, and button display
---
forums/wsgi.py | 4 ++--
static/website/templates/index.html | 4 ++--
static/website/templates/latest_question.html | 4 +++-
website/templatetags/recent_posts.html | 0
4 files changed, 7 insertions(+), 5 deletions(-)
delete mode 100644 website/templatetags/recent_posts.html
diff --git a/forums/wsgi.py b/forums/wsgi.py
index 3901802..728eed4 100644
--- a/forums/wsgi.py
+++ b/forums/wsgi.py
@@ -24,8 +24,8 @@ sys.path.append('/Sites/venv/forums/')
# os.environ["DJANGO_SETTINGS_MODULE"] = "forums.settings"
os.environ["DJANGO_SETTINGS_MODULE"] = "forums.settings"
-# activate_this = '/Sites/venv/bin/activate_this.py'
-# execfile(activate_this, dict(__file__=activate_this))
+activate_this = '/Sites/venv/bin/activate_this.py'
+execfile(activate_this, dict(__file__=activate_this))
# This application object is used by any WSGI server configured to use this
# file. This includes Django's development server, if the WSGI_APPLICATION
diff --git a/static/website/templates/index.html b/static/website/templates/index.html
index 991c777..038aab6 100644
--- a/static/website/templates/index.html
+++ b/static/website/templates/index.html
@@ -142,9 +142,9 @@
draggable: false,
slidesToShow: 4,
slidesToScroll: 1,
- speed: 1000,
+ speed: 2000,
autoplay: true,
- autoplaySpeed: 1000,
+ autoplaySpeed: 2000,
});
$("#filter-form").submit(function(e) {
diff --git a/static/website/templates/latest_question.html b/static/website/templates/latest_question.html
index 5279f19..013ada4 100644
--- a/static/website/templates/latest_question.html
+++ b/static/website/templates/latest_question.html
@@ -7,5 +7,7 @@
Be the first to ask question.
- View previous questions
+
+ No questions to display
+
{% endif %}
diff --git a/website/templatetags/recent_posts.html b/website/templatetags/recent_posts.html
deleted file mode 100644
index e69de29..0000000
--
cgit