diff options
author | Prabhu Ramachandran | 2017-01-19 21:08:08 +0530 |
---|---|---|
committer | GitHub | 2017-01-19 21:08:08 +0530 |
commit | 5ed80c15d3b6a006d94769a1c298256d6f921c6c (patch) | |
tree | 36ede53c888243c8f93dde3ee1be452840fff4e7 | |
parent | e75d5e67bc129c0d55ce94496ef4636c80dba0eb (diff) | |
parent | a0159b6c71927e61919afa1ff36dfa35f26029ef (diff) | |
download | online_test-5ed80c15d3b6a006d94769a1c298256d6f921c6c.tar.gz online_test-5ed80c15d3b6a006d94769a1c298256d6f921c6c.tar.bz2 online_test-5ed80c15d3b6a006d94769a1c298256d6f921c6c.zip |
Merge pull request #182 from ankitjavalkar/code-error-ui
Add minor UI change when displaying Code question errors
-rw-r--r-- | yaksh/templates/exam.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/yaksh/templates/exam.html b/yaksh/templates/exam.html index 19d760a..101f3f3 100644 --- a/yaksh/templates/exam.html +++ b/yaksh/templates/exam.html @@ -26,7 +26,7 @@ </nav><!-- /.navbar --> {% endblock %} {% block content %} -<div class="row"> +<div class="container-fluid"> <div class="col-sm-3 col-md-2 sidebar"> <p> Question Navigator </p> <ul class="pagination pagination-sm"> @@ -50,13 +50,13 @@ </div> <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main"> <div class="row"> - <div class="col-md-8"> + <div class="row"> {% block main %} {% endblock %} </div> {% if question.type == 'code' %} {% if error_message %} - <div class="col-md-4"> + <div class="row"> {% for error in error_message %} {% if error == "Correct answer" %} <div class="panel panel-success"> |