summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCruiseDevice2019-01-25 18:10:32 +0530
committerCruiseDevice2019-04-24 12:26:21 +0530
commit2ef9936c11741bcdc4c1fcf814362cbbe0c47743 (patch)
tree26cd001162c91f9cb7aef9ce2518ffdb04398e75
parent04c0be6064fc45e759a7fd665c5e42344d0f58c4 (diff)
downloadonline_test-2ef9936c11741bcdc4c1fcf814362cbbe0c47743.tar.gz
online_test-2ef9936c11741bcdc4c1fcf814362cbbe0c47743.tar.bz2
online_test-2ef9936c11741bcdc4c1fcf814362cbbe0c47743.zip
Upgrade Jquery version from 1.9.1 to 3.3.1 in all templates
-rw-r--r--yaksh/templates/yaksh/add_exercise.html4
-rw-r--r--yaksh/templates/yaksh/add_module.html2
-rw-r--r--yaksh/templates/yaksh/add_quiz.html2
-rw-r--r--yaksh/templates/yaksh/design_course_session.html2
-rw-r--r--yaksh/templates/yaksh/index.html2
-rw-r--r--yaksh/templates/yaksh/module.html2
-rw-r--r--yaksh/templates/yaksh/unit.html2
-rw-r--r--yaksh/views.py2
8 files changed, 9 insertions, 9 deletions
diff --git a/yaksh/templates/yaksh/add_exercise.html b/yaksh/templates/yaksh/add_exercise.html
index 8ecf283..21ef6cc 100644
--- a/yaksh/templates/yaksh/add_exercise.html
+++ b/yaksh/templates/yaksh/add_exercise.html
@@ -6,10 +6,10 @@
{% block css %}
{% endblock %}
{% block script %}
-<script src="{{ URL_ROOT }}/static/yaksh/js/jquery-1.9.1.min.js"></script>
+<script src="{{ URL_ROOT }}/static/yaksh/js/jquery-3.3.1.min.js"></script>
<script src="{{ URL_ROOT }}/static/yaksh/js/add_quiz.js"></script>
{% endblock %}
-{% block onload %} onload="javascript:test();" {% endblock %}
+{% block onload %} window.onload="javascript:test();" {% endblock %}
{% block content %}
<div class="yakshwell container">
<form name=frm id=frm action="" method="post" >
diff --git a/yaksh/templates/yaksh/add_module.html b/yaksh/templates/yaksh/add_module.html
index a9ab3b2..6b2214b 100644
--- a/yaksh/templates/yaksh/add_module.html
+++ b/yaksh/templates/yaksh/add_module.html
@@ -4,7 +4,7 @@
{% block pagetitle %}<h4>Design Learning Module</h4>{% endblock %}
{% block script %}
-<script src="{{ URL_ROOT }}/static/yaksh/js/jquery-1.9.1.min.js"></script>
+<script src="{{ URL_ROOT }}/static/yaksh/js/jquery-3.3.1.min.js"></script>
<script src="{{ URL_ROOT }}/static/yaksh/js/design_course.js"></script>
<script src="{{ URL_ROOT }}/static/yaksh/js/lesson.js"></script>
<script src="{{ URL_ROOT }}/static/yaksh/js/jquery-ui.js"></script>
diff --git a/yaksh/templates/yaksh/add_quiz.html b/yaksh/templates/yaksh/add_quiz.html
index 0762f10..48d64ce 100644
--- a/yaksh/templates/yaksh/add_quiz.html
+++ b/yaksh/templates/yaksh/add_quiz.html
@@ -7,7 +7,7 @@
<link rel="stylesheet" href="{{ URL_ROOT }}/static/yaksh/css/jquery.datetimepicker.css" type="text/css" />
{% endblock %}
{% block script %}
-<script src="{{ URL_ROOT }}/static/yaksh/js/jquery-1.9.1.min.js"></script>
+<script src="{{ URL_ROOT }}/static/yaksh/js/jquery-3.3.1.min.js"></script>
<script src="{{ URL_ROOT }}/static/yaksh/js/add_quiz.js"></script>
<script src="{{ URL_ROOT }}/static/yaksh/js/jquery.datetimepicker.full.min.js"></script>
{% endblock %}
diff --git a/yaksh/templates/yaksh/design_course_session.html b/yaksh/templates/yaksh/design_course_session.html
index 700d71c..a2d9b08 100644
--- a/yaksh/templates/yaksh/design_course_session.html
+++ b/yaksh/templates/yaksh/design_course_session.html
@@ -5,7 +5,7 @@
{% block pagetitle %}Design Course Session{% endblock %}
{% block script %}
-<script src="{{ URL_ROOT }}/static/yaksh/js/jquery-1.9.1.min.js"></script>
+<script src="{{ URL_ROOT }}/static/yaksh/js/jquery-3.3.1.min.js"></script>
<script src="{{ URL_ROOT }}/static/yaksh/js/design_course.js"></script>
{% endblock %}
diff --git a/yaksh/templates/yaksh/index.html b/yaksh/templates/yaksh/index.html
index a90cf4c..c89405d 100644
--- a/yaksh/templates/yaksh/index.html
+++ b/yaksh/templates/yaksh/index.html
@@ -3,7 +3,7 @@
<link rel="stylesheet" href="static/css/bootstrap.css">
<link rel="stylesheet" href="static/css/bootstrap.min.css">
<link rel="stylesheet" href="static/css/offline.css">
-<script src="static/js/jquery-1.9.1.min.js"></script>
+<script src="static/js/jquery-3.3.1.min.js"></script>
<script src="static/js/bootstrap.min.js"></script>
{% block pagetitle %} {{course.name}} {% endblock %}
<nav class="navbar navbar-inverse navbar-fixed-top">
diff --git a/yaksh/templates/yaksh/module.html b/yaksh/templates/yaksh/module.html
index 2ce5442..6109403 100644
--- a/yaksh/templates/yaksh/module.html
+++ b/yaksh/templates/yaksh/module.html
@@ -3,7 +3,7 @@
<link rel="stylesheet" href="../static/css/bootstrap.css">
<link rel="stylesheet" href="../static/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/css/offline.css">
-<script src="../static/js/jquery-1.9.1.min.js"></script>
+<script src="../static/js/jquery-3.3.1.min.js"></script>
<script src="../static/js/bootstrap.min.js"></script>
<script src="https://vjs.zencdn.net/6.9.0/video.js"></script>
{% block pagetitle %} {{module.name}} {% endblock %}
diff --git a/yaksh/templates/yaksh/unit.html b/yaksh/templates/yaksh/unit.html
index bd34b32..5bf11f1 100644
--- a/yaksh/templates/yaksh/unit.html
+++ b/yaksh/templates/yaksh/unit.html
@@ -4,7 +4,7 @@
<link rel="stylesheet" href="../../static/css/bootstrap.min.css">
<link rel="stylesheet" href="../../static/css/offline.css">
<link rel="stylesheet" href="../../static/css/video-js.css">
-<script src="../../static/js/jquery-1.9.1.min.js"></script>
+<script src="../../static/js/jquery-3.3.1.min.js"></script>
<script src="../../static/js/bootstrap.min.js"></script>
<script src="../../static/js/video.js"></script>
<nav class="navbar navbar-inverse navbar-fixed-top">
diff --git a/yaksh/views.py b/yaksh/views.py
index 7202826..f1ab13b 100644
--- a/yaksh/views.py
+++ b/yaksh/views.py
@@ -2941,7 +2941,7 @@ def download_course(request, course_id):
# Static files required for styling in html template
static_files = {"js": ["bootstrap.min.js",
- "jquery-1.9.1.min.js", "video.js"],
+ "jquery-3.3.1.min.js", "video.js"],
"css": ["bootstrap.min.css",
"video-js.css", "offline.css"],
"images": ["yaksh_banner.png"]}