diff options
author | Jayaram Pai | 2014-01-24 11:03:35 +0530 |
---|---|---|
committer | Jayaram Pai | 2014-01-24 11:03:35 +0530 |
commit | aa874ae1e64753a926aa6783dea2ad4ccb300973 (patch) | |
tree | 5fc946df3592f9ed5953b724d80302e3206a68aa /static/website | |
parent | 9f7c82e28316490ff479e31eb7b50db1e6ef1cd8 (diff) | |
download | spoken-tutorial-forums-aa874ae1e64753a926aa6783dea2ad4ccb300973.tar.gz spoken-tutorial-forums-aa874ae1e64753a926aa6783dea2ad4ccb300973.tar.bz2 spoken-tutorial-forums-aa874ae1e64753a926aa6783dea2ad4ccb300973.zip |
fixed the ajax notificaion for QuestionDetailsEdit, changed wsgi.py
Diffstat (limited to 'static/website')
-rw-r--r-- | static/website/css/main.css | 2 | ||||
-rw-r--r-- | static/website/js/thread-user.js | 6 | ||||
-rw-r--r-- | static/website/templates/ajax-tutorials.html | 1 |
3 files changed, 6 insertions, 3 deletions
diff --git a/static/website/css/main.css b/static/website/css/main.css index ab5226f..4f1f495 100644 --- a/static/website/css/main.css +++ b/static/website/css/main.css @@ -151,7 +151,7 @@ table .title a { } .saving, .saved { position: fixed; - z-index: 10; + z-index: 2000; left: 45%; top: 45%; padding: 5px 10px; diff --git a/static/website/js/thread-user.js b/static/website/js/thread-user.js index 189d126..e44448a 100644 --- a/static/website/js/thread-user.js +++ b/static/website/js/thread-user.js @@ -100,7 +100,7 @@ $(document).ready(function() { $question_second_range = $('#id_second_range'); $question_details_ok.click(function() { - console.log($(this).data("qid")); + $saving.show(); var category = $question_category.val(); var tutorial = $question_tutorial.val(); var minute_range = $question_minute_range.val(); @@ -141,7 +141,9 @@ $(document).ready(function() { } else { $(".second_range").hide() } - console.log(data); + $saving.hide(); + $saved.show(); + $saved.fadeOut("slow"); } }); }); diff --git a/static/website/templates/ajax-tutorials.html b/static/website/templates/ajax-tutorials.html index 7429f59..63e6000 100644 --- a/static/website/templates/ajax-tutorials.html +++ b/static/website/templates/ajax-tutorials.html @@ -2,3 +2,4 @@ {% for tutorial in tutorials %} <option value="{{ tutorial.tutorial_name }}">{{ tutorial.tutorial_name }}</option> {% endfor %} +<option value="General">General Question</option> |