summaryrefslogtreecommitdiff
path: root/grades/templates/add_grades.html
diff options
context:
space:
mode:
authorPalaparthy Adityachandra2021-02-08 09:37:18 +0530
committerGitHub2021-02-08 09:37:18 +0530
commit1206e886588b3d7e8dfe5fb88a6891e85c5b73ee (patch)
treeda2620ee519b68cfad42b2169b2a79cbccd3734d /grades/templates/add_grades.html
parent7448e1fa32f4e5af14a3af6b9196d6e1983edf55 (diff)
parentfca319fefcd2a0e476415968b18873b0c791a5fe (diff)
downloadonline_test-1206e886588b3d7e8dfe5fb88a6891e85c5b73ee.tar.gz
online_test-1206e886588b3d7e8dfe5fb88a6891e85c5b73ee.tar.bz2
online_test-1206e886588b3d7e8dfe5fb88a6891e85c5b73ee.zip
Merge pull request #814 from adityacp/code_refactors
Code Refactor
Diffstat (limited to 'grades/templates/add_grades.html')
-rw-r--r--grades/templates/add_grades.html10
1 files changed, 5 insertions, 5 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 %}