From 861d2cc5e36835f60bace61a919e73b4bd27274b Mon Sep 17 00:00:00 2001
From: parth
Date: Fri, 9 Dec 2011 04:02:19 +0530
Subject: Moved all the apps to testapp folder
---
templates/404.html | 5 ---
templates/500.html | 7 ----
templates/base.html | 25 ------------
templates/exam/complete.html | 12 ------
templates/exam/grade_user.html | 83 --------------------------------------
templates/exam/intro.html | 53 ------------------------
templates/exam/login.html | 20 ----------
templates/exam/monitor.html | 67 -------------------------------
templates/exam/question.html | 91 ------------------------------------------
templates/exam/quit.html | 14 -------
templates/exam/register.html | 17 --------
templates/exam/user_data.html | 84 --------------------------------------
12 files changed, 478 deletions(-)
delete mode 100644 templates/404.html
delete mode 100644 templates/500.html
delete mode 100644 templates/base.html
delete mode 100644 templates/exam/complete.html
delete mode 100644 templates/exam/grade_user.html
delete mode 100644 templates/exam/intro.html
delete mode 100644 templates/exam/login.html
delete mode 100644 templates/exam/monitor.html
delete mode 100644 templates/exam/question.html
delete mode 100644 templates/exam/quit.html
delete mode 100644 templates/exam/register.html
delete mode 100644 templates/exam/user_data.html
(limited to 'templates')
diff --git a/templates/404.html b/templates/404.html
deleted file mode 100644
index 7d33dd3..0000000
--- a/templates/404.html
+++ /dev/null
@@ -1,5 +0,0 @@
-{% extends "base.html" %}
-
-{% block content %}
-The requested page does not exist.
-{% endblock %}
diff --git a/templates/500.html b/templates/500.html
deleted file mode 100644
index d02721f..0000000
--- a/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/templates/base.html b/templates/base.html
deleted file mode 100644
index c2bbabb..0000000
--- a/templates/base.html
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-
-
{{message}}
-You may now close the browser.
- -{% endblock content %} diff --git a/templates/exam/grade_user.html b/templates/exam/grade_user.html deleted file mode 100644 index 75ed2e0..0000000 --- a/templates/exam/grade_user.html +++ /dev/null @@ -1,83 +0,0 @@ -{% extends "base.html" %} - -{% block title %} Grading papers for {{ data.user.get_full_name.title }} {% endblock title %} - -{% block content %} - -
-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 %}
-
-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 }}
-
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. -
- -We hope you enjoy taking this exam.
- - - -{% endblock content %} \ No newline at end of file diff --git a/templates/exam/login.html b/templates/exam/login.html deleted file mode 100644 index 8e6352e..0000000 --- a/templates/exam/login.html +++ /dev/null @@ -1,20 +0,0 @@ -{% extends "base.html" %} - -{% block title %}Login{% endblock title %} - -{% block content %} -Welcome to the Examination. -Please login to proceed.
- - - -New User Registration -{% endblock content %} \ No newline at end of file diff --git a/templates/exam/monitor.html b/templates/exam/monitor.html deleted file mode 100644 index fb6cb58..0000000 --- a/templates/exam/monitor.html +++ /dev/null @@ -1,67 +0,0 @@ -{% extends "base.html" %} - -{% block title %} Quiz results {% endblock title %} - -{% block meta %} {% endblock meta %} - -{% block content %} - -{% if not quizzes and not quiz %} -No quizzes available.
- -{% endif %} - -{# ############################################################### #} -{# This is rendered when we are just viewing exam/monitor #} -{% if quizzes %} -Quiz: {{ quiz_name }}
#} -Number of papers: {{ papers|length }}
- -Name | -Username | -Roll number | -Institute | -Questions answered | -Total marks | -Attempts | -
---|---|---|---|---|---|---|
- {{ paper.user.get_full_name.title }} | -- {{ paper.user.username }} | -{{ paper.profile.roll_number }} | -{{ paper.profile.institute }} | -{{ paper.get_answered_str }} | -{{ paper.get_total_marks }} | -{{ paper.answers.count }} | -
No answer papers so far.
-{% endif %} {# if papers #} -{% endif %} - -Admin - -{% endblock content %} diff --git a/templates/exam/question.html b/templates/exam/question.html deleted file mode 100644 index 8b589b6..0000000 --- a/templates/exam/question.html +++ /dev/null @@ -1,91 +0,0 @@ -{% extends "base.html" %} - -{% block title %} Answer question {% endblock %} - -{% block script %} - -{% endblock script %} - -{% block onload %} onload="update_time()" {% endblock %} - -{% block content %} -{{ question.description|safe }}
-
-(Marks: {{ question.points }})
ERROR:
{{ error_message }}{% endif %} - - - - - -
{{ user.first_name.title }} {{ user.last_name.title }}, -you have {{ paper.questions_left }} question(s) left in {{ quiz_name }}.
- -Time left:
- -Your current answers are saved.
-Are you sure you wish to quit the exam?
- - -{% endblock content %} \ No newline at end of file diff --git a/templates/exam/register.html b/templates/exam/register.html deleted file mode 100644 index 921e7b5..0000000 --- a/templates/exam/register.html +++ /dev/null @@ -1,17 +0,0 @@ -{% extends "base.html" %} - -{% block title %}Registration form {% endblock %} - -{% block content %} -Please provide the following details. - - -{% endblock content %} \ No newline at end of file diff --git a/templates/exam/user_data.html b/templates/exam/user_data.html deleted file mode 100644 index 9fb442a..0000000 --- a/templates/exam/user_data.html +++ /dev/null @@ -1,84 +0,0 @@ -{% extends "base.html" %} - -{% block title %} Data for user {{ data.user.get_full_name.title }} {% endblock title %} - -{% block content %} - -
-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 }}
-
-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 }}
-
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 ... #} -