templates/open_quiz.html
author nishanth
Thu, 22 Apr 2010 05:41:35 +0530
changeset 48 aae2f69ba89c
parent 34 8d0d82c981b3
child 63 21cdadb1b98e
permissions -rw-r--r--
updated the que_dump template to show the question properly.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
25
4143a8f90b00 added open quiz functionality
nishanth
parents:
diff changeset
     1
{% extends 'base.html' %}
4143a8f90b00 added open quiz functionality
nishanth
parents:
diff changeset
     2
{% block content %}
4143a8f90b00 added open quiz functionality
nishanth
parents:
diff changeset
     3
	{% if success %}
34
8d0d82c981b3 added "return to admin page" link in open_quiz page
nishanth
parents: 25
diff changeset
     4
	The quiz {{quiz_name}} has been successfully opened.<br />
8d0d82c981b3 added "return to admin page" link in open_quiz page
nishanth
parents: 25
diff changeset
     5
	<a href="/event/admin/{{admin_key}}">Return to admin page</a>
25
4143a8f90b00 added open quiz functionality
nishanth
parents:
diff changeset
     6
	{% else %}
4143a8f90b00 added open quiz functionality
nishanth
parents:
diff changeset
     7
	Select the quiz to open.
4143a8f90b00 added open quiz functionality
nishanth
parents:
diff changeset
     8
	<form action="" method="post">
4143a8f90b00 added open quiz functionality
nishanth
parents:
diff changeset
     9
	<select name="quiz_num">
4143a8f90b00 added open quiz functionality
nishanth
parents:
diff changeset
    10
	<option value="11">Day 1 Quiz 1</option>
4143a8f90b00 added open quiz functionality
nishanth
parents:
diff changeset
    11
	<option value="12">Day 1 Quiz 2</option>
4143a8f90b00 added open quiz functionality
nishanth
parents:
diff changeset
    12
	<option value="21">Day 2 Quiz 1</option>
4143a8f90b00 added open quiz functionality
nishanth
parents:
diff changeset
    13
	</select>
4143a8f90b00 added open quiz functionality
nishanth
parents:
diff changeset
    14
	<input type="submit" value="Open">
4143a8f90b00 added open quiz functionality
nishanth
parents:
diff changeset
    15
	</form>
4143a8f90b00 added open quiz functionality
nishanth
parents:
diff changeset
    16
	{% endif %}
4143a8f90b00 added open quiz functionality
nishanth
parents:
diff changeset
    17
{% endblock %}