From 32cde26f9807a29eb1fae0833e353212d43d7802 Mon Sep 17 00:00:00 2001 From: ankitjavalkar Date: Fri, 11 Sep 2015 12:35:09 +0530 Subject: Change app name to 'yaksh' --- testapp/yaksh_app/templates/404.html | 5 - testapp/yaksh_app/templates/500.html | 7 - testapp/yaksh_app/templates/base.html | 46 ----- testapp/yaksh_app/templates/manage.html | 88 --------- testapp/yaksh_app/templates/user.html | 58 ------ .../templates/yaksh_app/add_question.html | 50 ----- .../templates/yaksh_app/add_questionpaper.html | 27 --- .../yaksh_app/templates/yaksh_app/add_quiz.html | 25 --- .../yaksh_app/templates/yaksh_app/ajax_marks.html | 4 - .../templates/yaksh_app/ajax_question_filter.html | 15 -- .../templates/yaksh_app/ajax_questions.html | 31 ---- .../yaksh_app/automatic_questionpaper.html | 87 --------- .../yaksh_app/templates/yaksh_app/complete.html | 33 ---- .../templates/yaksh_app/design_questionpaper.html | 182 ------------------ .../templates/yaksh_app/edit_question.html | 61 ------- .../yaksh_app/templates/yaksh_app/edit_quiz.html | 39 ---- .../templates/yaksh_app/editquestionpaper.html | 21 --- .../yaksh_app/templates/yaksh_app/grade_user.html | 94 ---------- testapp/yaksh_app/templates/yaksh_app/intro.html | 53 ------ testapp/yaksh_app/templates/yaksh_app/login.html | 22 --- .../templates/yaksh_app/manual_questionpaper.html | 79 -------- testapp/yaksh_app/templates/yaksh_app/monitor.html | 69 ------- .../yaksh_app/templates/yaksh_app/question.html | 203 --------------------- testapp/yaksh_app/templates/yaksh_app/quit.html | 35 ---- .../yaksh_app/templates/yaksh_app/quizlist.html | 24 --- .../templates/yaksh_app/quizzes_user.html | 87 --------- .../yaksh_app/templates/yaksh_app/register.html | 20 -- .../templates/yaksh_app/results_user.html | 28 --- .../yaksh_app/templates/yaksh_app/show_quiz.html | 33 ---- .../templates/yaksh_app/showquestionpapers.html | 23 --- .../templates/yaksh_app/showquestions.html | 44 ----- .../yaksh_app/templates/yaksh_app/showusers.html | 26 --- .../yaksh_app/templates/yaksh_app/user_data.html | 80 -------- 33 files changed, 1699 deletions(-) delete mode 100644 testapp/yaksh_app/templates/404.html delete mode 100644 testapp/yaksh_app/templates/500.html delete mode 100644 testapp/yaksh_app/templates/base.html delete mode 100644 testapp/yaksh_app/templates/manage.html delete mode 100644 testapp/yaksh_app/templates/user.html delete mode 100644 testapp/yaksh_app/templates/yaksh_app/add_question.html delete mode 100644 testapp/yaksh_app/templates/yaksh_app/add_questionpaper.html delete mode 100644 testapp/yaksh_app/templates/yaksh_app/add_quiz.html delete mode 100644 testapp/yaksh_app/templates/yaksh_app/ajax_marks.html delete mode 100644 testapp/yaksh_app/templates/yaksh_app/ajax_question_filter.html delete mode 100644 testapp/yaksh_app/templates/yaksh_app/ajax_questions.html delete mode 100644 testapp/yaksh_app/templates/yaksh_app/automatic_questionpaper.html delete mode 100644 testapp/yaksh_app/templates/yaksh_app/complete.html delete mode 100644 testapp/yaksh_app/templates/yaksh_app/design_questionpaper.html delete mode 100644 testapp/yaksh_app/templates/yaksh_app/edit_question.html delete mode 100644 testapp/yaksh_app/templates/yaksh_app/edit_quiz.html delete mode 100644 testapp/yaksh_app/templates/yaksh_app/editquestionpaper.html delete mode 100644 testapp/yaksh_app/templates/yaksh_app/grade_user.html delete mode 100644 testapp/yaksh_app/templates/yaksh_app/intro.html delete mode 100644 testapp/yaksh_app/templates/yaksh_app/login.html delete mode 100644 testapp/yaksh_app/templates/yaksh_app/manual_questionpaper.html delete mode 100644 testapp/yaksh_app/templates/yaksh_app/monitor.html delete mode 100644 testapp/yaksh_app/templates/yaksh_app/question.html delete mode 100644 testapp/yaksh_app/templates/yaksh_app/quit.html delete mode 100644 testapp/yaksh_app/templates/yaksh_app/quizlist.html delete mode 100644 testapp/yaksh_app/templates/yaksh_app/quizzes_user.html delete mode 100644 testapp/yaksh_app/templates/yaksh_app/register.html delete mode 100644 testapp/yaksh_app/templates/yaksh_app/results_user.html delete mode 100644 testapp/yaksh_app/templates/yaksh_app/show_quiz.html delete mode 100644 testapp/yaksh_app/templates/yaksh_app/showquestionpapers.html delete mode 100644 testapp/yaksh_app/templates/yaksh_app/showquestions.html delete mode 100644 testapp/yaksh_app/templates/yaksh_app/showusers.html delete mode 100644 testapp/yaksh_app/templates/yaksh_app/user_data.html (limited to 'testapp/yaksh_app/templates') diff --git a/testapp/yaksh_app/templates/404.html b/testapp/yaksh_app/templates/404.html deleted file mode 100644 index 7d33dd3..0000000 --- a/testapp/yaksh_app/templates/404.html +++ /dev/null @@ -1,5 +0,0 @@ -{% extends "base.html" %} - -{% block content %} -The requested page does not exist. -{% endblock %} diff --git a/testapp/yaksh_app/templates/500.html b/testapp/yaksh_app/templates/500.html deleted file mode 100644 index d02721f..0000000 --- a/testapp/yaksh_app/templates/500.html +++ /dev/null @@ -1,7 +0,0 @@ -{% extends "base.html" %} - -{% block content %} -Internal Server error.
-This event will be reported.
-Sorry for the inconvinience. -{% endblock %} diff --git a/testapp/yaksh_app/templates/base.html b/testapp/yaksh_app/templates/base.html deleted file mode 100644 index 7b91978..0000000 --- a/testapp/yaksh_app/templates/base.html +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - {% block title %} - {% endblock %} - - - {% block meta %} - - - - {% endblock %} - - - {% block css %} - {% endblock %} - - {% block script %} - {% endblock %} - - - -
-
- -
-
-

