diff options
author | adityacp | 2016-04-15 11:40:25 +0530 |
---|---|---|
committer | adityacp | 2016-05-04 22:47:34 +0530 |
commit | d53feb82cdd74e25045171acf70e513729ba993c (patch) | |
tree | 70af917cb9909adea89367461ca8c6212b7440df /yaksh/templates | |
parent | 8841e5ed4f8f79b7067ddb3523f4a3ec50f362b3 (diff) | |
download | online_test-d53feb82cdd74e25045171acf70e513729ba993c.tar.gz online_test-d53feb82cdd74e25045171acf70e513729ba993c.tar.bz2 online_test-d53feb82cdd74e25045171acf70e513729ba993c.zip |
rebase changes
Diffstat (limited to 'yaksh/templates')
-rw-r--r-- | yaksh/templates/yaksh/showquestions.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/yaksh/templates/yaksh/showquestions.html b/yaksh/templates/yaksh/showquestions.html index ca51d1a..ba96728 100644 --- a/yaksh/templates/yaksh/showquestions.html +++ b/yaksh/templates/yaksh/showquestions.html @@ -10,6 +10,18 @@ {% endblock %} {% block manage %} + +{% if questions %} +<a href="{{URL_ROOT}}/exam/manage/download_questions/">Download Questions</a><br> +{% endif %} + +<h4>Upload csv file for adding questions</h4> +<form action="{{URL_ROOT}}/exam/manage/upload_questions/" method="post" enctype="multipart/form-data"> +{% csrf_token %} +{{ upload_form.as_p }} +<button class="btn" type="submit">Upload File</button> +</form> + <form name=frm action="" method="post"> {% csrf_token %} <div class="row" id="selectors"> @@ -31,6 +43,7 @@ </div> </div> <br> + <div id="filtered-questions"> {% for i in questions %} <input type="checkbox" name="question" value="{{ i.id }}"> <a href="{{URL_ROOT}}/exam/manage/addquestion/{{ i.id }}">{{ i }}</a><br> |