summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradityacp2016-12-01 16:00:14 +0530
committeradityacp2016-12-01 16:00:14 +0530
commit4b501a76d19e0ecbb2f75d4e2402a24a3bb47429 (patch)
treedce9377bd7ce6422618b33969201fa1b0312857e
parent134ae5e8ecdb5ff4aa6366d3081c7cd6d985fcb6 (diff)
downloadonline_test-4b501a76d19e0ecbb2f75d4e2402a24a3bb47429.tar.gz
online_test-4b501a76d19e0ecbb2f75d4e2402a24a3bb47429.tar.bz2
online_test-4b501a76d19e0ecbb2f75d4e2402a24a3bb47429.zip
removed extra html tag and changed alignment of rendered text
-rw-r--r--yaksh/static/yaksh/js/add_quiz.js2
-rw-r--r--yaksh/templates/yaksh/add_quiz.html1
2 files changed, 1 insertions, 2 deletions
diff --git a/yaksh/static/yaksh/js/add_quiz.js b/yaksh/static/yaksh/js/add_quiz.js
index e06c863..f4067ed 100644
--- a/yaksh/static/yaksh/js/add_quiz.js
+++ b/yaksh/static/yaksh/js/add_quiz.js
@@ -7,7 +7,7 @@ function test()
{
document.getElementById("submit").innerHTML = "Save";
}
- var template = "<p id='rendered_text'></p>";
+ var template = "<p id='rendered_text' align='justify'></p>";
$(template).insertBefore("#id_instructions");
$('#id_instructions').keypress(function (event){
document.getElementById('rendered_text').innerHTML = document.getElementById('id_instructions').value ;
diff --git a/yaksh/templates/yaksh/add_quiz.html b/yaksh/templates/yaksh/add_quiz.html
index b3b49ae..38773b5 100644
--- a/yaksh/templates/yaksh/add_quiz.html
+++ b/yaksh/templates/yaksh/add_quiz.html
@@ -25,7 +25,6 @@
$("#id_start_date_time").datetimepicker({format: 'Y-m-d H:i:s'});
$("#id_end_date_time").datetimepicker({format: 'Y-m-d H:i:s'});
</script>
- </table>
<br/><br/>
</center>