{% block formtitle %} {% endblock formtitle %}


- {% block content %} - {% endblock %} -
-
-
- -
- - - - diff --git a/testapp/yaksh_app/templates/manage.html b/testapp/yaksh_app/templates/manage.html deleted file mode 100644 index a5b4cf3..0000000 --- a/testapp/yaksh_app/templates/manage.html +++ /dev/null @@ -1,88 +0,0 @@ - - - - {% block title %} - {% endblock %} - - - {% block meta %} - - - - {% endblock %} - - - - {% block css %} - {% endblock %} - - {% block script %} - {% endblock %} - - - -
-
- -
-
-
-
- -
-
- {% block manage %} -

List of quizzes! Click on the given links to have a look at answer papers for a quiz.

-
- - - - - - {% for paper, answer_papers, users_passed, users_failed in users_per_paper %} - - - - - - - {% endfor %} -
QuizTaken ByNo. of users PassedNo. of users Failed
- {{ paper.quiz.description }} - - {{ answer_papers|length }} user(s) - - {{ users_passed }} - - {{ users_failed }} -
-
-
-

Moderator's Dashboard!

-
Click on the button given below to add a new quiz.
- -
-{% endblock %} -
-
-
- -
- - - diff --git a/testapp/yaksh_app/templates/user.html b/testapp/yaksh_app/templates/user.html deleted file mode 100644 index db2dc9e..0000000 --- a/testapp/yaksh_app/templates/user.html +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - {% block title %} - {% endblock %} - - - {% block meta %} - - - - {% endblock %} - - - {% block css %} - {% endblock %} - - {% block script %} - {% endblock %} - - - -
-
-
-

Online Test

- - -
-
-
-
-
- -
-
- {% block manage %} - {% endblock %} -
-
-
- -
- - - diff --git a/testapp/yaksh_app/templates/yaksh_app/add_question.html b/testapp/yaksh_app/templates/yaksh_app/add_question.html deleted file mode 100644 index 4b2d097..0000000 --- a/testapp/yaksh_app/templates/yaksh_app/add_question.html +++ /dev/null @@ -1,50 +0,0 @@ -{% extends "manage.html" %} - - -{% block subtitle %}Add Question{% endblock %} - -{% block css %} - - -{% endblock %} - -{% block script %} - - -{% endblock %} - -{% block onload %} onload='javascript:textareaformat();' {% endblock %} - -{% block manage %} -
- {% csrf_token %} -
- -
Summary: {{ form.summary }}{{ form.summary.errors }} -
Language: {{form.language}}{{form.language.errors}} -
Active: {{ form.active }}{{form.active.errors}}   Type:  {{ form.type }}{{form.type.errors}} -
Points:{{ form.points }}{{ form.points.errors }} -
Rendered:

-
Description: {{ form.description}} {{form.description.errors}} -
Snippet: {{ form.snippet }}{{ form.snippet.errors }}
Tags: {{ form.tags }} -
Options: {{ form.options }} {{form.options.errors}} -
Test: {{ form.test }} {{form.test.errors}} -
Reference Code Path: {{ form.ref_code_path }} {{form.ref_code_path.errors}} - - - {% if formset%} - {{ formset.management_form }} - {% for form in formset %} - {{ form }} - {% endfor %} - {% endif %} - -
-
- -

