diff options
author | adityacp | 2020-03-04 17:11:20 +0530 |
---|---|---|
committer | adityacp | 2020-03-04 17:11:20 +0530 |
commit | 674c81d9e1d3499e255e8995701fb65d1358a0ac (patch) | |
tree | 72a46393825b06607cc81cc0c8d3af1f50babbbf /yaksh/templates | |
parent | f85fbae3c76595a8f2039a60c0e7051d39dfe643 (diff) | |
download | online_test-674c81d9e1d3499e255e8995701fb65d1358a0ac.tar.gz online_test-674c81d9e1d3499e255e8995701fb65d1358a0ac.tar.bz2 online_test-674c81d9e1d3499e255e8995701fb65d1358a0ac.zip |
Change settings
- Add messages in grading systems page
- Add password validator in settings
- Fix naming in templates
Diffstat (limited to 'yaksh/templates')
-rw-r--r-- | yaksh/templates/yaksh/add_course.html | 2 | ||||
-rw-r--r-- | yaksh/templates/yaksh/add_quiz.html | 12 | ||||
-rw-r--r-- | yaksh/templates/yaksh/courses.html | 2 | ||||
-rw-r--r-- | yaksh/templates/yaksh/lessons.html | 2 | ||||
-rw-r--r-- | yaksh/templates/yaksh/modules.html | 2 | ||||
-rw-r--r-- | yaksh/templates/yaksh/quizzes.html | 2 |
6 files changed, 12 insertions, 10 deletions
diff --git a/yaksh/templates/yaksh/add_course.html b/yaksh/templates/yaksh/add_course.html index 72403ce..97c6f56 100644 --- a/yaksh/templates/yaksh/add_course.html +++ b/yaksh/templates/yaksh/add_course.html @@ -23,7 +23,7 @@ </li> <li class="nav-item"> <a class="nav-link active" href="{% url 'yaksh:add_course' %}"> - Add New Course + Add/Edit Course </a> </li> <li class="nav-item dropdown hide"> diff --git a/yaksh/templates/yaksh/add_quiz.html b/yaksh/templates/yaksh/add_quiz.html index 57b4d77..5497eeb 100644 --- a/yaksh/templates/yaksh/add_quiz.html +++ b/yaksh/templates/yaksh/add_quiz.html @@ -14,6 +14,12 @@ <script src="{% static 'yaksh/js/jquery-3.3.1.min.js' %}"></script> <script src="{% static 'yaksh/js/add_quiz.js' %}"></script> <script src="{% static 'yaksh/js/jquery.datetimepicker.full.min.js' %}"></script> +<script type="text/javascript"> + $(document).ready(function() { + $("#id_start_date_time").datetimepicker({format: 'Y-m-d H:i:s'}); + $("#id_end_date_time").datetimepicker({format: 'Y-m-d H:i:s'}); + }); +</script> {% endblock %} {% block onload %} onload="javascript:test();" {% endblock %} @@ -44,13 +50,9 @@ <form name=frm id=frm action="" method="post" > {% csrf_token %} <center> - <table class="table"> + <table class="table table-responsive-sm"> {{ form.as_table }} </table> - <script type="text/javascript"> - $("#id_start_date_time").datetimepicker({format: 'Y-m-d H:i:s'}); - $("#id_end_date_time").datetimepicker({format: 'Y-m-d H:i:s'}); - </script> <br/> <button class="btn btn-success btn-lg" id="submit" name="questionpaper"> <i class="fa fa-save"> Save</i> diff --git a/yaksh/templates/yaksh/courses.html b/yaksh/templates/yaksh/courses.html index 0eb9a38..33d44ac 100644 --- a/yaksh/templates/yaksh/courses.html +++ b/yaksh/templates/yaksh/courses.html @@ -29,7 +29,7 @@ </li> <li class="nav-item"> <a class="nav-link" href="{% url 'yaksh:add_course' %}"> - Add New Course + Add/Edit Course </a> </li> <li class="nav-item dropdown hide"> diff --git a/yaksh/templates/yaksh/lessons.html b/yaksh/templates/yaksh/lessons.html index 0146a6b..4b5d18e 100644 --- a/yaksh/templates/yaksh/lessons.html +++ b/yaksh/templates/yaksh/lessons.html @@ -13,7 +13,7 @@ </li> <li class="nav-item"> <a class="nav-link" href="{% url 'yaksh:add_course' %}"> - Add New Course + Add/Edit Course </a> </li> <li class="nav-item dropdown hide"> diff --git a/yaksh/templates/yaksh/modules.html b/yaksh/templates/yaksh/modules.html index 4fafbf1..e835cff 100644 --- a/yaksh/templates/yaksh/modules.html +++ b/yaksh/templates/yaksh/modules.html @@ -14,7 +14,7 @@ </li> <li class="nav-item"> <a class="nav-link" href="{% url 'yaksh:add_course' %}"> - Add New Course + Add/Edit Course </a> </li> <li class="nav-item dropdown hide"> diff --git a/yaksh/templates/yaksh/quizzes.html b/yaksh/templates/yaksh/quizzes.html index 7e53d31..9b40647 100644 --- a/yaksh/templates/yaksh/quizzes.html +++ b/yaksh/templates/yaksh/quizzes.html @@ -14,7 +14,7 @@ </li> <li class="nav-item"> <a class="nav-link" href="{% url 'yaksh:add_course' %}"> - Add New Course + Add/Edit Course </a> </li> <li class="nav-item dropdown hide"> |