{"action":"created","comment":{"url":"https://api.github.com/repos/Morriar/Missions/pulls/comments/78113167","id":78113167,"diff_hunk":"@@ -1,7 +1,76 @@\n-<div class=\"form-group\" ng-controller=\"MissionSubmitCtrl\">\n-\t<form ng-submit=\"submit()\">\n-\t\t<label for=\"source\">Source Code:</label>\n-\t\t<textarea class=\"form-control\" rows=\"15\" id=\"source\" ng-model=\"source\"></textarea>\n-\t\t<input type=\"submit\" id=\"mission-submit\" value=\"submit\" class=\"btn btn-primary btn-lg\" />\n-\t</form>\n+<div>\n+\t<div class='col-xs-12 col-md-6' ng-init='initCodeMirror()'>\n+\t\t<div class='panel panel-default'>\n+\t\t\t<form ng-submit='submit()'>\n+\t\t\t\t<textarea id='source' ng-model=\"source\"></textarea>\n+\t\t\t\t<div class='panel-footer text-right'>\n+\t\t\t\t\t<input type='submit' value='Try code' class='btn btn-success' />\n+\t\t\t\t</div>\n+\t\t\t</form>\n+\t\t</div>\n+\t</div>\n+\t<div class='col-xs-12 col-md-6' ng-if='result'>\n+\t\t<!-- Mission success -->\n+\t\t<div class='panel panel-success' ng-if='result.status == \"success\"'>\n+\t\t\t<div class='panel-body text-center'>\n+\t\t\t\t<h3 class='text-success'>\n+\t\t\t\t\tCongratulations, you accomplished this mission!","path":"www/directives/missions/submit.html","position":23,"original_position":23,"commit_id":"71805cc5fe5e2a469f53437dc237ecf03701eb4b","original_commit_id":"71805cc5fe5e2a469f53437dc237ecf03701eb4b","user":{"login":"Morriar","id":583144,"avatar_url":"https://avatars.githubusercontent.com/u/583144?v=3","gravatar_id":"","url":"https://api.github.com/users/Morriar","html_url":"https://github.com/Morriar","followers_url":"https://api.github.com/users/Morriar/followers","following_url":"https://api.github.com/users/Morriar/following{/other_user}","gists_url":"https://api.github.com/users/Morriar/gists{/gist_id}","starred_url":"https://api.github.com/users/Morriar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Morriar/subscriptions","organizations_url":"https://api.github.com/users/Morriar/orgs","repos_url":"https://api.github.com/users/Morriar/repos","events_url":"https://api.github.com/users/Morriar/events{/privacy}","received_events_url":"https://api.github.com/users/Morriar/received_events","type":"User","site_admin":false},"body":"I'm currently working on a full css/display/text rewrite, next version will be better","created_at":"2016-09-09T00:33:00Z","updated_at":"2016-09-09T00:33:00Z","html_url":"https://github.com/Morriar/Missions/pull/93#discussion_r78113167","pull_request_url":"https://api.github.com/repos/Morriar/Missions/pulls/93","_links":{"self":{"href":"https://api.github.com/repos/Morriar/Missions/pulls/comments/78113167"},"html":{"href":"https://github.com/Morriar/Missions/pull/93#discussion_r78113167"},"pull_request":{"href":"https://api.github.com/repos/Morriar/Missions/pulls/93"}}},"pull_request":{"url":"https://api.github.com/repos/Morriar/Missions/pulls/93","id":84555344,"html_url":"https://github.com/Morriar/Missions/pull/93","diff_url":"https://github.com/Morriar/Missions/pull/93.diff","patch_url":"https://github.com/Morriar/Missions/pull/93.patch","issue_url":"https://api.github.com/repos/Morriar/Missions/issues/93","number":93,"state":"open","locked":false,"title":"New submission frontend","user":{"login":"Morriar","id":583144,"avatar_url":"https://avatars.githubusercontent.com/u/583144?v=3","gravatar_id":"","url":"https://api.github.com/users/Morriar","html_url":"https://github.com/Morriar","followers_url":"https://api.github.com/users/Morriar/followers","following_url":"https://api.github.com/users/Morriar/following{/other_user}","gists_url":"https://api.github.com/users/Morriar/gists{/gist_id}","starred_url":"https://api.github.com/users/Morriar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Morriar/subscriptions","organizations_url":"https://api.github.com/users/Morriar/orgs","repos_url":"https://api.github.com/users/Morriar/repos","events_url":"https://api.github.com/users/Morriar/events{/privacy}","received_events_url":"https://api.github.com/users/Morriar/received_events","type":"User","site_admin":false},"body":"* Use codemirror for code input (@privat I missing the pep8 mode for codemirror ;)\r\n* Show test case and results\r\n* Display expected / produced output diff with diff2html\r\n* Display link to next mission\r\n\r\nThis one is a combo breaker, should close: #55, #58 (some dots), #69 (minus stats), #87","created_at":"2016-09-08T21:15:04Z","updated_at":"2016-09-09T00:33:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7387d94e3b2b0f9ce307c91d8cba23c9b9e5fb7a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Morriar/Missions/pulls/93/commits","review_comments_url":"https://api.github.com/repos/Morriar/Missions/pulls/93/comments","review_comment_url":"https://api.github.com/repos/Morriar/Missions/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Morriar/Missions/issues/93/comments","statuses_url":"https://api.github.com/repos/Morriar/Missions/statuses/71805cc5fe5e2a469f53437dc237ecf03701eb4b","head":{"label":"Morriar:new-submit","ref":"new-submit","sha":"71805cc5fe5e2a469f53437dc237ecf03701eb4b","user":{"login":"Morriar","id":583144,"avatar_url":"https://avatars.githubusercontent.com/u/583144?v=3","gravatar_id":"","url":"https://api.github.com/users/Morriar","html_url":"https://github.com/Morriar","followers_url":"https://api.github.com/users/Morriar/followers","following_url":"https://api.github.com/users/Morriar/following{/other_user}","gists_url":"https://api.github.com/users/Morriar/gists{/gist_id}","starred_url":"https://api.github.com/users/Morriar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Morriar/subscriptions","organizations_url":"https://api.github.com/users/Morriar/orgs","repos_url":"https://api.github.com/users/Morriar/repos","events_url":"https://api.github.com/users/Morriar/events{/privacy}","received_events_url":"https://api.github.com/users/Morriar/received_events","type":"User","site_admin":false},"repo":{"id":65479349,"name":"Missions","full_name":"Morriar/Missions","owner":{"login":"Morriar","id":583144,"avatar_url":"https://avatars.githubusercontent.com/u/583144?v=3","gravatar_id":"","url":"https://api.github.com/users/Morriar","html_url":"https://github.com/Morriar","followers_url":"https://api.github.com/users/Morriar/followers","following_url":"https://api.github.com/users/Morriar/following{/other_user}","gists_url":"https://api.github.com/users/Morriar/gists{/gist_id}","starred_url":"https://api.github.com/users/Morriar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Morriar/subscriptions","organizations_url":"https://api.github.com/users/Morriar/orgs","repos_url":"https://api.github.com/users/Morriar/repos","events_url":"https://api.github.com/users/Morriar/events{/privacy}","received_events_url":"https://api.github.com/users/Morriar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Morriar/Missions","description":null,"fork":false,"url":"https://api.github.com/repos/Morriar/Missions","forks_url":"https://api.github.com/repos/Morriar/Missions/forks","keys_url":"https://api.github.com/repos/Morriar/Missions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Morriar/Missions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Morriar/Missions/teams","hooks_url":"https://api.github.com/repos/Morriar/Missions/hooks","issue_events_url":"https://api.github.com/repos/Morriar/Missions/issues/events{/number}","events_url":"https://api.github.com/repos/Morriar/Missions/events","assignees_url":"https://api.github.com/repos/Morriar/Missions/assignees{/user}","branches_url":"https://api.github.com/repos/Morriar/Missions/branches{/branch}","tags_url":"https://api.github.com/repos/Morriar/Missions/tags","blobs_url":"https://api.github.com/repos/Morriar/Missions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Morriar/Missions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Morriar/Missions/git/refs{/sha}","trees_url":"https://api.github.com/repos/Morriar/Missions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Morriar/Missions/statuses/{sha}","languages_url":"https://api.github.com/repos/Morriar/Missions/languages","stargazers_url":"https://api.github.com/repos/Morriar/Missions/stargazers","contributors_url":"https://api.github.com/repos/Morriar/Missions/contributors","subscribers_url":"https://api.github.com/repos/Morriar/Missions/subscribers","subscription_url":"https://api.github.com/repos/Morriar/Missions/subscription","commits_url":"https://api.github.com/repos/Morriar/Missions/commits{/sha}","git_commits_url":"https://api.github.com/repos/Morriar/Missions/git/commits{/sha}","comments_url":"https://api.github.com/repos/Morriar/Missions/comments{/number}","issue_comment_url":"https://api.github.com/repos/Morriar/Missions/issues/comments{/number}","contents_url":"https://api.github.com/repos/Morriar/Missions/contents/{+path}","compare_url":"https://api.github.com/repos/Morriar/Missions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Morriar/Missions/merges","archive_url":"https://api.github.com/repos/Morriar/Missions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Morriar/Missions/downloads","issues_url":"https://api.github.com/repos/Morriar/Missions/issues{/number}","pulls_url":"https://api.github.com/repos/Morriar/Missions/pulls{/number}","milestones_url":"https://api.github.com/repos/Morriar/Missions/milestones{/number}","notifications_url":"https://api.github.com/repos/Morriar/Missions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Morriar/Missions/labels{/name}","releases_url":"https://api.github.com/repos/Morriar/Missions/releases{/id}","deployments_url":"https://api.github.com/repos/Morriar/Missions/deployments","created_at":"2016-08-11T15:13:15Z","updated_at":"2016-09-06T13:42:10Z","pushed_at":"2016-09-08T21:29:10Z","git_url":"git://github.com/Morriar/Missions.git","ssh_url":"git@github.com:Morriar/Missions.git","clone_url":"https://github.com/Morriar/Missions.git","svn_url":"https://github.com/Morriar/Missions","homepage":null,"size":217,"stargazers_count":2,"watchers_count":2,"language":"Nit","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":35,"forks":3,"open_issues":35,"watchers":2,"default_branch":"master"}},"base":{"label":"Morriar:master","ref":"master","sha":"347292c1a3e7cd34250cd4e521bac6d15fb568c6","user":{"login":"Morriar","id":583144,"avatar_url":"https://avatars.githubusercontent.com/u/583144?v=3","gravatar_id":"","url":"https://api.github.com/users/Morriar","html_url":"https://github.com/Morriar","followers_url":"https://api.github.com/users/Morriar/followers","following_url":"https://api.github.com/users/Morriar/following{/other_user}","gists_url":"https://api.github.com/users/Morriar/gists{/gist_id}","starred_url":"https://api.github.com/users/Morriar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Morriar/subscriptions","organizations_url":"https://api.github.com/users/Morriar/orgs","repos_url":"https://api.github.com/users/Morriar/repos","events_url":"https://api.github.com/users/Morriar/events{/privacy}","received_events_url":"https://api.github.com/users/Morriar/received_events","type":"User","site_admin":false},"repo":{"id":65479349,"name":"Missions","full_name":"Morriar/Missions","owner":{"login":"Morriar","id":583144,"avatar_url":"https://avatars.githubusercontent.com/u/583144?v=3","gravatar_id":"","url":"https://api.github.com/users/Morriar","html_url":"https://github.com/Morriar","followers_url":"https://api.github.com/users/Morriar/followers","following_url":"https://api.github.com/users/Morriar/following{/other_user}","gists_url":"https://api.github.com/users/Morriar/gists{/gist_id}","starred_url":"https://api.github.com/users/Morriar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Morriar/subscriptions","organizations_url":"https://api.github.com/users/Morriar/orgs","repos_url":"https://api.github.com/users/Morriar/repos","events_url":"https://api.github.com/users/Morriar/events{/privacy}","received_events_url":"https://api.github.com/users/Morriar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Morriar/Missions","description":null,"fork":false,"url":"https://api.github.com/repos/Morriar/Missions","forks_url":"https://api.github.com/repos/Morriar/Missions/forks","keys_url":"https://api.github.com/repos/Morriar/Missions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Morriar/Missions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Morriar/Missions/teams","hooks_url":"https://api.github.com/repos/Morriar/Missions/hooks","issue_events_url":"https://api.github.com/repos/Morriar/Missions/issues/events{/number}","events_url":"https://api.github.com/repos/Morriar/Missions/events","assignees_url":"https://api.github.com/repos/Morriar/Missions/assignees{/user}","branches_url":"https://api.github.com/repos/Morriar/Missions/branches{/branch}","tags_url":"https://api.github.com/repos/Morriar/Missions/tags","blobs_url":"https://api.github.com/repos/Morriar/Missions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Morriar/Missions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Morriar/Missions/git/refs{/sha}","trees_url":"https://api.github.com/repos/Morriar/Missions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Morriar/Missions/statuses/{sha}","languages_url":"https://api.github.com/repos/Morriar/Missions/languages","stargazers_url":"https://api.github.com/repos/Morriar/Missions/stargazers","contributors_url":"https://api.github.com/repos/Morriar/Missions/contributors","subscribers_url":"https://api.github.com/repos/Morriar/Missions/subscribers","subscription_url":"https://api.github.com/repos/Morriar/Missions/subscription","commits_url":"https://api.github.com/repos/Morriar/Missions/commits{/sha}","git_commits_url":"https://api.github.com/repos/Morriar/Missions/git/commits{/sha}","comments_url":"https://api.github.com/repos/Morriar/Missions/comments{/number}","issue_comment_url":"https://api.github.com/repos/Morriar/Missions/issues/comments{/number}","contents_url":"https://api.github.com/repos/Morriar/Missions/contents/{+path}","compare_url":"https://api.github.com/repos/Morriar/Missions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Morriar/Missions/merges","archive_url":"https://api.github.com/repos/Morriar/Missions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Morriar/Missions/downloads","issues_url":"https://api.github.com/repos/Morriar/Missions/issues{/number}","pulls_url":"https://api.github.com/repos/Morriar/Missions/pulls{/number}","milestones_url":"https://api.github.com/repos/Morriar/Missions/milestones{/number}","notifications_url":"https://api.github.com/repos/Morriar/Missions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Morriar/Missions/labels{/name}","releases_url":"https://api.github.com/repos/Morriar/Missions/releases{/id}","deployments_url":"https://api.github.com/repos/Morriar/Missions/deployments","created_at":"2016-08-11T15:13:15Z","updated_at":"2016-09-06T13:42:10Z","pushed_at":"2016-09-08T21:29:10Z","git_url":"git://github.com/Morriar/Missions.git","ssh_url":"git@github.com:Morriar/Missions.git","clone_url":"https://github.com/Morriar/Missions.git","svn_url":"https://github.com/Morriar/Missions","homepage":null,"size":217,"stargazers_count":2,"watchers_count":2,"language":"Nit","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":35,"forks":3,"open_issues":35,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Morriar/Missions/pulls/93"},"html":{"href":"https://github.com/Morriar/Missions/pull/93"},"issue":{"href":"https://api.github.com/repos/Morriar/Missions/issues/93"},"comments":{"href":"https://api.github.com/repos/Morriar/Missions/issues/93/comments"},"review_comments":{"href":"https://api.github.com/repos/Morriar/Missions/pulls/93/comments"},"review_comment":{"href":"https://api.github.com/repos/Morriar/Missions/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Morriar/Missions/pulls/93/commits"},"statuses":{"href":"https://api.github.com/repos/Morriar/Missions/statuses/71805cc5fe5e2a469f53437dc237ecf03701eb4b"}}}}
{"actor":{"display_login":"Morriar"}}