-
-
- -{% endblock %} - diff --git a/testapp/yaksh_app/templates/yaksh_app/add_questionpaper.html b/testapp/yaksh_app/templates/yaksh_app/add_questionpaper.html deleted file mode 100644 index 049abbe..0000000 --- a/testapp/yaksh_app/templates/yaksh_app/add_questionpaper.html +++ /dev/null @@ -1,27 +0,0 @@ -{% extends "manage.html" %} - - -{% block subtitle %}Design Question Paper{% endblock %} - -{% block css %} - - -{% endblock %} -{% block script %} - - -{% endblock %} - -{% block manage %} - -
-{% csrf_token %} -Select mode to design Question Paper: - -
- -{% endblock %} diff --git a/testapp/yaksh_app/templates/yaksh_app/add_quiz.html b/testapp/yaksh_app/templates/yaksh_app/add_quiz.html deleted file mode 100644 index ded8e9b..0000000 --- a/testapp/yaksh_app/templates/yaksh_app/add_quiz.html +++ /dev/null @@ -1,25 +0,0 @@ -{% extends "manage.html" %} - - -{% block subtitle %}Add Quiz{% endblock %} - -{% block css %} - -{% endblock %} -{% block script %} - -{% endblock %} -{% block onload %} onload="javascript:test();" {% endblock %} -{% block manage %} -
- {% csrf_token %} -
- - {{ form.as_table }} -
-
- -
-
-
-{% endblock %} diff --git a/testapp/yaksh_app/templates/yaksh_app/ajax_marks.html b/testapp/yaksh_app/templates/yaksh_app/ajax_marks.html deleted file mode 100644 index 716bb88..0000000 --- a/testapp/yaksh_app/templates/yaksh_app/ajax_marks.html +++ /dev/null @@ -1,4 +0,0 @@ - -{% for mark in marks %} - -{% endfor %} diff --git a/testapp/yaksh_app/templates/yaksh_app/ajax_question_filter.html b/testapp/yaksh_app/templates/yaksh_app/ajax_question_filter.html deleted file mode 100644 index 11bf660..0000000 --- a/testapp/yaksh_app/templates/yaksh_app/ajax_question_filter.html +++ /dev/null @@ -1,15 +0,0 @@ -
- {% if questions %} -
Select All
- {% endif %} - -
diff --git a/testapp/yaksh_app/templates/yaksh_app/ajax_questions.html b/testapp/yaksh_app/templates/yaksh_app/ajax_questions.html deleted file mode 100644 index e343f9b..0000000 --- a/testapp/yaksh_app/templates/yaksh_app/ajax_questions.html +++ /dev/null @@ -1,31 +0,0 @@ -
- {% if questions %} - - Select All - {% endif %} - -
- -
- -
diff --git a/testapp/yaksh_app/templates/yaksh_app/automatic_questionpaper.html b/testapp/yaksh_app/templates/yaksh_app/automatic_questionpaper.html deleted file mode 100644 index f9c222a..0000000 --- a/testapp/yaksh_app/templates/yaksh_app/automatic_questionpaper.html +++ /dev/null @@ -1,87 +0,0 @@ -{% extends "manage.html" %} - - -{% block subtitle %}Design Question Paper{% endblock %} - -{% block css %} - - - -{% endblock %} -{% block script %} - - -{% endblock %} - -{% block manage %} - -
Automatic mode to design the Question Paper

-
- {% csrf_token %} -
- Tag Conditions: - - - - - - - - - -
- -
- -
Number of question:  
- -
-
-

Below is the list of Questions fetched according to the given tag conditions

-
-
- -
- {% endfor %} -
Summary - Type - Points - Tags - {% for question in data.questions %} - -
{{ question.summary }} {{ question.type }} {{ question.points }} - {% for tag in question.tags.all %} - {{ tag }} - {% endfor %} -
- {% if data.msg %}
{{ data.msg }}
{% endif %} -
- - -{% endblock %} diff --git a/testapp/yaksh_app/templates/yaksh_app/complete.html b/testapp/yaksh_app/templates/yaksh_app/complete.html deleted file mode 100644 index 08abe76..0000000 --- a/testapp/yaksh_app/templates/yaksh_app/complete.html +++ /dev/null @@ -1,33 +0,0 @@ -{% extends "base.html" %} - -{% block title %}Good bye!{% endblock %} - -{% block pagetitle %}Online Test{% endblock %} -{% block content %} -{% csrf_token %} - {% if submitted or unattempted %} -
- - - - -
Submitted Questions - {% if submitted %} - {{ submitted|join:", " }} - {% else %} -

No Questions have been Submitted

- {% endif %} -
Unattempted Questions - {% if unattempted %} - {{ unattempted|join:", " }} - {% else %} -

All Questions have been Submitted

- {% endif %} -
- {% endif %} -

Good bye!

-

{{message}}

-

You may now close the browser.


