diff options
author | Jayaram Pai | 2014-04-24 17:11:58 +0530 |
---|---|---|
committer | Jayaram Pai | 2014-04-24 17:11:58 +0530 |
commit | 1626ba1fa8734d8c278246ff9030f4c343ae84f3 (patch) | |
tree | 0b5dbfc83efb91a403a3d98d867e29543186209c | |
parent | 99bbf8ec16fca5eeec9d0ddad5f0a5ae169e4218 (diff) | |
download | spoken-tutorial-forums-1626ba1fa8734d8c278246ff9030f4c343ae84f3.tar.gz spoken-tutorial-forums-1626ba1fa8734d8c278246ff9030f4c343ae84f3.tar.bz2 spoken-tutorial-forums-1626ba1fa8734d8c278246ff9030f4c343ae84f3.zip |
fixed slider speed, and button display
-rw-r--r-- | forums/wsgi.py | 4 | ||||
-rw-r--r-- | static/website/templates/index.html | 4 | ||||
-rw-r--r-- | static/website/templates/latest_question.html | 4 | ||||
-rw-r--r-- | website/templatetags/recent_posts.html | 0 |
4 files changed, 7 insertions, 5 deletions
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 @@ <small class="latest"> Be the first to ask question. </small> - <a class="btn btn-xs btn-block btn-primary" disabled="disabled" href="#">View previous questions</a> + <a class="btn btn-block btn-xs"> + No questions to display + </a> {% endif %} diff --git a/website/templatetags/recent_posts.html b/website/templatetags/recent_posts.html deleted file mode 100644 index e69de29..0000000 --- a/website/templatetags/recent_posts.html +++ /dev/null |