diff options
Diffstat (limited to 'yaksh/templates')
-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/grade_user.html | 4 | ||||
-rw-r--r-- | yaksh/templates/yaksh/showusers.html | 26 | ||||
-rw-r--r-- | yaksh/templates/yaksh/view_answerpaper.html | 2 |
8 files changed, 3 insertions, 40 deletions
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/grade_user.html b/yaksh/templates/yaksh/grade_user.html index 8430e91..2e5a403 100644 --- a/yaksh/templates/yaksh/grade_user.html +++ b/yaksh/templates/yaksh/grade_user.html @@ -62,7 +62,7 @@ $(document).ready(function() {% if has_quiz_assignments %} -<a href="{{URL_ROOT}}/exam/manage/download/quiz_assignments/{{quiz_id}}/"> +<a href="{{URL_ROOT}}/exam/manage/download/quiz_assignments/{{quiz_id}}/{{course_id}}"> Download All Assignments</a> {% endif %} @@ -194,7 +194,7 @@ Status : <b style="color: red;"> Failed </b><br/> <h5>Student answer: </h5> {% if question.type == "upload" %} {% if has_user_assignments %} - <a href="{{URL_ROOT}}/exam/manage/download/user_assignment/{{question.id}}/{{data.user.id}}/{{paper.question_paper.quiz.id}}"> + <a href="{{URL_ROOT}}/exam/manage/download/user_assignment/{{question.id}}/{{data.user.id}}/{{paper.question_paper.quiz.id}}/{{course_id}}"> <div class="panel"> Assignment File for {{ data.user.get_full_name.title }} </div> 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 %} diff --git a/yaksh/templates/yaksh/view_answerpaper.html b/yaksh/templates/yaksh/view_answerpaper.html index 7cbec91..8f3fad7 100644 --- a/yaksh/templates/yaksh/view_answerpaper.html +++ b/yaksh/templates/yaksh/view_answerpaper.html @@ -124,7 +124,7 @@ {% endfor %} </div> {% elif question.type == "upload" and has_user_assignment %} - <a href="{{URL_ROOT}}/exam/download/user_assignment/{{question.id}}/{{data.user.id}}/{{paper.question_paper.quiz.id}}"> + <a href="{{URL_ROOT}}/exam/download/user_assignment/{{question.id}}/{{data.user.id}}/{{paper.question_paper.quiz.id}}/{{course_id}}"> <div class="well well-sm"> <div class="panel"> Assignment File for {{ data.user.get_full_name.title }} |