summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradityacp2017-03-10 11:15:05 +0530
committeradityacp2017-03-10 11:15:05 +0530
commit508a576ccfb63169c24056ded25f742bdcd186f2 (patch)
treee9d2d4db35d7aa40afec4853e31e834529d70063
parent2da746134de706e82f848ef975da229f9f15d64e (diff)
downloadonline_test-508a576ccfb63169c24056ded25f742bdcd186f2.tar.gz
online_test-508a576ccfb63169c24056ded25f742bdcd186f2.tar.bz2
online_test-508a576ccfb63169c24056ded25f742bdcd186f2.zip
Add a link to download sample zip file
-rw-r--r--yaksh/templates/yaksh/showquestions.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/yaksh/templates/yaksh/showquestions.html b/yaksh/templates/yaksh/showquestions.html
index 3668c9e..73612d5 100644
--- a/yaksh/templates/yaksh/showquestions.html
+++ b/yaksh/templates/yaksh/showquestions.html
@@ -10,11 +10,16 @@
{% block content %}
+<h4>Please Download Sample Zip file to view zip file contents before uploading
+Questions</h4>
+<a href="{{URL_ROOT}}/exam/manage/download_demo_question">Sample Zip File</a>
+<br><br>
<h4>Upload ZIP file for adding questions</h4>
<form action="" method="post" enctype="multipart/form-data">
{% csrf_token %}
{{ upload_form.as_p }}
-<button class="btn btn-primary" type="submit" name="upload" value="upload">Upload File <span class="glyphicon glyphicon-open"></span></button>
+<button class="btn btn-primary" type="submit" name="upload" value="upload">
+Upload File <span class="glyphicon glyphicon-open"></span></button>
</form>
{% if message %}
<h4>{{ message }}</h4>
@@ -22,6 +27,7 @@
{% if msg %}
<h4>{{ msg }}</h4>
{% endif %}
+<br><br>
<form name=frm action="" method="post">
{% csrf_token %}
<div class="row" id="selectors">