diff options
-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"> |