{"action":"created","comment":{"url":"https://api.github.com/repos/FOSSEE/online_test/pulls/comments/69099426","id":69099426,"diff_hunk":"@@ -11,15 +11,41 @@\n {% endblock %}\n {% block onload %} onload=\"javascript:test();\"  {% endblock %}\n {% block manage %}\n+\n <form name=frm id=frm action=\"\" method=\"post\" >\n   {% csrf_token %}\n   <center>\n   <table class=span1>\n   {{ form.as_table }}\n   </table>\n   </center>\n-    \n+\n   <center><button class=\"btn\" type=\"submit\" id=\"submit\" name=\"questionpaper\">Design Question Paper</button>\n+\n   <button class=\"btn\" type=\"button\" name=\"button\" onClick='location.replace(\"{{URL_ROOT}}/exam/manage/courses/\");'>Cancel</button> </center>\n+  \n </form>\n+{% if quiz_id %}\n+\n+    <h5>You can check the quiz by attempting it in the following modes:</h5>\n+    <center>\n+  \t<button class=\"btn\" type=\"button\" name=\"button\" onClick='usermode(\"{{URL_ROOT}}/exam/manage/usermode/{{quiz_id}}\");'>User Mode</button>\n+    \n+  \t<button class=\"btn\" type=\"button\" name=\"button\" onClick='location.replace(\"{{URL_ROOT}}/exam/manage/godmode/{{quiz_id}}\");'>God Mode</button> \n+    <a href=\"\" onclick=\"$('#help').show(); return false;\">Help </a>\n+    </center>\n+    <br/>\n+   <div style=\"display: none;\" id=\"help\">\n+   <ol>\n+   <li><b>User Mode:</b> Attempt quiz the way normal users will attempt i.e. -\n+   <ul>\n+   <li><i>Quiz will have the same duration as that of the original quiz.</li>\n+   <li>Quiz won't start if the course is inactive or the quiz time has expired.</li>\n+   <li>You will be notified about quiz prerequisites.(You can still attempt the quiz though)</i></li>","path":"yaksh/templates/yaksh/add_quiz.html","position":35,"original_position":35,"commit_id":"46c04c3cdd7c7cdb5acd9d8495934df26f469146","original_commit_id":"46c04c3cdd7c7cdb5acd9d8495934df26f469146","user":{"login":"maheshgudi","id":10505209,"avatar_url":"https://avatars.githubusercontent.com/u/10505209?v=3","gravatar_id":"","url":"https://api.github.com/users/maheshgudi","html_url":"https://github.com/maheshgudi","followers_url":"https://api.github.com/users/maheshgudi/followers","following_url":"https://api.github.com/users/maheshgudi/following{/other_user}","gists_url":"https://api.github.com/users/maheshgudi/gists{/gist_id}","starred_url":"https://api.github.com/users/maheshgudi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maheshgudi/subscriptions","organizations_url":"https://api.github.com/users/maheshgudi/orgs","repos_url":"https://api.github.com/users/maheshgudi/repos","events_url":"https://api.github.com/users/maheshgudi/events{/privacy}","received_events_url":"https://api.github.com/users/maheshgudi/received_events","type":"User","site_admin":false},"body":"resolved\r\n","created_at":"2016-06-30T09:15:49Z","updated_at":"2016-06-30T09:15:49Z","html_url":"https://github.com/FOSSEE/online_test/pull/101#discussion_r69099426","pull_request_url":"https://api.github.com/repos/FOSSEE/online_test/pulls/101","_links":{"self":{"href":"https://api.github.com/repos/FOSSEE/online_test/pulls/comments/69099426"},"html":{"href":"https://github.com/FOSSEE/online_test/pull/101#discussion_r69099426"},"pull_request":{"href":"https://api.github.com/repos/FOSSEE/online_test/pulls/101"}}},"pull_request":{"url":"https://api.github.com/repos/FOSSEE/online_test/pulls/101","id":69619461,"html_url":"https://github.com/FOSSEE/online_test/pull/101","diff_url":"https://github.com/FOSSEE/online_test/pull/101.diff","patch_url":"https://github.com/FOSSEE/online_test/pull/101.patch","issue_url":"https://api.github.com/repos/FOSSEE/online_test/issues/101","number":101,"state":"open","locked":false,"title":"Test modes","user":{"login":"maheshgudi","id":10505209,"avatar_url":"https://avatars.githubusercontent.com/u/10505209?v=3","gravatar_id":"","url":"https://api.github.com/users/maheshgudi","html_url":"https://github.com/maheshgudi","followers_url":"https://api.github.com/users/maheshgudi/followers","following_url":"https://api.github.com/users/maheshgudi/following{/other_user}","gists_url":"https://api.github.com/users/maheshgudi/gists{/gist_id}","starred_url":"https://api.github.com/users/maheshgudi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maheshgudi/subscriptions","organizations_url":"https://api.github.com/users/maheshgudi/orgs","repos_url":"https://api.github.com/users/maheshgudi/repos","events_url":"https://api.github.com/users/maheshgudi/events{/privacy}","received_events_url":"https://api.github.com/users/maheshgudi/received_events","type":"User","site_admin":false},"body":"PR for test-modes which includes:\r\n1. Modes for testing quizzes - (God and normal user mode)\r\n2. mode for testing single and multiple selected questions","created_at":"2016-05-11T06:09:37Z","updated_at":"2016-06-30T09:15:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"72f4109a1b750c00f3c8e1121c720df9c89af99c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/FOSSEE/online_test/pulls/101/commits","review_comments_url":"https://api.github.com/repos/FOSSEE/online_test/pulls/101/comments","review_comment_url":"https://api.github.com/repos/FOSSEE/online_test/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FOSSEE/online_test/issues/101/comments","statuses_url":"https://api.github.com/repos/FOSSEE/online_test/statuses/46c04c3cdd7c7cdb5acd9d8495934df26f469146","head":{"label":"maheshgudi:test_modes","ref":"test_modes","sha":"46c04c3cdd7c7cdb5acd9d8495934df26f469146","user":{"login":"maheshgudi","id":10505209,"avatar_url":"https://avatars.githubusercontent.com/u/10505209?v=3","gravatar_id":"","url":"https://api.github.com/users/maheshgudi","html_url":"https://github.com/maheshgudi","followers_url":"https://api.github.com/users/maheshgudi/followers","following_url":"https://api.github.com/users/maheshgudi/following{/other_user}","gists_url":"https://api.github.com/users/maheshgudi/gists{/gist_id}","starred_url":"https://api.github.com/users/maheshgudi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maheshgudi/subscriptions","organizations_url":"https://api.github.com/users/maheshgudi/orgs","repos_url":"https://api.github.com/users/maheshgudi/repos","events_url":"https://api.github.com/users/maheshgudi/events{/privacy}","received_events_url":"https://api.github.com/users/maheshgudi/received_events","type":"User","site_admin":false},"repo":{"id":58518440,"name":"online_test","full_name":"maheshgudi/online_test","owner":{"login":"maheshgudi","id":10505209,"avatar_url":"https://avatars.githubusercontent.com/u/10505209?v=3","gravatar_id":"","url":"https://api.github.com/users/maheshgudi","html_url":"https://github.com/maheshgudi","followers_url":"https://api.github.com/users/maheshgudi/followers","following_url":"https://api.github.com/users/maheshgudi/following{/other_user}","gists_url":"https://api.github.com/users/maheshgudi/gists{/gist_id}","starred_url":"https://api.github.com/users/maheshgudi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maheshgudi/subscriptions","organizations_url":"https://api.github.com/users/maheshgudi/orgs","repos_url":"https://api.github.com/users/maheshgudi/repos","events_url":"https://api.github.com/users/maheshgudi/events{/privacy}","received_events_url":"https://api.github.com/users/maheshgudi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/maheshgudi/online_test","description":"Online quiz/exam taking application. ","fork":true,"url":"https://api.github.com/repos/maheshgudi/online_test","forks_url":"https://api.github.com/repos/maheshgudi/online_test/forks","keys_url":"https://api.github.com/repos/maheshgudi/online_test/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maheshgudi/online_test/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maheshgudi/online_test/teams","hooks_url":"https://api.github.com/repos/maheshgudi/online_test/hooks","issue_events_url":"https://api.github.com/repos/maheshgudi/online_test/issues/events{/number}","events_url":"https://api.github.com/repos/maheshgudi/online_test/events","assignees_url":"https://api.github.com/repos/maheshgudi/online_test/assignees{/user}","branches_url":"https://api.github.com/repos/maheshgudi/online_test/branches{/branch}","tags_url":"https://api.github.com/repos/maheshgudi/online_test/tags","blobs_url":"https://api.github.com/repos/maheshgudi/online_test/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maheshgudi/online_test/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maheshgudi/online_test/git/refs{/sha}","trees_url":"https://api.github.com/repos/maheshgudi/online_test/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maheshgudi/online_test/statuses/{sha}","languages_url":"https://api.github.com/repos/maheshgudi/online_test/languages","stargazers_url":"https://api.github.com/repos/maheshgudi/online_test/stargazers","contributors_url":"https://api.github.com/repos/maheshgudi/online_test/contributors","subscribers_url":"https://api.github.com/repos/maheshgudi/online_test/subscribers","subscription_url":"https://api.github.com/repos/maheshgudi/online_test/subscription","commits_url":"https://api.github.com/repos/maheshgudi/online_test/commits{/sha}","git_commits_url":"https://api.github.com/repos/maheshgudi/online_test/git/commits{/sha}","comments_url":"https://api.github.com/repos/maheshgudi/online_test/comments{/number}","issue_comment_url":"https://api.github.com/repos/maheshgudi/online_test/issues/comments{/number}","contents_url":"https://api.github.com/repos/maheshgudi/online_test/contents/{+path}","compare_url":"https://api.github.com/repos/maheshgudi/online_test/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maheshgudi/online_test/merges","archive_url":"https://api.github.com/repos/maheshgudi/online_test/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maheshgudi/online_test/downloads","issues_url":"https://api.github.com/repos/maheshgudi/online_test/issues{/number}","pulls_url":"https://api.github.com/repos/maheshgudi/online_test/pulls{/number}","milestones_url":"https://api.github.com/repos/maheshgudi/online_test/milestones{/number}","notifications_url":"https://api.github.com/repos/maheshgudi/online_test/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maheshgudi/online_test/labels{/name}","releases_url":"https://api.github.com/repos/maheshgudi/online_test/releases{/id}","deployments_url":"https://api.github.com/repos/maheshgudi/online_test/deployments","created_at":"2016-05-11T06:06:42Z","updated_at":"2016-05-11T06:06:43Z","pushed_at":"2016-05-31T19:09:43Z","git_url":"git://github.com/maheshgudi/online_test.git","ssh_url":"git@github.com:maheshgudi/online_test.git","clone_url":"https://github.com/maheshgudi/online_test.git","svn_url":"https://github.com/maheshgudi/online_test","homepage":"http://fossee.in","size":2381,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"FOSSEE:master","ref":"master","sha":"660a8b4f8b21a1e5836536a9db755fcf840ecd63","user":{"login":"FOSSEE","id":703487,"avatar_url":"https://avatars.githubusercontent.com/u/703487?v=3","gravatar_id":"","url":"https://api.github.com/users/FOSSEE","html_url":"https://github.com/FOSSEE","followers_url":"https://api.github.com/users/FOSSEE/followers","following_url":"https://api.github.com/users/FOSSEE/following{/other_user}","gists_url":"https://api.github.com/users/FOSSEE/gists{/gist_id}","starred_url":"https://api.github.com/users/FOSSEE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FOSSEE/subscriptions","organizations_url":"https://api.github.com/users/FOSSEE/orgs","repos_url":"https://api.github.com/users/FOSSEE/repos","events_url":"https://api.github.com/users/FOSSEE/events{/privacy}","received_events_url":"https://api.github.com/users/FOSSEE/received_events","type":"Organization","site_admin":false},"repo":{"id":2734092,"name":"online_test","full_name":"FOSSEE/online_test","owner":{"login":"FOSSEE","id":703487,"avatar_url":"https://avatars.githubusercontent.com/u/703487?v=3","gravatar_id":"","url":"https://api.github.com/users/FOSSEE","html_url":"https://github.com/FOSSEE","followers_url":"https://api.github.com/users/FOSSEE/followers","following_url":"https://api.github.com/users/FOSSEE/following{/other_user}","gists_url":"https://api.github.com/users/FOSSEE/gists{/gist_id}","starred_url":"https://api.github.com/users/FOSSEE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FOSSEE/subscriptions","organizations_url":"https://api.github.com/users/FOSSEE/orgs","repos_url":"https://api.github.com/users/FOSSEE/repos","events_url":"https://api.github.com/users/FOSSEE/events{/privacy}","received_events_url":"https://api.github.com/users/FOSSEE/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FOSSEE/online_test","description":"Online quiz/exam taking application. ","fork":false,"url":"https://api.github.com/repos/FOSSEE/online_test","forks_url":"https://api.github.com/repos/FOSSEE/online_test/forks","keys_url":"https://api.github.com/repos/FOSSEE/online_test/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FOSSEE/online_test/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FOSSEE/online_test/teams","hooks_url":"https://api.github.com/repos/FOSSEE/online_test/hooks","issue_events_url":"https://api.github.com/repos/FOSSEE/online_test/issues/events{/number}","events_url":"https://api.github.com/repos/FOSSEE/online_test/events","assignees_url":"https://api.github.com/repos/FOSSEE/online_test/assignees{/user}","branches_url":"https://api.github.com/repos/FOSSEE/online_test/branches{/branch}","tags_url":"https://api.github.com/repos/FOSSEE/online_test/tags","blobs_url":"https://api.github.com/repos/FOSSEE/online_test/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FOSSEE/online_test/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FOSSEE/online_test/git/refs{/sha}","trees_url":"https://api.github.com/repos/FOSSEE/online_test/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FOSSEE/online_test/statuses/{sha}","languages_url":"https://api.github.com/repos/FOSSEE/online_test/languages","stargazers_url":"https://api.github.com/repos/FOSSEE/online_test/stargazers","contributors_url":"https://api.github.com/repos/FOSSEE/online_test/contributors","subscribers_url":"https://api.github.com/repos/FOSSEE/online_test/subscribers","subscription_url":"https://api.github.com/repos/FOSSEE/online_test/subscription","commits_url":"https://api.github.com/repos/FOSSEE/online_test/commits{/sha}","git_commits_url":"https://api.github.com/repos/FOSSEE/online_test/git/commits{/sha}","comments_url":"https://api.github.com/repos/FOSSEE/online_test/comments{/number}","issue_comment_url":"https://api.github.com/repos/FOSSEE/online_test/issues/comments{/number}","contents_url":"https://api.github.com/repos/FOSSEE/online_test/contents/{+path}","compare_url":"https://api.github.com/repos/FOSSEE/online_test/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FOSSEE/online_test/merges","archive_url":"https://api.github.com/repos/FOSSEE/online_test/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FOSSEE/online_test/downloads","issues_url":"https://api.github.com/repos/FOSSEE/online_test/issues{/number}","pulls_url":"https://api.github.com/repos/FOSSEE/online_test/pulls{/number}","milestones_url":"https://api.github.com/repos/FOSSEE/online_test/milestones{/number}","notifications_url":"https://api.github.com/repos/FOSSEE/online_test/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FOSSEE/online_test/labels{/name}","releases_url":"https://api.github.com/repos/FOSSEE/online_test/releases{/id}","deployments_url":"https://api.github.com/repos/FOSSEE/online_test/deployments","created_at":"2011-11-08T14:02:17Z","updated_at":"2016-06-27T05:22:48Z","pushed_at":"2016-06-10T11:53:20Z","git_url":"git://github.com/FOSSEE/online_test.git","ssh_url":"git@github.com:FOSSEE/online_test.git","clone_url":"https://github.com/FOSSEE/online_test.git","svn_url":"https://github.com/FOSSEE/online_test","homepage":"http://fossee.in","size":2623,"stargazers_count":24,"watchers_count":24,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":27,"mirror_url":null,"open_issues_count":13,"forks":27,"open_issues":13,"watchers":24,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FOSSEE/online_test/pulls/101"},"html":{"href":"https://github.com/FOSSEE/online_test/pull/101"},"issue":{"href":"https://api.github.com/repos/FOSSEE/online_test/issues/101"},"comments":{"href":"https://api.github.com/repos/FOSSEE/online_test/issues/101/comments"},"review_comments":{"href":"https://api.github.com/repos/FOSSEE/online_test/pulls/101/comments"},"review_comment":{"href":"https://api.github.com/repos/FOSSEE/online_test/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FOSSEE/online_test/pulls/101/commits"},"statuses":{"href":"https://api.github.com/repos/FOSSEE/online_test/statuses/46c04c3cdd7c7cdb5acd9d8495934df26f469146"}}}}
{"actor":{"display_login":"maheshgudi"}}