-
Login Again
-{% endblock content %} diff --git a/testapp/yaksh_app/templates/yaksh_app/design_questionpaper.html b/testapp/yaksh_app/templates/yaksh_app/design_questionpaper.html deleted file mode 100644 index f999cb1..0000000 --- a/testapp/yaksh_app/templates/yaksh_app/design_questionpaper.html +++ /dev/null @@ -1,182 +0,0 @@ -{% extends "manage.html" %} - -{% block subtitle %}Design Question Paper{% endblock %} - -{% block css %} - - - - - -{% endblock %} -{% block script %} - - - - - - -{% endblock %} - -{% block manage %} - -
Manual mode to design the {{lang}} Question Paper

- - -
{% csrf_token %} -
-

Total Marks: 0

-
-
- -
-
Please select Question type and Marks
-
- {{ form.question_type }} -
-
- {{ form.marks }} -
-
-
-
-
-

- - -
-
-
-
-

Select questions to add:

-
-
- Add to paper -
-
-
-
-

Fixed questions currently in paper:

-
-
-
-
-
-
-
- Next > -
- -
- - -
-
-
-
-

Select questions to add to the pool:

-
-
- Add to paper -
-
-
-
-

Pool of questions currently in paper:

-
-
-
-
-
-
- -
- Next > -
-
- -
-
-
Almost finished creating your question paper
-

- - -
- -
-
-
- -
-
-
- - - - - - - - -{% endblock %} diff --git a/testapp/yaksh_app/templates/yaksh_app/edit_question.html b/testapp/yaksh_app/templates/yaksh_app/edit_question.html deleted file mode 100644 index 7aad7de..0000000 --- a/testapp/yaksh_app/templates/yaksh_app/edit_question.html +++ /dev/null @@ -1,61 +0,0 @@ -{% extends "manage.html" %} - -{% block subtitle %}Edit Question{% endblock %} - -{% block css %} - - -{% endblock %} -{% block script %} - - -{% endblock %} - -{% block onload %} onload = 'javascript:textareaformat();' {% endblock %} - -{% block manage %} -
- {% csrf_token %} -

Click on the Question links to edit the question.

- - - - {% for question, test in data_list %} - -
{{question.summary.value}} - - - {% endfor %} -
- - -{% for i in data %} - -{% endfor %} - -
-
- -{% endblock %} diff --git a/testapp/yaksh_app/templates/yaksh_app/edit_quiz.html b/testapp/yaksh_app/templates/yaksh_app/edit_quiz.html deleted file mode 100644 index c8a36e7..0000000 --- a/testapp/yaksh_app/templates/yaksh_app/edit_quiz.html +++ /dev/null @@ -1,39 +0,0 @@ -{% extends "manage.html" %} - - -{% block subtitle %}Edit Quiz(zes){% endblock %} - -{% block css %} - -{% endblock %} - -{% block script %} - -{% endblock %} - -{% block onload %} onload = 'javascript:form_load();' {% endblock %} - -{% block manage %} -
- {% csrf_token %} -
- - {% for form in forms %} -
Start Date: {{ form.start_date}} -
Duration: {{ form.duration }}
{{form.duration.help_text}} -
Active: {{ form.active }} -
Description: {{ form.description }} -
Passing Criteria: {{ form.pass_criteria }}
{{form.pass_criteria.help_text}} -
Language: {{ form.language }} -
Prerequisite: {{ form.prerequisite }} -
- {% endfor %} -
-
-{% for i in data %} - -{% endfor %} -
-
-
-{% endblock %} diff --git a/testapp/yaksh_app/templates/yaksh_app/editquestionpaper.html b/testapp/yaksh_app/templates/yaksh_app/editquestionpaper.html deleted file mode 100644 index 90038b4..0000000 --- a/testapp/yaksh_app/templates/yaksh_app/editquestionpaper.html +++ /dev/null @@ -1,21 +0,0 @@ -{% extends "manage.html" %} - - -{% block subtitle %}Questions in "{{ papers.quiz.description }}"{% endblock %} - -{% block script %} - -{% endblock %} - -{% block manage %} -
-{% csrf_token %} - -{% for i in papers.questions %} -  {{ i.summary}}
-{% endfor %} -
-   - -
-{% endblock %} diff --git a/testapp/yaksh_app/templates/yaksh_app/grade_user.html b/testapp/yaksh_app/templates/yaksh_app/grade_user.html deleted file mode 100644 index 1447337..0000000 --- a/testapp/yaksh_app/templates/yaksh_app/grade_user.html +++ /dev/null @@ -1,94 +0,0 @@ -{% extends "manage.html" %} - -{% block title %} Grading papers for {{ data.user.get_full_name.title }} {% endblock title %} - -{% block subtitle %}Grading papers for {{ data.user.get_full_name.title }}{% endblock %} - -{% block css %} - -{% endblock %} - -{% block script %} - -{% endblock %} -{% block manage %} - -

-Name: {{ data.user.get_full_name.title }} -{% if data.profile %} -(roll number: {{ data.profile.roll_number }})
-{{ data.profile.position }}, -{{ data.profile.department }}, -{{ data.profile.institute }} -{% endif %} -

- -{% if data.papers %} - -{% for paper in data.papers %} - -

Quiz: {{ paper.quiz.description }}

