diff --git a/static/js/topic.js b/static/js/topic.js index 6a97ba8..fd4e280 100644 --- a/static/js/topic.js +++ b/static/js/topic.js @@ -32,7 +32,7 @@ function updateQuestion(response) { new_question(params["type"], params["question"], params["tries"], params["progress"]); break; case "finished_topic": - $('#submit').hide(); + $('#submit, #comments, #solution').remove(); $("#content").html(response["params"]["question"]); $('#topic_progress').css('width', '100%').attr('aria-valuenow', 100); $("#content").animateCSS('tada'); diff --git a/templates/topic.html b/templates/topic.html index 99e884c..a1aa357 100644 --- a/templates/topic.html +++ b/templates/topic.html @@ -77,22 +77,30 @@
-
-
-
-
- {% module xsrf_form_html() %} -
-
+ + +
+
+ {% module xsrf_form_html() %} +
+
+ +
+
-
-
+ + + + -
- +
- -
-
+ +
+ + + +
-- libgit2 0.21.2