diff options
Diffstat (limited to 'grades/templates')
-rw-r--r-- | grades/templates/add_grades.html | 10 | ||||
-rw-r--r-- | grades/templates/grading_systems.html | 6 |
2 files changed, 10 insertions, 6 deletions
diff --git a/grades/templates/add_grades.html b/grades/templates/add_grades.html index c7006a9..29da212 100644 --- a/grades/templates/add_grades.html +++ b/grades/templates/add_grades.html @@ -7,8 +7,8 @@ <script type="text/javascript" src="{% static 'yaksh/js/tinymce/js/tinymce/tinymce.min.js' %}"></script> <script type="text/javascript" src="{% static 'yaksh/js/add_grades.js' %}"></script> {% endblock %} -{% block main %} -<html> +{% block content %} +<div class="container-fluid"> <div class="row"> <div class="col-md-8"> <ul class="nav nav-pills" id="course_tabs"> @@ -31,6 +31,7 @@ </div> </div> <hr> +<div class="container"> <a href="{% url 'grades:grading_systems'%}" class="btn btn-primary btn-lg"> View Grading Systems </a> @@ -89,7 +90,6 @@ {{ hidden }} {% endfor %} <b><u>Grade Range {{forloop.counter}}.</u></b> - <div class="container"> <div class="row"> {% for field in form.visible_fields %} <div class="col-sm-3"> @@ -100,7 +100,6 @@ </div> {% endfor %} </div> - </div> {% endfor %} </div> </table> @@ -114,5 +113,6 @@ {% endif %} <br><br> </form> -</html> +</div> +</div> {% endblock %} diff --git a/grades/templates/grading_systems.html b/grades/templates/grading_systems.html index 46b3d30..841b1ad 100644 --- a/grades/templates/grading_systems.html +++ b/grades/templates/grading_systems.html @@ -1,8 +1,9 @@ {% extends "manage.html" %} {% block title %} View Grading Systems {% endblock %} {% block pagetitle %} View Grading Systems {% endblock %} -{% block main %} +{% block content %} <html> +<div class="container-fluid"> <div class="row"> <div class="col-md-8"> <ul class="nav nav-pills" id="course_tabs"> @@ -25,6 +26,7 @@ </div> </div> <hr> + <div class="container"> <a href="{% url 'grades:add_grade' %}" class="btn btn-success btn-lg"> <span class=" fa fa-plus-circle"></span> Add a Grading System </a> @@ -95,5 +97,7 @@ {% endfor %} </table> {% endif %} + </div> +</div> </html> {% endblock %} |