diff options
author | adityacp | 2020-01-02 15:56:43 +0530 |
---|---|---|
committer | adityacp | 2020-01-02 15:56:43 +0530 |
commit | eb05d4b0bc3fd0e2ce5160f30251bd9b939ccef6 (patch) | |
tree | 25f1eef83c710353ef31abcf4f5459e32a49ad37 | |
parent | 4273aacf6c56a075eeb20b7ff5cc7bfb62502a8a (diff) | |
download | online_test-eb05d4b0bc3fd0e2ce5160f30251bd9b939ccef6.tar.gz online_test-eb05d4b0bc3fd0e2ce5160f30251bd9b939ccef6.tar.bz2 online_test-eb05d4b0bc3fd0e2ce5160f30251bd9b939ccef6.zip |
Show the grading ranges in a single line
-rw-r--r-- | grades/templates/add_grades.html | 23 | ||||
-rw-r--r-- | yaksh/templates/yaksh/moderator_dashboard.html | 2 |
2 files changed, 14 insertions, 11 deletions
diff --git a/grades/templates/add_grades.html b/grades/templates/add_grades.html index d05a9bb..97c3c47 100644 --- a/grades/templates/add_grades.html +++ b/grades/templates/add_grades.html @@ -60,21 +60,24 @@ {% endfor %} {{ formset.management_form }} <br> - <div class="col-md-4"> + <div class="col"> {% for form in formset %} {% for hidden in form.hidden_fields %} {{ hidden }} {% endfor %} <b><u>Grade Range {{forloop.counter}}.</u></b> - <br> - {% for field in form.visible_fields %} - {% if field.field.widget|is_checkbox %} - {{field.label}} - {% endif %} - {{ field }} - <hr> - {% endfor %} - <br> + <div class="container"> + <div class="row"> + {% for field in form.visible_fields %} + <div class="col-sm-3"> + {% if field.field.widget|is_checkbox %} + {{ field.label_tag }} + {% endif %} + {{ field }} + </div> + {% endfor %} + </div> + </div> {% endfor %} </div> </table> diff --git a/yaksh/templates/yaksh/moderator_dashboard.html b/yaksh/templates/yaksh/moderator_dashboard.html index ff4bcf1..b36bc2d 100644 --- a/yaksh/templates/yaksh/moderator_dashboard.html +++ b/yaksh/templates/yaksh/moderator_dashboard.html @@ -33,12 +33,12 @@ {% endif %} </center> {% with objects as courses %} + <br> {% if not courses %} <div class="alert alert-secondary"> No Courses found. Add a new course or Create demo course </div> {% else %} - <br> {% include "yaksh/paginator.html" %} <br> <div id="accordion"> |