{"action":"created","comment":{"url":"https://api.github.com/repos/Deltares/liwo-static/pulls/comments/186752837","pull_request_review_id":118391779,"id":186752837,"diff_hunk":"@@ -1,16 +1,70 @@\n <template>\n-  <div class=\"maps\">\n-    <h1>Dit is de kaarten pagina</h1>\n-\n-  </div>\n+  <article class=\"maps\">\n+    <header>\n+      <p>Dit informatiesysteem bevat kaartlagen voor professionals van veiligheidsregio's, waterschappen en Rijkwaterstaat, die nodig zijn voor de voorbereiding op watercrises en overstromingen in Nederland. Het gaat hierbij om crisisbeheersing maar het is ook bruikbaar voor ruimtelijke adaptatie en versterking van zelfredzaamheid.</p>\n+    </header>\n+    <div class=\"maps__sections\">\n+      <layer-set-list\n+        v-for=\"layerset in layersets\"\n+        :key=\"layerset.id\"\n+        :title=\"layerset.name\"\n+        :items=\"layerset.layerset\"\n+      />\n+    </div>\n+  </article>\n </template>\n \n <script>\n // @ is an alias to /src\n+import LayerSetList from '@/components/LayerSetList'\n \n export default {\n   name: 'maps',\n-  components: {\n-  }\n+  data () {\n+    return { layersets: [] }\n+  },\n+  beforeCreate: async function () {\n+    const body = JSON.stringify({username: '', password: '', mode: ''})\n+    const headers = { 'Accept': 'application/json', 'Content-Type': 'application/json' }\n+    const layersets = await fetch('https://basisinformatie-overstromingen.nl/liwo.ws/Authentication.asmx/Login', {","path":"src/views/Maps.vue","position":35,"original_position":35,"commit_id":"04a4df122d2cc32437e107651e2894bea67d74fc","original_commit_id":"04a4df122d2cc32437e107651e2894bea67d74fc","user":{"login":"markomalis","id":4346054,"avatar_url":"https://avatars2.githubusercontent.com/u/4346054?v=4","gravatar_id":"","url":"https://api.github.com/users/markomalis","html_url":"https://github.com/markomalis","followers_url":"https://api.github.com/users/markomalis/followers","following_url":"https://api.github.com/users/markomalis/following{/other_user}","gists_url":"https://api.github.com/users/markomalis/gists{/gist_id}","starred_url":"https://api.github.com/users/markomalis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markomalis/subscriptions","organizations_url":"https://api.github.com/users/markomalis/orgs","repos_url":"https://api.github.com/users/markomalis/repos","events_url":"https://api.github.com/users/markomalis/events{/privacy}","received_events_url":"https://api.github.com/users/markomalis/received_events","type":"User","site_admin":false},"body":"move url to variable","created_at":"2018-05-08T14:43:07Z","updated_at":"2018-05-08T14:43:48Z","html_url":"https://github.com/Deltares/liwo-static/pull/5#discussion_r186752837","pull_request_url":"https://api.github.com/repos/Deltares/liwo-static/pulls/5","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/Deltares/liwo-static/pulls/comments/186752837"},"html":{"href":"https://github.com/Deltares/liwo-static/pull/5#discussion_r186752837"},"pull_request":{"href":"https://api.github.com/repos/Deltares/liwo-static/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/Deltares/liwo-static/pulls/5","id":186643236,"html_url":"https://github.com/Deltares/liwo-static/pull/5","diff_url":"https://github.com/Deltares/liwo-static/pull/5.diff","patch_url":"https://github.com/Deltares/liwo-static/pull/5.patch","issue_url":"https://api.github.com/repos/Deltares/liwo-static/issues/5","number":5,"state":"open","locked":false,"title":"Feature/layersets","user":{"login":"jurgenbelien","id":8565223,"avatar_url":"https://avatars2.githubusercontent.com/u/8565223?v=4","gravatar_id":"","url":"https://api.github.com/users/jurgenbelien","html_url":"https://github.com/jurgenbelien","followers_url":"https://api.github.com/users/jurgenbelien/followers","following_url":"https://api.github.com/users/jurgenbelien/following{/other_user}","gists_url":"https://api.github.com/users/jurgenbelien/gists{/gist_id}","starred_url":"https://api.github.com/users/jurgenbelien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jurgenbelien/subscriptions","organizations_url":"https://api.github.com/users/jurgenbelien/orgs","repos_url":"https://api.github.com/users/jurgenbelien/repos","events_url":"https://api.github.com/users/jurgenbelien/events{/privacy}","received_events_url":"https://api.github.com/users/jurgenbelien/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-05-08T13:58:14Z","updated_at":"2018-05-08T14:43:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b8b1980b15784e553dd79ebe723f7c93ee1024c6","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Deltares/liwo-static/pulls/5/commits","review_comments_url":"https://api.github.com/repos/Deltares/liwo-static/pulls/5/comments","review_comment_url":"https://api.github.com/repos/Deltares/liwo-static/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Deltares/liwo-static/issues/5/comments","statuses_url":"https://api.github.com/repos/Deltares/liwo-static/statuses/04a4df122d2cc32437e107651e2894bea67d74fc","head":{"label":"Deltares:feature/layersets","ref":"feature/layersets","sha":"04a4df122d2cc32437e107651e2894bea67d74fc","user":{"login":"Deltares","id":6613768,"avatar_url":"https://avatars1.githubusercontent.com/u/6613768?v=4","gravatar_id":"","url":"https://api.github.com/users/Deltares","html_url":"https://github.com/Deltares","followers_url":"https://api.github.com/users/Deltares/followers","following_url":"https://api.github.com/users/Deltares/following{/other_user}","gists_url":"https://api.github.com/users/Deltares/gists{/gist_id}","starred_url":"https://api.github.com/users/Deltares/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Deltares/subscriptions","organizations_url":"https://api.github.com/users/Deltares/orgs","repos_url":"https://api.github.com/users/Deltares/repos","events_url":"https://api.github.com/users/Deltares/events{/privacy}","received_events_url":"https://api.github.com/users/Deltares/received_events","type":"Organization","site_admin":false},"repo":{"id":132418033,"name":"liwo-static","full_name":"Deltares/liwo-static","owner":{"login":"Deltares","id":6613768,"avatar_url":"https://avatars1.githubusercontent.com/u/6613768?v=4","gravatar_id":"","url":"https://api.github.com/users/Deltares","html_url":"https://github.com/Deltares","followers_url":"https://api.github.com/users/Deltares/followers","following_url":"https://api.github.com/users/Deltares/following{/other_user}","gists_url":"https://api.github.com/users/Deltares/gists{/gist_id}","starred_url":"https://api.github.com/users/Deltares/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Deltares/subscriptions","organizations_url":"https://api.github.com/users/Deltares/orgs","repos_url":"https://api.github.com/users/Deltares/repos","events_url":"https://api.github.com/users/Deltares/events{/privacy}","received_events_url":"https://api.github.com/users/Deltares/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Deltares/liwo-static","description":"Static frontend for LIWO (https://www.basisinformatie-overstromingen.nl/liwo/)","fork":false,"url":"https://api.github.com/repos/Deltares/liwo-static","forks_url":"https://api.github.com/repos/Deltares/liwo-static/forks","keys_url":"https://api.github.com/repos/Deltares/liwo-static/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Deltares/liwo-static/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Deltares/liwo-static/teams","hooks_url":"https://api.github.com/repos/Deltares/liwo-static/hooks","issue_events_url":"https://api.github.com/repos/Deltares/liwo-static/issues/events{/number}","events_url":"https://api.github.com/repos/Deltares/liwo-static/events","assignees_url":"https://api.github.com/repos/Deltares/liwo-static/assignees{/user}","branches_url":"https://api.github.com/repos/Deltares/liwo-static/branches{/branch}","tags_url":"https://api.github.com/repos/Deltares/liwo-static/tags","blobs_url":"https://api.github.com/repos/Deltares/liwo-static/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Deltares/liwo-static/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Deltares/liwo-static/git/refs{/sha}","trees_url":"https://api.github.com/repos/Deltares/liwo-static/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Deltares/liwo-static/statuses/{sha}","languages_url":"https://api.github.com/repos/Deltares/liwo-static/languages","stargazers_url":"https://api.github.com/repos/Deltares/liwo-static/stargazers","contributors_url":"https://api.github.com/repos/Deltares/liwo-static/contributors","subscribers_url":"https://api.github.com/repos/Deltares/liwo-static/subscribers","subscription_url":"https://api.github.com/repos/Deltares/liwo-static/subscription","commits_url":"https://api.github.com/repos/Deltares/liwo-static/commits{/sha}","git_commits_url":"https://api.github.com/repos/Deltares/liwo-static/git/commits{/sha}","comments_url":"https://api.github.com/repos/Deltares/liwo-static/comments{/number}","issue_comment_url":"https://api.github.com/repos/Deltares/liwo-static/issues/comments{/number}","contents_url":"https://api.github.com/repos/Deltares/liwo-static/contents/{+path}","compare_url":"https://api.github.com/repos/Deltares/liwo-static/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Deltares/liwo-static/merges","archive_url":"https://api.github.com/repos/Deltares/liwo-static/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Deltares/liwo-static/downloads","issues_url":"https://api.github.com/repos/Deltares/liwo-static/issues{/number}","pulls_url":"https://api.github.com/repos/Deltares/liwo-static/pulls{/number}","milestones_url":"https://api.github.com/repos/Deltares/liwo-static/milestones{/number}","notifications_url":"https://api.github.com/repos/Deltares/liwo-static/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Deltares/liwo-static/labels{/name}","releases_url":"https://api.github.com/repos/Deltares/liwo-static/releases{/id}","deployments_url":"https://api.github.com/repos/Deltares/liwo-static/deployments","created_at":"2018-05-07T06:40:10Z","updated_at":"2018-05-08T11:38:04Z","pushed_at":"2018-05-08T14:37:24Z","git_url":"git://github.com/Deltares/liwo-static.git","ssh_url":"git@github.com:Deltares/liwo-static.git","clone_url":"https://github.com/Deltares/liwo-static.git","svn_url":"https://github.com/Deltares/liwo-static","homepage":null,"size":1142,"stargazers_count":1,"watchers_count":1,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":0,"open_issues":3,"watchers":1,"default_branch":"master"}},"base":{"label":"Deltares:master","ref":"master","sha":"55ed5c89b7402c83973ff48116075f8422e06a27","user":{"login":"Deltares","id":6613768,"avatar_url":"https://avatars1.githubusercontent.com/u/6613768?v=4","gravatar_id":"","url":"https://api.github.com/users/Deltares","html_url":"https://github.com/Deltares","followers_url":"https://api.github.com/users/Deltares/followers","following_url":"https://api.github.com/users/Deltares/following{/other_user}","gists_url":"https://api.github.com/users/Deltares/gists{/gist_id}","starred_url":"https://api.github.com/users/Deltares/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Deltares/subscriptions","organizations_url":"https://api.github.com/users/Deltares/orgs","repos_url":"https://api.github.com/users/Deltares/repos","events_url":"https://api.github.com/users/Deltares/events{/privacy}","received_events_url":"https://api.github.com/users/Deltares/received_events","type":"Organization","site_admin":false},"repo":{"id":132418033,"name":"liwo-static","full_name":"Deltares/liwo-static","owner":{"login":"Deltares","id":6613768,"avatar_url":"https://avatars1.githubusercontent.com/u/6613768?v=4","gravatar_id":"","url":"https://api.github.com/users/Deltares","html_url":"https://github.com/Deltares","followers_url":"https://api.github.com/users/Deltares/followers","following_url":"https://api.github.com/users/Deltares/following{/other_user}","gists_url":"https://api.github.com/users/Deltares/gists{/gist_id}","starred_url":"https://api.github.com/users/Deltares/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Deltares/subscriptions","organizations_url":"https://api.github.com/users/Deltares/orgs","repos_url":"https://api.github.com/users/Deltares/repos","events_url":"https://api.github.com/users/Deltares/events{/privacy}","received_events_url":"https://api.github.com/users/Deltares/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Deltares/liwo-static","description":"Static frontend for LIWO (https://www.basisinformatie-overstromingen.nl/liwo/)","fork":false,"url":"https://api.github.com/repos/Deltares/liwo-static","forks_url":"https://api.github.com/repos/Deltares/liwo-static/forks","keys_url":"https://api.github.com/repos/Deltares/liwo-static/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Deltares/liwo-static/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Deltares/liwo-static/teams","hooks_url":"https://api.github.com/repos/Deltares/liwo-static/hooks","issue_events_url":"https://api.github.com/repos/Deltares/liwo-static/issues/events{/number}","events_url":"https://api.github.com/repos/Deltares/liwo-static/events","assignees_url":"https://api.github.com/repos/Deltares/liwo-static/assignees{/user}","branches_url":"https://api.github.com/repos/Deltares/liwo-static/branches{/branch}","tags_url":"https://api.github.com/repos/Deltares/liwo-static/tags","blobs_url":"https://api.github.com/repos/Deltares/liwo-static/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Deltares/liwo-static/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Deltares/liwo-static/git/refs{/sha}","trees_url":"https://api.github.com/repos/Deltares/liwo-static/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Deltares/liwo-static/statuses/{sha}","languages_url":"https://api.github.com/repos/Deltares/liwo-static/languages","stargazers_url":"https://api.github.com/repos/Deltares/liwo-static/stargazers","contributors_url":"https://api.github.com/repos/Deltares/liwo-static/contributors","subscribers_url":"https://api.github.com/repos/Deltares/liwo-static/subscribers","subscription_url":"https://api.github.com/repos/Deltares/liwo-static/subscription","commits_url":"https://api.github.com/repos/Deltares/liwo-static/commits{/sha}","git_commits_url":"https://api.github.com/repos/Deltares/liwo-static/git/commits{/sha}","comments_url":"https://api.github.com/repos/Deltares/liwo-static/comments{/number}","issue_comment_url":"https://api.github.com/repos/Deltares/liwo-static/issues/comments{/number}","contents_url":"https://api.github.com/repos/Deltares/liwo-static/contents/{+path}","compare_url":"https://api.github.com/repos/Deltares/liwo-static/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Deltares/liwo-static/merges","archive_url":"https://api.github.com/repos/Deltares/liwo-static/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Deltares/liwo-static/downloads","issues_url":"https://api.github.com/repos/Deltares/liwo-static/issues{/number}","pulls_url":"https://api.github.com/repos/Deltares/liwo-static/pulls{/number}","milestones_url":"https://api.github.com/repos/Deltares/liwo-static/milestones{/number}","notifications_url":"https://api.github.com/repos/Deltares/liwo-static/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Deltares/liwo-static/labels{/name}","releases_url":"https://api.github.com/repos/Deltares/liwo-static/releases{/id}","deployments_url":"https://api.github.com/repos/Deltares/liwo-static/deployments","created_at":"2018-05-07T06:40:10Z","updated_at":"2018-05-08T11:38:04Z","pushed_at":"2018-05-08T14:37:24Z","git_url":"git://github.com/Deltares/liwo-static.git","ssh_url":"git@github.com:Deltares/liwo-static.git","clone_url":"https://github.com/Deltares/liwo-static.git","svn_url":"https://github.com/Deltares/liwo-static","homepage":null,"size":1142,"stargazers_count":1,"watchers_count":1,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":0,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Deltares/liwo-static/pulls/5"},"html":{"href":"https://github.com/Deltares/liwo-static/pull/5"},"issue":{"href":"https://api.github.com/repos/Deltares/liwo-static/issues/5"},"comments":{"href":"https://api.github.com/repos/Deltares/liwo-static/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/Deltares/liwo-static/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/Deltares/liwo-static/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Deltares/liwo-static/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/Deltares/liwo-static/statuses/04a4df122d2cc32437e107651e2894bea67d74fc"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"markomalis"}}