diff options
author | maheshgudi | 2016-05-10 17:51:42 +0530 |
---|---|---|
committer | maheshgudi | 2016-05-27 12:43:12 +0530 |
commit | df0595e1f3d3dbb2b1a11967fdac053e089a714e (patch) | |
tree | 3cc2225123608e167d42628b844a864e0515d619 | |
parent | 04a4189f5c5786ff121a68f8f191505bbbde0603 (diff) | |
download | online_test-df0595e1f3d3dbb2b1a11967fdac053e089a714e.tar.gz online_test-df0595e1f3d3dbb2b1a11967fdac053e089a714e.tar.bz2 online_test-df0595e1f3d3dbb2b1a11967fdac053e089a714e.zip |
added test mode buttons in addquiz
-rw-r--r-- | yaksh/templates/yaksh/add_quiz.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/yaksh/templates/yaksh/add_quiz.html b/yaksh/templates/yaksh/add_quiz.html index c47d1f7..8c3df63 100644 --- a/yaksh/templates/yaksh/add_quiz.html +++ b/yaksh/templates/yaksh/add_quiz.html @@ -22,4 +22,9 @@ <center><button class="btn" type="submit" id="submit" name="questionpaper">Design Question Paper</button> <button class="btn" type="button" name="button" onClick='location.replace("{{URL_ROOT}}/exam/manage/courses/");'>Cancel</button> </center> </form> +{% if quiz_id %} + <p>You can check the quiz by attempting it in the following modes:</p> + <button class="btn" type="button" name="button" onClick='location.replace("{{URL_ROOT}}/exam/manage/usermode/{{quiz_id}}");'>User Mode</button> </center> + <button class="btn" type="button" name="button" onClick='location.replace("{{URL_ROOT}}/exam/manage/godmode/{{quiz_id}}");'>God Mode</button> </center> + {% endif %} {% endblock %} |