- -

-Questions correctly answered: {{ paper.get_answered_str }}
-Total attempts at questions: {{ paper.answers.count }}
-Marks obtained: {{ paper.get_total_marks }}
-Start time: {{ paper.start_time }}
-

- -{% if paper.answers.count %} -

Answers


-
-{% csrf_token %} -{% for question, answers in paper.get_question_answers.items %} -
-

- Question: {{ question.id }}. {{ question.summary }} (Points: {{ question.points }}) - -Details

-
- -
-
- -{% if question.type == "mcq" %} -
-

Choices: -{% for option in question.options.strip.splitlines %} {{option}}, {% endfor %} -

-

Student answer: {{ answers.0 }}

-{% else %}{# non-mcq questions #} -
-{% for answer in answers %}################################################################################
-{{ answer.answer.strip }}
-# Autocheck: {{ answer.error }}
-{% endfor %}
-{% endif %} {# if question.type #} -{% with answers|last as answer %} -Marks:

-{% endwith %} -
-
-{% endfor %} {# for question, answers ... #} - - -

Teacher comments:

- -
-
- -
-{% endif %} {# if paper.answers.count #} - -{% endfor %} {# for paper in data.papers #} - -{% endif %} {# if data.papers #} - -{% endblock%} diff --git a/testapp/yaksh_app/templates/yaksh_app/intro.html b/testapp/yaksh_app/templates/yaksh_app/intro.html deleted file mode 100644 index 9c5c14d..0000000 --- a/testapp/yaksh_app/templates/yaksh_app/intro.html +++ /dev/null @@ -1,53 +0,0 @@ -{% extends "base.html" %} - -{% block title %}Instructions and Rules {% endblock %} -{% block pagetitle %}Online Test {% endblock %} -{% block formtitle %}Important instructions & rules {% endblock %} -{% block content %} - - {% if enable_quiz_time or disable_quiz_time %} - {% if quiz_expired %} -
- This Quiz has expired. You can no longer attempt this Quiz. -
-
- {% else %} -
- You can attempt this Quiz at any time between {{ enable_quiz_time }} and {{ disable_quiz_time }} -
- You are not allowed to attempt the Quiz before or after this duration -
-
- {% endif %} - {% endif %} -

Welcome {{user.first_name.title}} {{user.last_name.title}}, to the programming quiz!

-

- This examination system has been developed with the intention of making you - learn programming and be assessed in an interactive and fun manner. - You will be presented with a series of programming questions and problems that - you will answer online and get immediate feedback for. -

-

Here are some important instructions and rules that you should understand carefully.

-
    -
  • For any programming questions, you can submit solutions as many times as you want without a penalty. You may skip questions and solve them later. -
  • -
  • You may use your computer's Python/IPython shell or an editor to solve the problem and cut/paste the solution to the web interface. -
  • -
  • You are not allowed to use any internet resources, i.e. no google etc.
  • -
  • Do not copy or share the questions or answers with anyone until the exam is complete for everyone.
  • -
  • All your attempts at the questions are logged. Do not try to outsmart and break the testing system. If you do, we know who you are and we will expell you from the course. You have been warned. -
  • -
-

We hope you enjoy taking this exam !!!

- -
- {% csrf_token %} -
-
- {% if not quiz_expired %} -
- {% csrf_token %} -
-
- {% endif %} -{% endblock content %} diff --git a/testapp/yaksh_app/templates/yaksh_app/login.html b/testapp/yaksh_app/templates/yaksh_app/login.html deleted file mode 100644 index 341d7a7..0000000 --- a/testapp/yaksh_app/templates/yaksh_app/login.html +++ /dev/null @@ -1,22 +0,0 @@ -{% extends "base.html" %} - -{% block title %}Login{% endblock title %} -{% block pagetitle %} Online Test {% endblock %} -{% block formtitle %}Login{% endblock %} -{% block css %} - -{% endblock %} -{% block content %} - -
- {% csrf_token %} - -
- {{ form.as_table }} -
-
    
-
Forgot Password?

-
New User? Sign-Up
-
- -{% endblock content %} diff --git a/testapp/yaksh_app/templates/yaksh_app/manual_questionpaper.html b/testapp/yaksh_app/templates/yaksh_app/manual_questionpaper.html deleted file mode 100644 index 9e2a082..0000000 --- a/testapp/yaksh_app/templates/yaksh_app/manual_questionpaper.html +++ /dev/null @@ -1,79 +0,0 @@ -{% extends "manage.html" %} - - -{% block subtitle %}Design Question Paper{% endblock %} - -{% block css %} - - - -{% endblock %} -{% block script %} - - -{% endblock %} - -{% block manage %} - -
Manual mode to design the Question Paper

- -
- {% csrf_token %} -
- Tag Conditions: - - - - - -
-
-
-

Below is the list of Questions fetched according to the given tag conditions
-
-
- -
- {% endfor %} -
  - Summary - Type - Points - Tags - {% for question in data.questions %} -
{{ question.summary }} {{ question.type }} {{ question.points }} - {% for tag in question.tags.all %} - {{ tag }} - {% endfor %} -
- {% if data.msg %}
{{ data.msg }}
{% endif %} -
- - -{% endblock %} diff --git a/testapp/yaksh_app/templates/yaksh_app/monitor.html b/testapp/yaksh_app/templates/yaksh_app/monitor.html deleted file mode 100644 index 261dffd..0000000 --- a/testapp/yaksh_app/templates/yaksh_app/monitor.html +++ /dev/null @@ -1,69 +0,0 @@ -{% extends "manage.html" %} - -{% block title %} Quiz results {% endblock title %} - -{% block meta %} {% endblock meta %} - -{% block css %} - -{% endblock %} -{% block subtitle %} - {% if not quizzes and not quiz %} - Quiz Results - {% endif %} - {% if quizzes %} - Available Quizzes - {% endif %} - {% if quiz %} - {{ quiz.description }} Results - {% endif %} -{% endblock %} -{% block manage %} - {% if not quizzes and not quiz %} -
No quizzes available.
- {% endif %} - -{# ############################################################### #} -{# This is rendered when we are just viewing exam/monitor #} -{% if quizzes %} - -{% endif %} - -{# ############################################################### #} -{# This is rendered when we are just viewing exam/monitor/quiz_num #} -{% if quiz %} - -{% if papers %} -{#

Quiz: {{ quiz_name }}

#} -

Number of papers: {{ papers|length }}

- - - - - - - - - - - {% for paper in papers %} - - - - - - - - - - {% endfor %} -
Name Username Roll number Institute Questions answered Marks obtained Attempts
{{ paper.user.get_full_name.title }} {{ paper.user.username }} {{ paper.profile.roll_number }} {{ paper.profile.institute }} {{ paper.get_answered_str }} {{ paper.marks_obtained }} {{ paper.answers.count }}
-{% else %} -

No answer papers so far.

-{% endif %} {# if papers #} -{% endif %} -{% endblock %} diff --git a/testapp/yaksh_app/templates/yaksh_app/question.html b/testapp/yaksh_app/templates/yaksh_app/question.html deleted file mode 100644 index 594693c..0000000 --- a/testapp/yaksh_app/templates/yaksh_app/question.html +++ /dev/null @@ -1,203 +0,0 @@ -{% extends "base.html" %} - - - -{% block title %} Answer question {% endblock %} - -{% block css %} - - -{% endblock %} - -{% block script %} - - - - - -{% endblock script %} - - - -{% block onload %} onload="update_time();setSnippetHeight()" {% endblock %} - -{% block pagetitle %} - -
-
You have {{ paper.questions_left }} question(s) left in {{ quiz_name }}
-
-
-
- -{% endblock %} - -{% block content %} -
-
-
-

Online Test

- -
- {% csrf_token %} - - -
-
-
-
-
- -
- -

{{ question.summary }} (Marks : {{ question.points }})


- {{ question.description|safe }} - {% if error_message %} -
- {% for e in error_message.splitlines %} - {{ e|join:"" }} -
- {% endfor%} -
{% endif %} - -

- -
- {% csrf_token %} - - - {% if question.type == "mcq" %} - {% for option in question.options.strip.splitlines %} - {{option}}
- {% endfor %} - {% endif %} - {% if question.type == "upload" %} -

Upload assignment file for the said question

- -


- {% endif %} - {% if question.type == "mcc" %} - {% for option in question.options.strip.splitlines %} - {{ option }} -
- {% endfor %} - {% endif %} - {% if question.type == "code" %} - - - - -
- - - - {% endif %} - - {% if question.type == "mcq" or question.type == "mcc "%} -
   - {% elif question.type == "upload" %} -
   - {% else %} -    - {% endif %} - {% if to_attempt|length != 1 %} - - {% endif %} -
- - - - - -{% endblock content %} diff --git a/testapp/yaksh_app/templates/yaksh_app/quit.html b/testapp/yaksh_app/templates/yaksh_app/quit.html deleted file mode 100644 index 91bce64..0000000 --- a/testapp/yaksh_app/templates/yaksh_app/quit.html +++ /dev/null @@ -1,35 +0,0 @@ -{% extends "base.html" %} - -{% block title %}Quit exam {% endblock %} -{% block pagetitle %}Online Test {% endblock %} -{% block content %} - {% if submitted or unattempted %} -
- - - - -
Submitted Questions - {% if submitted %} - {{ submitted|join:", " }} - {% else %} -

No Questions have been Submitted

- {% endif %} -
Unattempted Questions - {% if unattempted %} - {{ unattempted|join:", " }} - {% else %} -

All Questions have been Submitted

- {% endif %} -
- {% endif %} - -

Your current answers are saved.

-

Are you sure you wish to quit the exam?

-

Be sure, as you won't be able to restart this exam.

-
- {% csrf_token %} -
 
-
-{% endblock content %} diff --git a/testapp/yaksh_app/templates/yaksh_app/quizlist.html b/testapp/yaksh_app/templates/yaksh_app/quizlist.html deleted file mode 100644 index 9b1fd73..0000000 --- a/testapp/yaksh_app/templates/yaksh_app/quizlist.html +++ /dev/null @@ -1,24 +0,0 @@ -{% extends "base.html" %} - -{% block title %} Quiz List {% endblock title %} - -{% block formtitle %} Quiz List {% endblock %} - -{% block pagetitle %} Online Test {% endblock %} - -{% block content %} -{% if not quizzes and not quiz %} -
No quizzes available.
-{% endif %} - -{% if quizzes %} -
-{% csrf_token %} - -{% for quiz in quizzes %} -{{ quiz.description }}
-{% endfor %} -
-{% endif %} - -{% endblock %} diff --git a/testapp/yaksh_app/templates/yaksh_app/quizzes_user.html b/testapp/yaksh_app/templates/yaksh_app/quizzes_user.html deleted file mode 100644 index 94f9d0f..0000000 --- a/testapp/yaksh_app/templates/yaksh_app/quizzes_user.html +++ /dev/null @@ -1,87 +0,0 @@ -{% extends "user.html" %} - - -{% block subtitle %}Hello {{ user.first_name }}, welcome to your dashboard !{% endblock %} - -{% block css %} - -{% endblock %} - -{% block script %} - - -{% endblock %} - - -{% block manage %} - {% if cannot_attempt %} -

You have not passed the prerequisite & hence you cannot take the quiz.

- {% endif %} -

List of quizzes availbale for you

- {% if not quizzes %} -
No active quizzes for you
- {% endif %} - - - - {% for paper in quizzes %} - - {% if paper in unexpired_quizzes %} - - {% else %} - - {% endif %} - - - {% endfor %} -
QuizPre requisite quiz
- {{ paper.quiz.description }}
-
- {{ paper.quiz.description }} Expired
-
- {% if paper.quiz.prerequisite %} - You have to pass {{ paper.quiz.prerequisite.description }} for taking {{ paper.quiz.description }} - {% else %} - No pre requisites for {{ paper.quiz.description }} - {% endif %} -
-
-

List of quizzes taken by you so far

- {% if quizzes_taken %} - - - - - - - {% for paper in quizzes_taken %} - - - - - - - - {% endfor %} -
QuizResultMraks ObtainedTotal MarksPercentage
- {{ paper.question_paper.quiz.description }} - - {% if paper.passed %} -

Pass

- {% else %} -

Fail

- {% endif %} -
- {{ paper.marks_obtained }} - - {{ paper.question_paper.total_marks }} - - {{ paper.percent }} -
- {% else %} -

You have not taken any quiz yet !!

- {% endif %} - - -{% endblock %} - diff --git a/testapp/yaksh_app/templates/yaksh_app/register.html b/testapp/yaksh_app/templates/yaksh_app/register.html deleted file mode 100644 index 5ff79cc..0000000 --- a/testapp/yaksh_app/templates/yaksh_app/register.html +++ /dev/null @@ -1,20 +0,0 @@ -{% extends "base.html" %} - -{% block title %}Registration form {% endblock %} - -{% block pagetitle %}Online Test {% endblock %} -{% block formtitle %}Please fill in the following details {% endblock %} - -{% block content %} - - - -
- {% csrf_token %} -
- {{ form.as_table }} -
-
  
-
- -{% endblock content %} diff --git a/testapp/yaksh_app/templates/yaksh_app/results_user.html b/testapp/yaksh_app/templates/yaksh_app/results_user.html deleted file mode 100644 index fa8284e..0000000 --- a/testapp/yaksh_app/templates/yaksh_app/results_user.html +++ /dev/null @@ -1,28 +0,0 @@ -{% extends "user.html" %} - - -{% block subtitle %}Results{% endblock %} - -{% block css %} - -{% endblock %} - -{% block manage %} -
- {% csrf_token %} -
- - {% for i in paper %} -
Quiz Description - Obtained Marks - Maximum Marks - Percentage - {% for paper in papers %} -
{{ i }} - {% endfor %} -
- {% endfor %} -
-
-{% endblock %} - diff --git a/testapp/yaksh_app/templates/yaksh_app/show_quiz.html b/testapp/yaksh_app/templates/yaksh_app/show_quiz.html deleted file mode 100644 index a3c1c44..0000000 --- a/testapp/yaksh_app/templates/yaksh_app/show_quiz.html +++ /dev/null @@ -1,33 +0,0 @@ -{% extends "manage.html" %} - -{% block title %} Quiz List {% endblock title %} - -{% block script %} - -{% endblock %} - -{% block subtitle %} Quiz List {% endblock %} -{% block manage %} -{% if not quizzes and not quiz %} -
No quizzes available.
-   -{% endif %} - -{# ############################################################### #} -{# This is rendered when we are just viewing exam/monitor #} -{% if quizzes %} -
-{% csrf_token %} - -{% for quiz in quizzes %} -  {{ quiz.description }}
-{% endfor %} - -

-   -   - -
-{% endif %} - -{% endblock %} diff --git a/testapp/yaksh_app/templates/yaksh_app/showquestionpapers.html b/testapp/yaksh_app/templates/yaksh_app/showquestionpapers.html deleted file mode 100644 index 2a04717..0000000 --- a/testapp/yaksh_app/templates/yaksh_app/showquestionpapers.html +++ /dev/null @@ -1,23 +0,0 @@ -{% extends "manage.html" %} - - -{% block subtitle %}List of Question Papers {% endblock %} - -{% block script %} - -{% endblock %} - -{% block manage %} -{% if papers %} -
-{% csrf_token %} -{% for i in papers %} -  {{ i.quiz.description }}
-{% endfor %} -
- -
-{% else %} -

No Question Papers available

-{% endif %} -{% endblock %} diff --git a/testapp/yaksh_app/templates/yaksh_app/showquestions.html b/testapp/yaksh_app/templates/yaksh_app/showquestions.html deleted file mode 100644 index 0c8f9a4..0000000 --- a/testapp/yaksh_app/templates/yaksh_app/showquestions.html +++ /dev/null @@ -1,44 +0,0 @@ -{% extends "manage.html" %} - - -{% block subtitle %}List of Questions {% endblock %} - -{% block script %} - - - -{% endblock %} - -{% block manage %} -
-{% csrf_token %} -
-
Filters
-
- {{ form.question_type }} -
-
- {{ form.language }} -
-
- {{ form.marks }} -
-
-
-
-
- -
-
-
-
-{% for i in questions %} -  {{ i }}
-{% endfor %} -
-
-   -   - -
-{% endblock %} diff --git a/testapp/yaksh_app/templates/yaksh_app/showusers.html b/testapp/yaksh_app/templates/yaksh_app/showusers.html deleted file mode 100644 index 7b2bb6d..0000000 --- a/testapp/yaksh_app/templates/yaksh_app/showusers.html +++ /dev/null @@ -1,26 +0,0 @@ -{% extends "manage.html" %} - - -{% block subtitle %} -List of Users -{% endblock %} - -{% block css %} - -{% endblock css %} - - -{% block manage %} -
-
Username -First Name -Last Name -Quiz Description -{% for papers in question %} -
{{ papers.user.username }}
-
{{ papers.user.first_name.title }} - {{ papers.user.last_name.title }} - {{ papers.question_paper.quiz.description }} -{% endfor %} -
-{% endblock %} diff --git a/testapp/yaksh_app/templates/yaksh_app/user_data.html b/testapp/yaksh_app/templates/yaksh_app/user_data.html deleted file mode 100644 index 61a3a97..0000000 --- a/testapp/yaksh_app/templates/yaksh_app/user_data.html +++ /dev/null @@ -1,80 +0,0 @@ -{% extends "manage.html" %} - -{% block title %} Data for user {{ data.user.get_full_name.title }} {% endblock title %} - -{% block manage %} - -{% block subtitle %}Data for user {{ data.user.get_full_name.title }}{% endblock %} -
-

-Name: {{ data.user.get_full_name.title }}
-Username: {{ data.user.username }}
-{% if data.profile %} -Roll number: {{ data.profile.roll_number }}
-Position: {{ data.profile.position }}
-Department: {{ data.profile.department }}
-Institute: {{ data.profile.institute }}
-{% endif %} -Email: {{ data.user.email }}
-Date joined: {{ data.user.date_joined }}
-Last login: {{ data.user.last_login }} -

- -{% if data.papers %} -

- Grade/correct paper -

- -{% for paper in data.papers %} - -

Quiz: {{ paper.quiz.description }}

- -

-Questions correctly answered: {{ paper.get_answered_str }}
-Total attempts at questions: {{ paper.answers.count }}
-Marks obtained: {{ paper.get_total_marks }}
-Start time: {{ paper.start_time }}
-User IP address: {{ paper.user_ip }} -

- -{% if paper.answers.count %} -

Answers

-{% for question, answers in paper.get_question_answers.items %} -

Question: {{ question.id }}. {{ question.summary }} (Points: {{ question.points }})

-{% if question.type == "mcq" %} -

Choices: -{% for option in question.options.strip.splitlines %} {{option}}, {% endfor %} -

-

Student answer: {{ answers.0 }}

-{% else %}{# non-mcq questions #} -
 
-{% for answer in answers %}################################################################################
-{{ answer.answer.strip }}
-# Autocheck: {{ answer.error }}
-{% endfor %}
-{% endif %} -{% with answers|last as answer %} -

Marks: {{answer.marks}}

-{% endwith %} -{% endfor %} {# for question, answers ... #} -

Teacher comments:

-{{ paper.comments|default:"None" }} -{% endif %} {# if paper.answers.count #} - -{% endfor %} {# for paper in data.papers #} - -{% endif %} {# if data.papers #} -
-
- - Grade/correct paper -
-{% if data.papers.count > 1 %} -Monitor quiz -{% else %} -{% with data.papers.0 as paper %} -Monitor quiz -{% endwith %} -{% endif %} - -{% endblock %} -- cgit