{"action":"created","comment":{"url":"https://api.github.com/repos/FAForever/faf-voting/pulls/comments/215706895","pull_request_review_id":153032726,"id":215706895,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNTcwNjg5NQ==","diff_hunk":"@@ -0,0 +1,205 @@\n+<!DOCTYPE html>\n+<html lang=\"en\">\n+<head>\n+    <title>FAF Voting App</title>\n+    <link rel=\"stylesheet\" href=\"https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css\"\n+          integrity=\"sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm\" crossorigin=\"anonymous\">\n+    <link rel=\"icon\" href=\"favicon.png\"/>\n+    <link rel=\"stylesheet\" href=\"res/style/style.css\" type=\"text/css\"/>\n+\n+    <script src=\"res/scripts/httpget.js\"></script>\n+    <script>\n+\n+        /// On load, immediatly fetch voting subjects\n+        window.onload = function (e) {\n+            httpGet(\"/authed/getSubjects\", receiveSubjects);\n+        };\n+\n+        /// Parse all subjects\n+        function receiveSubjects(json) {\n+            let root = JSON.parse(json);\n+            let subjects = root.data;\n+            let receiver = document.getElementById('receiverZone');\n+            receiver.innerHTML = '';\n+\n+            let pickSubjectH = document.createElement('h2');\n+            pickSubjectH.textContent = \"Votes overview\";\n+            receiver.appendChild(pickSubjectH);\n+\n+            if (subjects.length <= 0) {\n+                pickSubjectH.textContent = \"There are no votes\";\n+                return;\n+            }\n+\n+            for (let i = 0; i < subjects.length; i++) {\n+                let card = document.createElement(\"div\");\n+                card.className = \"card\";\n+                receiver.append(card);\n+\n+                let cardHeader = document.createElement(\"div\");\n+                cardHeader.className = \"card-header\";\n+                let subject = subjects[i];\n+                cardHeader.innerHTML = subject.attributes.subject;","path":"public/overview.html","position":42,"original_position":42,"commit_id":"9f1ab9df88738c3750634c887be7d72dbd2a8df8","original_commit_id":"9f1ab9df88738c3750634c887be7d72dbd2a8df8","user":{"login":"axel1200","id":19996713,"node_id":"MDQ6VXNlcjE5OTk2NzEz","avatar_url":"https://avatars3.githubusercontent.com/u/19996713?v=4","gravatar_id":"","url":"https://api.github.com/users/axel1200","html_url":"https://github.com/axel1200","followers_url":"https://api.github.com/users/axel1200/followers","following_url":"https://api.github.com/users/axel1200/following{/other_user}","gists_url":"https://api.github.com/users/axel1200/gists{/gist_id}","starred_url":"https://api.github.com/users/axel1200/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axel1200/subscriptions","organizations_url":"https://api.github.com/users/axel1200/orgs","repos_url":"https://api.github.com/users/axel1200/repos","events_url":"https://api.github.com/users/axel1200/events{/privacy}","received_events_url":"https://api.github.com/users/axel1200/received_events","type":"User","site_admin":false},"body":"Cool","created_at":"2018-09-06T17:12:29Z","updated_at":"2018-09-06T17:12:29Z","html_url":"https://github.com/FAForever/faf-voting/pull/3#discussion_r215706895","pull_request_url":"https://api.github.com/repos/FAForever/faf-voting/pulls/3","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/FAForever/faf-voting/pulls/comments/215706895"},"html":{"href":"https://github.com/FAForever/faf-voting/pull/3#discussion_r215706895"},"pull_request":{"href":"https://api.github.com/repos/FAForever/faf-voting/pulls/3"}},"in_reply_to_id":215699563},"pull_request":{"url":"https://api.github.com/repos/FAForever/faf-voting/pulls/3","id":194060675,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk0MDYwNjc1","html_url":"https://github.com/FAForever/faf-voting/pull/3","diff_url":"https://github.com/FAForever/faf-voting/pull/3.diff","patch_url":"https://github.com/FAForever/faf-voting/pull/3.patch","issue_url":"https://api.github.com/repos/FAForever/faf-voting/issues/3","number":3,"state":"open","locked":false,"title":"Create overview page","user":{"login":"axel1200","id":19996713,"node_id":"MDQ6VXNlcjE5OTk2NzEz","avatar_url":"https://avatars3.githubusercontent.com/u/19996713?v=4","gravatar_id":"","url":"https://api.github.com/users/axel1200","html_url":"https://github.com/axel1200","followers_url":"https://api.github.com/users/axel1200/followers","following_url":"https://api.github.com/users/axel1200/following{/other_user}","gists_url":"https://api.github.com/users/axel1200/gists{/gist_id}","starred_url":"https://api.github.com/users/axel1200/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axel1200/subscriptions","organizations_url":"https://api.github.com/users/axel1200/orgs","repos_url":"https://api.github.com/users/axel1200/repos","events_url":"https://api.github.com/users/axel1200/events{/privacy}","received_events_url":"https://api.github.com/users/axel1200/received_events","type":"User","site_admin":false},"body":"Fixes #2 \r\nWell you can try it and see it would take it or rather redo XD","created_at":"2018-06-11T18:11:59Z","updated_at":"2018-09-06T17:12:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c16abcc047c519579a4089b4bc5911a0b1225341","assignee":null,"assignees":[],"requested_reviewers":[{"login":"micheljung","id":1864183,"node_id":"MDQ6VXNlcjE4NjQxODM=","avatar_url":"https://avatars2.githubusercontent.com/u/1864183?v=4","gravatar_id":"","url":"https://api.github.com/users/micheljung","html_url":"https://github.com/micheljung","followers_url":"https://api.github.com/users/micheljung/followers","following_url":"https://api.github.com/users/micheljung/following{/other_user}","gists_url":"https://api.github.com/users/micheljung/gists{/gist_id}","starred_url":"https://api.github.com/users/micheljung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micheljung/subscriptions","organizations_url":"https://api.github.com/users/micheljung/orgs","repos_url":"https://api.github.com/users/micheljung/repos","events_url":"https://api.github.com/users/micheljung/events{/privacy}","received_events_url":"https://api.github.com/users/micheljung/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/FAForever/faf-voting/pulls/3/commits","review_comments_url":"https://api.github.com/repos/FAForever/faf-voting/pulls/3/comments","review_comment_url":"https://api.github.com/repos/FAForever/faf-voting/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FAForever/faf-voting/issues/3/comments","statuses_url":"https://api.github.com/repos/FAForever/faf-voting/statuses/9f1ab9df88738c3750634c887be7d72dbd2a8df8","head":{"label":"FAForever:feature/#2-overview","ref":"feature/#2-overview","sha":"9f1ab9df88738c3750634c887be7d72dbd2a8df8","user":{"login":"FAForever","id":8887184,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg4ODcxODQ=","avatar_url":"https://avatars2.githubusercontent.com/u/8887184?v=4","gravatar_id":"","url":"https://api.github.com/users/FAForever","html_url":"https://github.com/FAForever","followers_url":"https://api.github.com/users/FAForever/followers","following_url":"https://api.github.com/users/FAForever/following{/other_user}","gists_url":"https://api.github.com/users/FAForever/gists{/gist_id}","starred_url":"https://api.github.com/users/FAForever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FAForever/subscriptions","organizations_url":"https://api.github.com/users/FAForever/orgs","repos_url":"https://api.github.com/users/FAForever/repos","events_url":"https://api.github.com/users/FAForever/events{/privacy}","received_events_url":"https://api.github.com/users/FAForever/received_events","type":"Organization","site_admin":false},"repo":{"id":136173069,"node_id":"MDEwOlJlcG9zaXRvcnkxMzYxNzMwNjk=","name":"faf-voting","full_name":"FAForever/faf-voting","owner":{"login":"FAForever","id":8887184,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg4ODcxODQ=","avatar_url":"https://avatars2.githubusercontent.com/u/8887184?v=4","gravatar_id":"","url":"https://api.github.com/users/FAForever","html_url":"https://github.com/FAForever","followers_url":"https://api.github.com/users/FAForever/followers","following_url":"https://api.github.com/users/FAForever/following{/other_user}","gists_url":"https://api.github.com/users/FAForever/gists{/gist_id}","starred_url":"https://api.github.com/users/FAForever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FAForever/subscriptions","organizations_url":"https://api.github.com/users/FAForever/orgs","repos_url":"https://api.github.com/users/FAForever/repos","events_url":"https://api.github.com/users/FAForever/events{/privacy}","received_events_url":"https://api.github.com/users/FAForever/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FAForever/faf-voting","description":"Voting front end for FAF","fork":false,"url":"https://api.github.com/repos/FAForever/faf-voting","forks_url":"https://api.github.com/repos/FAForever/faf-voting/forks","keys_url":"https://api.github.com/repos/FAForever/faf-voting/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FAForever/faf-voting/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FAForever/faf-voting/teams","hooks_url":"https://api.github.com/repos/FAForever/faf-voting/hooks","issue_events_url":"https://api.github.com/repos/FAForever/faf-voting/issues/events{/number}","events_url":"https://api.github.com/repos/FAForever/faf-voting/events","assignees_url":"https://api.github.com/repos/FAForever/faf-voting/assignees{/user}","branches_url":"https://api.github.com/repos/FAForever/faf-voting/branches{/branch}","tags_url":"https://api.github.com/repos/FAForever/faf-voting/tags","blobs_url":"https://api.github.com/repos/FAForever/faf-voting/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FAForever/faf-voting/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FAForever/faf-voting/git/refs{/sha}","trees_url":"https://api.github.com/repos/FAForever/faf-voting/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FAForever/faf-voting/statuses/{sha}","languages_url":"https://api.github.com/repos/FAForever/faf-voting/languages","stargazers_url":"https://api.github.com/repos/FAForever/faf-voting/stargazers","contributors_url":"https://api.github.com/repos/FAForever/faf-voting/contributors","subscribers_url":"https://api.github.com/repos/FAForever/faf-voting/subscribers","subscription_url":"https://api.github.com/repos/FAForever/faf-voting/subscription","commits_url":"https://api.github.com/repos/FAForever/faf-voting/commits{/sha}","git_commits_url":"https://api.github.com/repos/FAForever/faf-voting/git/commits{/sha}","comments_url":"https://api.github.com/repos/FAForever/faf-voting/comments{/number}","issue_comment_url":"https://api.github.com/repos/FAForever/faf-voting/issues/comments{/number}","contents_url":"https://api.github.com/repos/FAForever/faf-voting/contents/{+path}","compare_url":"https://api.github.com/repos/FAForever/faf-voting/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FAForever/faf-voting/merges","archive_url":"https://api.github.com/repos/FAForever/faf-voting/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FAForever/faf-voting/downloads","issues_url":"https://api.github.com/repos/FAForever/faf-voting/issues{/number}","pulls_url":"https://api.github.com/repos/FAForever/faf-voting/pulls{/number}","milestones_url":"https://api.github.com/repos/FAForever/faf-voting/milestones{/number}","notifications_url":"https://api.github.com/repos/FAForever/faf-voting/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FAForever/faf-voting/labels{/name}","releases_url":"https://api.github.com/repos/FAForever/faf-voting/releases{/id}","deployments_url":"https://api.github.com/repos/FAForever/faf-voting/deployments","created_at":"2018-06-05T12:20:34Z","updated_at":"2018-09-06T16:42:13Z","pushed_at":"2018-09-06T17:08:23Z","git_url":"git://github.com/FAForever/faf-voting.git","ssh_url":"git@github.com:FAForever/faf-voting.git","clone_url":"https://github.com/FAForever/faf-voting.git","svn_url":"https://github.com/FAForever/faf-voting","homepage":"","size":2281,"stargazers_count":2,"watchers_count":2,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":0,"open_issues":3,"watchers":2,"default_branch":"master"}},"base":{"label":"FAForever:master","ref":"master","sha":"d1ca0d64947bc35c66b34351c36b30b74dc397c2","user":{"login":"FAForever","id":8887184,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg4ODcxODQ=","avatar_url":"https://avatars2.githubusercontent.com/u/8887184?v=4","gravatar_id":"","url":"https://api.github.com/users/FAForever","html_url":"https://github.com/FAForever","followers_url":"https://api.github.com/users/FAForever/followers","following_url":"https://api.github.com/users/FAForever/following{/other_user}","gists_url":"https://api.github.com/users/FAForever/gists{/gist_id}","starred_url":"https://api.github.com/users/FAForever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FAForever/subscriptions","organizations_url":"https://api.github.com/users/FAForever/orgs","repos_url":"https://api.github.com/users/FAForever/repos","events_url":"https://api.github.com/users/FAForever/events{/privacy}","received_events_url":"https://api.github.com/users/FAForever/received_events","type":"Organization","site_admin":false},"repo":{"id":136173069,"node_id":"MDEwOlJlcG9zaXRvcnkxMzYxNzMwNjk=","name":"faf-voting","full_name":"FAForever/faf-voting","owner":{"login":"FAForever","id":8887184,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg4ODcxODQ=","avatar_url":"https://avatars2.githubusercontent.com/u/8887184?v=4","gravatar_id":"","url":"https://api.github.com/users/FAForever","html_url":"https://github.com/FAForever","followers_url":"https://api.github.com/users/FAForever/followers","following_url":"https://api.github.com/users/FAForever/following{/other_user}","gists_url":"https://api.github.com/users/FAForever/gists{/gist_id}","starred_url":"https://api.github.com/users/FAForever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FAForever/subscriptions","organizations_url":"https://api.github.com/users/FAForever/orgs","repos_url":"https://api.github.com/users/FAForever/repos","events_url":"https://api.github.com/users/FAForever/events{/privacy}","received_events_url":"https://api.github.com/users/FAForever/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FAForever/faf-voting","description":"Voting front end for FAF","fork":false,"url":"https://api.github.com/repos/FAForever/faf-voting","forks_url":"https://api.github.com/repos/FAForever/faf-voting/forks","keys_url":"https://api.github.com/repos/FAForever/faf-voting/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FAForever/faf-voting/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FAForever/faf-voting/teams","hooks_url":"https://api.github.com/repos/FAForever/faf-voting/hooks","issue_events_url":"https://api.github.com/repos/FAForever/faf-voting/issues/events{/number}","events_url":"https://api.github.com/repos/FAForever/faf-voting/events","assignees_url":"https://api.github.com/repos/FAForever/faf-voting/assignees{/user}","branches_url":"https://api.github.com/repos/FAForever/faf-voting/branches{/branch}","tags_url":"https://api.github.com/repos/FAForever/faf-voting/tags","blobs_url":"https://api.github.com/repos/FAForever/faf-voting/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FAForever/faf-voting/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FAForever/faf-voting/git/refs{/sha}","trees_url":"https://api.github.com/repos/FAForever/faf-voting/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FAForever/faf-voting/statuses/{sha}","languages_url":"https://api.github.com/repos/FAForever/faf-voting/languages","stargazers_url":"https://api.github.com/repos/FAForever/faf-voting/stargazers","contributors_url":"https://api.github.com/repos/FAForever/faf-voting/contributors","subscribers_url":"https://api.github.com/repos/FAForever/faf-voting/subscribers","subscription_url":"https://api.github.com/repos/FAForever/faf-voting/subscription","commits_url":"https://api.github.com/repos/FAForever/faf-voting/commits{/sha}","git_commits_url":"https://api.github.com/repos/FAForever/faf-voting/git/commits{/sha}","comments_url":"https://api.github.com/repos/FAForever/faf-voting/comments{/number}","issue_comment_url":"https://api.github.com/repos/FAForever/faf-voting/issues/comments{/number}","contents_url":"https://api.github.com/repos/FAForever/faf-voting/contents/{+path}","compare_url":"https://api.github.com/repos/FAForever/faf-voting/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FAForever/faf-voting/merges","archive_url":"https://api.github.com/repos/FAForever/faf-voting/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FAForever/faf-voting/downloads","issues_url":"https://api.github.com/repos/FAForever/faf-voting/issues{/number}","pulls_url":"https://api.github.com/repos/FAForever/faf-voting/pulls{/number}","milestones_url":"https://api.github.com/repos/FAForever/faf-voting/milestones{/number}","notifications_url":"https://api.github.com/repos/FAForever/faf-voting/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FAForever/faf-voting/labels{/name}","releases_url":"https://api.github.com/repos/FAForever/faf-voting/releases{/id}","deployments_url":"https://api.github.com/repos/FAForever/faf-voting/deployments","created_at":"2018-06-05T12:20:34Z","updated_at":"2018-09-06T16:42:13Z","pushed_at":"2018-09-06T17:08:23Z","git_url":"git://github.com/FAForever/faf-voting.git","ssh_url":"git@github.com:FAForever/faf-voting.git","clone_url":"https://github.com/FAForever/faf-voting.git","svn_url":"https://github.com/FAForever/faf-voting","homepage":"","size":2281,"stargazers_count":2,"watchers_count":2,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":0,"open_issues":3,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FAForever/faf-voting/pulls/3"},"html":{"href":"https://github.com/FAForever/faf-voting/pull/3"},"issue":{"href":"https://api.github.com/repos/FAForever/faf-voting/issues/3"},"comments":{"href":"https://api.github.com/repos/FAForever/faf-voting/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/FAForever/faf-voting/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/FAForever/faf-voting/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FAForever/faf-voting/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/FAForever/faf-voting/statuses/9f1ab9df88738c3750634c887be7d72dbd2a8df8"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"axel1200"}}