summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
-rw-r--r--static/website/css/main.css2
-rw-r--r--static/website/js/thread-user.js6
-rw-r--r--static/website/templates/ajax-tutorials.html1
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>