diff options
Diffstat (limited to 'yaksh')
-rw-r--r-- | yaksh/static/yaksh/js/question_paper_creation.js | 3 | ||||
-rw-r--r-- | yaksh/templates/yaksh/add_course.html | 1 | ||||
-rw-r--r-- | yaksh/templates/yaksh/add_exercise.html | 1 | ||||
-rw-r--r-- | yaksh/templates/yaksh/add_quiz.html | 1 | ||||
-rw-r--r-- | yaksh/templates/yaksh/addteacher.html | 4 | ||||
-rw-r--r-- | yaksh/templates/yaksh/ajax_marks.html | 4 | ||||
-rw-r--r-- | yaksh/templates/yaksh/showusers.html | 26 |
7 files changed, 1 insertions, 39 deletions
diff --git a/yaksh/static/yaksh/js/question_paper_creation.js b/yaksh/static/yaksh/js/question_paper_creation.js index 86294b3..9996f8c 100644 --- a/yaksh/static/yaksh/js/question_paper_creation.js +++ b/yaksh/static/yaksh/js/question_paper_creation.js @@ -3,7 +3,6 @@ $(document).ready(function(){ $qpaper_id = $('#qpaper_id'); $marks = $('#id_marks'); $show = $('#show'); - /* ajax requsts on selectors change */ $question_type.change(function() { this.form.submit(); }); @@ -69,4 +68,4 @@ function append_tag(tag){ else{ tag_name.value = tag.value; } -}
\ No newline at end of file +} diff --git a/yaksh/templates/yaksh/add_course.html b/yaksh/templates/yaksh/add_course.html index 47a637d..b2824d1 100644 --- a/yaksh/templates/yaksh/add_course.html +++ b/yaksh/templates/yaksh/add_course.html @@ -3,7 +3,6 @@ {% block subtitle %}Add Course{% endblock %} {% block css %} -<link rel="stylesheet" href="{{ URL_ROOT }}/static/yaksh/css/question_quiz.css" type="text/css" /> <link rel="stylesheet" href="{{ URL_ROOT }}/static/yaksh/css/jquery.datetimepicker.css" type="text/css" /> {% endblock %} diff --git a/yaksh/templates/yaksh/add_exercise.html b/yaksh/templates/yaksh/add_exercise.html index 77e3ee8..3a4728d 100644 --- a/yaksh/templates/yaksh/add_exercise.html +++ b/yaksh/templates/yaksh/add_exercise.html @@ -4,7 +4,6 @@ {% block subtitle %}Add Exercise{% endblock %} {% block css %} -<link rel="stylesheet" href="{{ URL_ROOT }}/static/yaksh/css/question_quiz.css" type="text/css" /> {% endblock %} {% block script %} <script src="{{ URL_ROOT }}/static/yaksh/js/jquery-1.9.1.min.js"></script> diff --git a/yaksh/templates/yaksh/add_quiz.html b/yaksh/templates/yaksh/add_quiz.html index 684f804..de42377 100644 --- a/yaksh/templates/yaksh/add_quiz.html +++ b/yaksh/templates/yaksh/add_quiz.html @@ -4,7 +4,6 @@ {% block subtitle %}Add Quiz{% endblock %} {% block css %} -<link rel="stylesheet" href="{{ URL_ROOT }}/static/yaksh/css/question_quiz.css" type="text/css" /> <link rel="stylesheet" href="{{ URL_ROOT }}/static/yaksh/css/jquery.datetimepicker.css" type="text/css" /> {% endblock %} {% block script %} diff --git a/yaksh/templates/yaksh/addteacher.html b/yaksh/templates/yaksh/addteacher.html index 478da77..ddc4353 100644 --- a/yaksh/templates/yaksh/addteacher.html +++ b/yaksh/templates/yaksh/addteacher.html @@ -3,10 +3,6 @@ {% block title %} Add teacher {% endblock title %} {% block subtitle %} {{ course.name }} {% endblock %} -{% block css %} -<link rel="stylesheet" media="all" type="text/css" href="{{ URL_ROOT }}/static/yaksh/css/course.css" /> -{% endblock %} - {% block content %} <center><h3>Add Teachers for this course</h3><br></center> <center><h3>Search teacher with username, firstname, lastname, email</h3><br></center> diff --git a/yaksh/templates/yaksh/ajax_marks.html b/yaksh/templates/yaksh/ajax_marks.html deleted file mode 100644 index 716bb88..0000000 --- a/yaksh/templates/yaksh/ajax_marks.html +++ /dev/null @@ -1,4 +0,0 @@ -<option value='select'>Select Marks</option> -{% for mark in marks %} -<option value="{{ mark.0 }}"> {{ mark.0 }} </option> -{% endfor %} diff --git a/yaksh/templates/yaksh/showusers.html b/yaksh/templates/yaksh/showusers.html deleted file mode 100644 index ae91076..0000000 --- a/yaksh/templates/yaksh/showusers.html +++ /dev/null @@ -1,26 +0,0 @@ -{% extends "manage.html" %} - - -{% block subtitle %} -List of Users -{% endblock %} - -{% block css %} -<link rel="stylesheet" href="{{ URL_ROOT }}/static/yaksh/css/showusers.css" type="text/css" /> -{% endblock css %} - - -{% block manage %} -<center><table style="text-align:left;" class=table-class border=3> -<th>Username -<th>First Name -<th>Last Name -<th>Quiz Description -{% for papers in question %} -<tr><td><a href="{{URL_ROOT}}/exam/manage/gradeuser/{{ papers.user.username }}">{{ papers.user.username }}</a><br> - <td >{{ papers.user.first_name.title }} - <td>{{ papers.user.last_name.title }} - <td>{{ papers.question_paper.quiz.description }} -{% endfor %} -</table></center> -{% endblock %} |