summaryrefslogtreecommitdiff
path: root/templates/exam/index.html
diff options
context:
space:
mode:
authorPrabhu Ramachandran2011-11-08 02:10:03 +0530
committerPrabhu Ramachandran2011-11-08 02:10:03 +0530
commitec738bb79132a581a1778187a55632983d1fcb53 (patch)
treed9491ee26367bb504143f5b5bd3a392160c2dbbb /templates/exam/index.html
downloadonline_test-ec738bb79132a581a1778187a55632983d1fcb53.tar.gz
online_test-ec738bb79132a581a1778187a55632983d1fcb53.tar.bz2
online_test-ec738bb79132a581a1778187a55632983d1fcb53.zip
NEW: First cut of exam app.
This application allows us to create questions via the admin interface. The questions are proper programming questions and one enters test cases for each question. The user logs in and submits the answer which is checked. The app is rather simple now but does work.
Diffstat (limited to 'templates/exam/index.html')
-rw-r--r--templates/exam/index.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/exam/index.html b/templates/exam/index.html
new file mode 100644
index 0000000..5470cf5
--- /dev/null
+++ b/templates/exam/index.html
@@ -0,0 +1,12 @@
+<p> Welcome to the Examination. </p>
+<br></br>
+
+{% if question_list %}
+ <ul>
+ {% for question in question_list %}
+ <li> <a href="/exam/{{ question.id }}/">{{ question.summary }} </a> </li>
+ {% endfor %}
+ </ul>
+{% else %}
+ <p> Lucky you, no questions available.</p>
+{% endif %}