{"action":"created","comment":{"url":"https://api.github.com/repos/clouway-incubator/subnet-management-system/pulls/comments/34234593","id":34234593,"diff_hunk":"@@ -2,8 +2,50 @@\n <div class=\"row\">\n     <div class=\"col-md-3 col-md-offset-8\">\n         <a href=\"\" class=\"btn btn-success navbar-right\">AddNode</a>\n-        <a href=\"\" class=\"btn btn-success navbar-right\">AddSubnet</a>\n+        <a type=\"button\" class=\"btn btn-success navbar-right\" data-toggle=\"modal\"\n+           data-target=\"#exampleModal\">AddSubnet</a>\n     </div>\n </div>\n+<div class=\"modal fade\" id=\"exampleModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalLabel\">\n+    <div class=\"modal-dialog\" role=\"document\">\n+        <div class=\"modal-content\">\n+            <div class=\"modal-header\">\n+                <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\"><span\n+                        aria-hidden=\"true\">&times;</span></button>\n+                <h4 class=\"modal-title\" id=\"exampleModalLabel\">New Subnet</h4>\n+            </div>\n+            <div class=\"modal-body\">\n \n+                <div class=\"row\">\n+\n+                    <form name=\"registerForm\">\n+\n+                        <div class=\"col-md-5\">\n+                            <label for=\"in1\">Network IP:</label>\n+                            <input type=\"text\" class=\"form-control\" id=\"in1\" ng-model=\"networkIP\" name=\"networkIP\"\n+                                   required=\"\"/>\n+                        </div>\n+\n+                        <div class=\"col-md-2\">\n+                            <label for=\"in2\">Slash:</label>","path":"ngbp/src/partials/subnets.html","position":30,"original_position":30,"commit_id":"a5d69f781955c233deb53b62ef36f5dbbcf6f95d","original_commit_id":"a5d69f781955c233deb53b62ef36f5dbbcf6f95d","user":{"login":"freekman","id":8199446,"avatar_url":"https://avatars.githubusercontent.com/u/8199446?v=3","gravatar_id":"","url":"https://api.github.com/users/freekman","html_url":"https://github.com/freekman","followers_url":"https://api.github.com/users/freekman/followers","following_url":"https://api.github.com/users/freekman/following{/other_user}","gists_url":"https://api.github.com/users/freekman/gists{/gist_id}","starred_url":"https://api.github.com/users/freekman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freekman/subscriptions","organizations_url":"https://api.github.com/users/freekman/orgs","repos_url":"https://api.github.com/users/freekman/repos","events_url":"https://api.github.com/users/freekman/events{/privacy}","received_events_url":"https://api.github.com/users/freekman/received_events","type":"User","site_admin":false},"body":"done","created_at":"2015-07-09T08:45:27Z","updated_at":"2015-07-09T08:45:27Z","html_url":"https://github.com/clouway-incubator/subnet-management-system/pull/26#discussion_r34234593","pull_request_url":"https://api.github.com/repos/clouway-incubator/subnet-management-system/pulls/26","_links":{"self":{"href":"https://api.github.com/repos/clouway-incubator/subnet-management-system/pulls/comments/34234593"},"html":{"href":"https://github.com/clouway-incubator/subnet-management-system/pull/26#discussion_r34234593"},"pull_request":{"href":"https://api.github.com/repos/clouway-incubator/subnet-management-system/pulls/26"}}},"pull_request":{"url":"https://api.github.com/repos/clouway-incubator/subnet-management-system/pulls/26","id":39168775,"html_url":"https://github.com/clouway-incubator/subnet-management-system/pull/26","diff_url":"https://github.com/clouway-incubator/subnet-management-system/pull/26.diff","patch_url":"https://github.com/clouway-incubator/subnet-management-system/pull/26.patch","issue_url":"https://api.github.com/repos/clouway-incubator/subnet-management-system/issues/26","number":26,"state":"open","locked":false,"title":"add new subnet","user":{"login":"freekman","id":8199446,"avatar_url":"https://avatars.githubusercontent.com/u/8199446?v=3","gravatar_id":"","url":"https://api.github.com/users/freekman","html_url":"https://github.com/freekman","followers_url":"https://api.github.com/users/freekman/followers","following_url":"https://api.github.com/users/freekman/following{/other_user}","gists_url":"https://api.github.com/users/freekman/gists{/gist_id}","starred_url":"https://api.github.com/users/freekman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freekman/subscriptions","organizations_url":"https://api.github.com/users/freekman/orgs","repos_url":"https://api.github.com/users/freekman/repos","events_url":"https://api.github.com/users/freekman/events{/privacy}","received_events_url":"https://api.github.com/users/freekman/received_events","type":"User","site_admin":false},"body":"#23\r\n![screenshot from 2015-07-03 14 41 30](https://cloud.githubusercontent.com/assets/8199446/8498638/cb2942e8-2191-11e5-9216-4808f662f252.png)\r\n![screenshot from 2015-07-03 14 42 18](https://cloud.githubusercontent.com/assets/8199446/8498642/d13c2fd8-2191-11e5-9297-2f4b7ddc6823.png)\r\n![screenshot from 2015-07-03 14 42 30](https://cloud.githubusercontent.com/assets/8199446/8498643/d39aae76-2191-11e5-8e82-14fde227d048.png)\r\n\r\nThis is the functionality for registering a new subnet by IP and slash.\r\n","created_at":"2015-07-03T11:45:12Z","updated_at":"2015-07-09T08:45:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6d1afb2360336a7be07d619135f9d1f8a3d0533b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/clouway-incubator/subnet-management-system/pulls/26/commits","review_comments_url":"https://api.github.com/repos/clouway-incubator/subnet-management-system/pulls/26/comments","review_comment_url":"https://api.github.com/repos/clouway-incubator/subnet-management-system/pulls/comments{/number}","comments_url":"https://api.github.com/repos/clouway-incubator/subnet-management-system/issues/26/comments","statuses_url":"https://api.github.com/repos/clouway-incubator/subnet-management-system/statuses/a5d69f781955c233deb53b62ef36f5dbbcf6f95d","head":{"label":"freekman:ivan_genchev_new","ref":"ivan_genchev_new","sha":"a5d69f781955c233deb53b62ef36f5dbbcf6f95d","user":{"login":"freekman","id":8199446,"avatar_url":"https://avatars.githubusercontent.com/u/8199446?v=3","gravatar_id":"","url":"https://api.github.com/users/freekman","html_url":"https://github.com/freekman","followers_url":"https://api.github.com/users/freekman/followers","following_url":"https://api.github.com/users/freekman/following{/other_user}","gists_url":"https://api.github.com/users/freekman/gists{/gist_id}","starred_url":"https://api.github.com/users/freekman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freekman/subscriptions","organizations_url":"https://api.github.com/users/freekman/orgs","repos_url":"https://api.github.com/users/freekman/repos","events_url":"https://api.github.com/users/freekman/events{/privacy}","received_events_url":"https://api.github.com/users/freekman/received_events","type":"User","site_admin":false},"repo":{"id":37461025,"name":"subnet-management-system","full_name":"freekman/subnet-management-system","owner":{"login":"freekman","id":8199446,"avatar_url":"https://avatars.githubusercontent.com/u/8199446?v=3","gravatar_id":"","url":"https://api.github.com/users/freekman","html_url":"https://github.com/freekman","followers_url":"https://api.github.com/users/freekman/followers","following_url":"https://api.github.com/users/freekman/following{/other_user}","gists_url":"https://api.github.com/users/freekman/gists{/gist_id}","starred_url":"https://api.github.com/users/freekman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freekman/subscriptions","organizations_url":"https://api.github.com/users/freekman/orgs","repos_url":"https://api.github.com/users/freekman/repos","events_url":"https://api.github.com/users/freekman/events{/privacy}","received_events_url":"https://api.github.com/users/freekman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/freekman/subnet-management-system","description":"Manage subnets","fork":true,"url":"https://api.github.com/repos/freekman/subnet-management-system","forks_url":"https://api.github.com/repos/freekman/subnet-management-system/forks","keys_url":"https://api.github.com/repos/freekman/subnet-management-system/keys{/key_id}","collaborators_url":"https://api.github.com/repos/freekman/subnet-management-system/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/freekman/subnet-management-system/teams","hooks_url":"https://api.github.com/repos/freekman/subnet-management-system/hooks","issue_events_url":"https://api.github.com/repos/freekman/subnet-management-system/issues/events{/number}","events_url":"https://api.github.com/repos/freekman/subnet-management-system/events","assignees_url":"https://api.github.com/repos/freekman/subnet-management-system/assignees{/user}","branches_url":"https://api.github.com/repos/freekman/subnet-management-system/branches{/branch}","tags_url":"https://api.github.com/repos/freekman/subnet-management-system/tags","blobs_url":"https://api.github.com/repos/freekman/subnet-management-system/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/freekman/subnet-management-system/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/freekman/subnet-management-system/git/refs{/sha}","trees_url":"https://api.github.com/repos/freekman/subnet-management-system/git/trees{/sha}","statuses_url":"https://api.github.com/repos/freekman/subnet-management-system/statuses/{sha}","languages_url":"https://api.github.com/repos/freekman/subnet-management-system/languages","stargazers_url":"https://api.github.com/repos/freekman/subnet-management-system/stargazers","contributors_url":"https://api.github.com/repos/freekman/subnet-management-system/contributors","subscribers_url":"https://api.github.com/repos/freekman/subnet-management-system/subscribers","subscription_url":"https://api.github.com/repos/freekman/subnet-management-system/subscription","commits_url":"https://api.github.com/repos/freekman/subnet-management-system/commits{/sha}","git_commits_url":"https://api.github.com/repos/freekman/subnet-management-system/git/commits{/sha}","comments_url":"https://api.github.com/repos/freekman/subnet-management-system/comments{/number}","issue_comment_url":"https://api.github.com/repos/freekman/subnet-management-system/issues/comments{/number}","contents_url":"https://api.github.com/repos/freekman/subnet-management-system/contents/{+path}","compare_url":"https://api.github.com/repos/freekman/subnet-management-system/compare/{base}...{head}","merges_url":"https://api.github.com/repos/freekman/subnet-management-system/merges","archive_url":"https://api.github.com/repos/freekman/subnet-management-system/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/freekman/subnet-management-system/downloads","issues_url":"https://api.github.com/repos/freekman/subnet-management-system/issues{/number}","pulls_url":"https://api.github.com/repos/freekman/subnet-management-system/pulls{/number}","milestones_url":"https://api.github.com/repos/freekman/subnet-management-system/milestones{/number}","notifications_url":"https://api.github.com/repos/freekman/subnet-management-system/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/freekman/subnet-management-system/labels{/name}","releases_url":"https://api.github.com/repos/freekman/subnet-management-system/releases{/id}","created_at":"2015-06-15T11:28:05Z","updated_at":"2015-06-15T11:28:05Z","pushed_at":"2015-07-09T08:35:08Z","git_url":"git://github.com/freekman/subnet-management-system.git","ssh_url":"git@github.com:freekman/subnet-management-system.git","clone_url":"https://github.com/freekman/subnet-management-system.git","svn_url":"https://github.com/freekman/subnet-management-system","homepage":null,"size":1323,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"clouway-incubator:master","ref":"master","sha":"1c9a4047cb91cbcee0e7d7b300f2c5ac6fa6ee1c","user":{"login":"clouway-incubator","id":10173098,"avatar_url":"https://avatars.githubusercontent.com/u/10173098?v=3","gravatar_id":"","url":"https://api.github.com/users/clouway-incubator","html_url":"https://github.com/clouway-incubator","followers_url":"https://api.github.com/users/clouway-incubator/followers","following_url":"https://api.github.com/users/clouway-incubator/following{/other_user}","gists_url":"https://api.github.com/users/clouway-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/clouway-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clouway-incubator/subscriptions","organizations_url":"https://api.github.com/users/clouway-incubator/orgs","repos_url":"https://api.github.com/users/clouway-incubator/repos","events_url":"https://api.github.com/users/clouway-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/clouway-incubator/received_events","type":"Organization","site_admin":false},"repo":{"id":37449766,"name":"subnet-management-system","full_name":"clouway-incubator/subnet-management-system","owner":{"login":"clouway-incubator","id":10173098,"avatar_url":"https://avatars.githubusercontent.com/u/10173098?v=3","gravatar_id":"","url":"https://api.github.com/users/clouway-incubator","html_url":"https://github.com/clouway-incubator","followers_url":"https://api.github.com/users/clouway-incubator/followers","following_url":"https://api.github.com/users/clouway-incubator/following{/other_user}","gists_url":"https://api.github.com/users/clouway-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/clouway-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clouway-incubator/subscriptions","organizations_url":"https://api.github.com/users/clouway-incubator/orgs","repos_url":"https://api.github.com/users/clouway-incubator/repos","events_url":"https://api.github.com/users/clouway-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/clouway-incubator/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/clouway-incubator/subnet-management-system","description":"Manage subnets","fork":false,"url":"https://api.github.com/repos/clouway-incubator/subnet-management-system","forks_url":"https://api.github.com/repos/clouway-incubator/subnet-management-system/forks","keys_url":"https://api.github.com/repos/clouway-incubator/subnet-management-system/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clouway-incubator/subnet-management-system/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clouway-incubator/subnet-management-system/teams","hooks_url":"https://api.github.com/repos/clouway-incubator/subnet-management-system/hooks","issue_events_url":"https://api.github.com/repos/clouway-incubator/subnet-management-system/issues/events{/number}","events_url":"https://api.github.com/repos/clouway-incubator/subnet-management-system/events","assignees_url":"https://api.github.com/repos/clouway-incubator/subnet-management-system/assignees{/user}","branches_url":"https://api.github.com/repos/clouway-incubator/subnet-management-system/branches{/branch}","tags_url":"https://api.github.com/repos/clouway-incubator/subnet-management-system/tags","blobs_url":"https://api.github.com/repos/clouway-incubator/subnet-management-system/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clouway-incubator/subnet-management-system/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clouway-incubator/subnet-management-system/git/refs{/sha}","trees_url":"https://api.github.com/repos/clouway-incubator/subnet-management-system/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clouway-incubator/subnet-management-system/statuses/{sha}","languages_url":"https://api.github.com/repos/clouway-incubator/subnet-management-system/languages","stargazers_url":"https://api.github.com/repos/clouway-incubator/subnet-management-system/stargazers","contributors_url":"https://api.github.com/repos/clouway-incubator/subnet-management-system/contributors","subscribers_url":"https://api.github.com/repos/clouway-incubator/subnet-management-system/subscribers","subscription_url":"https://api.github.com/repos/clouway-incubator/subnet-management-system/subscription","commits_url":"https://api.github.com/repos/clouway-incubator/subnet-management-system/commits{/sha}","git_commits_url":"https://api.github.com/repos/clouway-incubator/subnet-management-system/git/commits{/sha}","comments_url":"https://api.github.com/repos/clouway-incubator/subnet-management-system/comments{/number}","issue_comment_url":"https://api.github.com/repos/clouway-incubator/subnet-management-system/issues/comments{/number}","contents_url":"https://api.github.com/repos/clouway-incubator/subnet-management-system/contents/{+path}","compare_url":"https://api.github.com/repos/clouway-incubator/subnet-management-system/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clouway-incubator/subnet-management-system/merges","archive_url":"https://api.github.com/repos/clouway-incubator/subnet-management-system/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clouway-incubator/subnet-management-system/downloads","issues_url":"https://api.github.com/repos/clouway-incubator/subnet-management-system/issues{/number}","pulls_url":"https://api.github.com/repos/clouway-incubator/subnet-management-system/pulls{/number}","milestones_url":"https://api.github.com/repos/clouway-incubator/subnet-management-system/milestones{/number}","notifications_url":"https://api.github.com/repos/clouway-incubator/subnet-management-system/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clouway-incubator/subnet-management-system/labels{/name}","releases_url":"https://api.github.com/repos/clouway-incubator/subnet-management-system/releases{/id}","created_at":"2015-06-15T07:19:44Z","updated_at":"2015-06-15T10:25:17Z","pushed_at":"2015-07-09T06:40:11Z","git_url":"git://github.com/clouway-incubator/subnet-management-system.git","ssh_url":"git@github.com:clouway-incubator/subnet-management-system.git","clone_url":"https://github.com/clouway-incubator/subnet-management-system.git","svn_url":"https://github.com/clouway-incubator/subnet-management-system","homepage":null,"size":1355,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":8,"forks":2,"open_issues":8,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/clouway-incubator/subnet-management-system/pulls/26"},"html":{"href":"https://github.com/clouway-incubator/subnet-management-system/pull/26"},"issue":{"href":"https://api.github.com/repos/clouway-incubator/subnet-management-system/issues/26"},"comments":{"href":"https://api.github.com/repos/clouway-incubator/subnet-management-system/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/clouway-incubator/subnet-management-system/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/clouway-incubator/subnet-management-system/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/clouway-incubator/subnet-management-system/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/clouway-incubator/subnet-management-system/statuses/a5d69f781955c233deb53b62ef36f5dbbcf6f95d"}}}}