{"action":"created","comment":{"url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/pulls/comments/66458330","id":66458330,"diff_hunk":"@@ -0,0 +1,105 @@\n+<section class=\"mainbar\">\n+  <section class=\"matter\">\n+    <div class=\"container\">\n+      <div class=\"row\">\n+\n+        <!-- Main table column -->\n+        <div class=\"col-md-6\">\n+          <div class=\"widget wblue\">\n+            <div ht-widget-header title=\"Houses\"></div>\n+            <table class=\"table table-hover\">\n+              <thead>\n+              <tr>\n+                <th>Id</th>\n+                <th>Name</th>\n+                <th>Zoo Zone</th>\n+                <th>Capacity</th>\n+                <th>Population</th>\n+              </tr>\n+              </thead>\n+              <tbody>\n+              <tr ng-repeat=\"house in vm.houses\" ng-click=\"vm.selectHouse(house)\"\n+                  ng-class=\"{'info':vm.selectedHouse==house}\">\n+                <td>{{house.id}}</td>\n+                <td>{{house.name}}</td>\n+                <td>{{vm.getZoneName(house.zone.id)}}</td>\n+                <td>{{house.maxCapacity}}</td>\n+                <td> ...</td>\n+              </tr>\n+              </tbody>\n+            </table>\n+            <nav>\n+              <ul class=\"pagination\">\n+                <li class=\"disabled\"><a href=\"#\" aria-label=\"Previous\"><span aria-hidden=\"true\">&laquo;</span></a></li>\n+                <li class=\"active\"><a href=\"#\">1 </a></li>\n+                <li><a href=\"#\">2</a></li>\n+              </ul>\n+            </nav>\n+          </div>\n+        </div>\n+\n+        <!-- Properties column -->\n+        <div class=\"col-md-6\" ng-hide=\"vm.selectedHouse == null\">\n+          <div class=\"widget wgreen\">\n+            <div ht-widget-header title=\"Properties\"></div>\n+            <form class=\"\">\n+              <div class=\"form-group input-group\">\n+                <span class=\"input-group-addon\"> House name: </span>\n+                <input type=\"text\" class=\"form-control\" placeholder=\"...\" ng-model=\"vm.selectedHouse.name\">\n+              </div>\n+              <div class=\"form-group input-group\">\n+                <span class=\"input-group-addon\"> Capacity: </span>\n+                <input type=\"text\" class=\"form-control\" placeholder=\"...\" ng-model=\"vm.selectedHouse.maxCapacity\">\n+              </div>\n+              <div class=\"form-group input-group\">\n+                <span class=\"input-group-addon\"> Zoo zone: </span>\n+                <select class=\"form-control\" name=\"zooZonesDropdown\"\n+                        ng-options=\"zone.name for zone in vm.zooZones track by zone.id\"\n+                        ng-model=\"vm.selectedHouse.zone\"></select>\n+              </div>\n+              <div class=\"form-group input-group\">\n+                <button class=\"btn btn-default form-control\" ng-click=\"vm.updateHouse(vm.selectedHouse)\">Save</button>\n+              </div>\n+            </form>\n+            <br/>\n+            <div class=\"panel panel-default\">\n+              <div class=\"panel-heading\" data-toggle=\"collapse\">Animals in the house</div>\n+              <div class=\"panel-body\" ng-hide=\"vm.hasAnimals()\">\n+                <p>No animals staged.</p>\n+              </div>\n+              <table class=\"table table-hover\" ng-show=\"vm.hasAnimals()\">\n+                <thead>\n+                <tr>\n+                  <th>Id</th>\n+                  <th>Name</th>\n+                  <th>Species</th>\n+                </tr>\n+                </thead>\n+                <tbody>\n+                <tr ng-repeat=\"animal in vm.animals\">\n+                  <td>{{animal.id}}</td>\n+                  <td>{{animal.nickname}}</td>\n+                  <td>{{animal.species.id}}</td>\n+                </tr>\n+                </tbody>\n+              </table>\n+            </div>\n+          </div>\n+        </div>\n+      </div>\n+    </div>\n+  </section>\n+</section>\n+\n+<style>","path":"src/client/app/houses/houses.html","position":94,"original_position":94,"commit_id":"6576fe84443cbee6b94d14833449f51ac22e6972","original_commit_id":"6576fe84443cbee6b94d14833449f51ac22e6972","user":{"login":"ITsvetkoFF","id":7273003,"avatar_url":"https://avatars.githubusercontent.com/u/7273003?v=3","gravatar_id":"","url":"https://api.github.com/users/ITsvetkoFF","html_url":"https://github.com/ITsvetkoFF","followers_url":"https://api.github.com/users/ITsvetkoFF/followers","following_url":"https://api.github.com/users/ITsvetkoFF/following{/other_user}","gists_url":"https://api.github.com/users/ITsvetkoFF/gists{/gist_id}","starred_url":"https://api.github.com/users/ITsvetkoFF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ITsvetkoFF/subscriptions","organizations_url":"https://api.github.com/users/ITsvetkoFF/orgs","repos_url":"https://api.github.com/users/ITsvetkoFF/repos","events_url":"https://api.github.com/users/ITsvetkoFF/events{/privacy}","received_events_url":"https://api.github.com/users/ITsvetkoFF/received_events","type":"User","site_admin":false},"body":"let's transfer this to our `less` file. And consider changing John Pappa's styles on form-controls if any!","created_at":"2016-06-09T15:03:36Z","updated_at":"2016-06-09T15:03:36Z","html_url":"https://github.com/ITsvetkoFF/Kv-014.frontend/pull/6#discussion_r66458330","pull_request_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/pulls/comments/66458330"},"html":{"href":"https://github.com/ITsvetkoFF/Kv-014.frontend/pull/6#discussion_r66458330"},"pull_request":{"href":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/pulls/6","id":73208962,"html_url":"https://github.com/ITsvetkoFF/Kv-014.frontend/pull/6","diff_url":"https://github.com/ITsvetkoFF/Kv-014.frontend/pull/6.diff","patch_url":"https://github.com/ITsvetkoFF/Kv-014.frontend/pull/6.patch","issue_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/issues/6","number":6,"state":"open","locked":false,"title":"Houses tab basic functionality","user":{"login":"inihlus","id":12471986,"avatar_url":"https://avatars.githubusercontent.com/u/12471986?v=3","gravatar_id":"","url":"https://api.github.com/users/inihlus","html_url":"https://github.com/inihlus","followers_url":"https://api.github.com/users/inihlus/followers","following_url":"https://api.github.com/users/inihlus/following{/other_user}","gists_url":"https://api.github.com/users/inihlus/gists{/gist_id}","starred_url":"https://api.github.com/users/inihlus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inihlus/subscriptions","organizations_url":"https://api.github.com/users/inihlus/orgs","repos_url":"https://api.github.com/users/inihlus/repos","events_url":"https://api.github.com/users/inihlus/events{/privacy}","received_events_url":"https://api.github.com/users/inihlus/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-09T12:58:21Z","updated_at":"2016-06-09T15:03:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"67e1b94c13659c954b7b78853160b137b5b3416b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/pulls/6/commits","review_comments_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/pulls/6/comments","review_comment_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/issues/6/comments","statuses_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/statuses/6576fe84443cbee6b94d14833449f51ac22e6972","head":{"label":"ITsvetkoFF:feature/houses","ref":"feature/houses","sha":"6576fe84443cbee6b94d14833449f51ac22e6972","user":{"login":"ITsvetkoFF","id":7273003,"avatar_url":"https://avatars.githubusercontent.com/u/7273003?v=3","gravatar_id":"","url":"https://api.github.com/users/ITsvetkoFF","html_url":"https://github.com/ITsvetkoFF","followers_url":"https://api.github.com/users/ITsvetkoFF/followers","following_url":"https://api.github.com/users/ITsvetkoFF/following{/other_user}","gists_url":"https://api.github.com/users/ITsvetkoFF/gists{/gist_id}","starred_url":"https://api.github.com/users/ITsvetkoFF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ITsvetkoFF/subscriptions","organizations_url":"https://api.github.com/users/ITsvetkoFF/orgs","repos_url":"https://api.github.com/users/ITsvetkoFF/repos","events_url":"https://api.github.com/users/ITsvetkoFF/events{/privacy}","received_events_url":"https://api.github.com/users/ITsvetkoFF/received_events","type":"User","site_admin":false},"repo":{"id":59566015,"name":"Kv-014.frontend","full_name":"ITsvetkoFF/Kv-014.frontend","owner":{"login":"ITsvetkoFF","id":7273003,"avatar_url":"https://avatars.githubusercontent.com/u/7273003?v=3","gravatar_id":"","url":"https://api.github.com/users/ITsvetkoFF","html_url":"https://github.com/ITsvetkoFF","followers_url":"https://api.github.com/users/ITsvetkoFF/followers","following_url":"https://api.github.com/users/ITsvetkoFF/following{/other_user}","gists_url":"https://api.github.com/users/ITsvetkoFF/gists{/gist_id}","starred_url":"https://api.github.com/users/ITsvetkoFF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ITsvetkoFF/subscriptions","organizations_url":"https://api.github.com/users/ITsvetkoFF/orgs","repos_url":"https://api.github.com/users/ITsvetkoFF/repos","events_url":"https://api.github.com/users/ITsvetkoFF/events{/privacy}","received_events_url":"https://api.github.com/users/ITsvetkoFF/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ITsvetkoFF/Kv-014.frontend","description":"","fork":false,"url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend","forks_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/forks","keys_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/teams","hooks_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/hooks","issue_events_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/issues/events{/number}","events_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/events","assignees_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/assignees{/user}","branches_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/branches{/branch}","tags_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/tags","blobs_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/languages","stargazers_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/stargazers","contributors_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/contributors","subscribers_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/subscribers","subscription_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/subscription","commits_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/contents/{+path}","compare_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/merges","archive_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/downloads","issues_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/issues{/number}","pulls_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/labels{/name}","releases_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/releases{/id}","deployments_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/deployments","created_at":"2016-05-24T11:08:59Z","updated_at":"2016-05-24T11:45:58Z","pushed_at":"2016-06-09T12:58:21Z","git_url":"git://github.com/ITsvetkoFF/Kv-014.frontend.git","ssh_url":"git@github.com:ITsvetkoFF/Kv-014.frontend.git","clone_url":"https://github.com/ITsvetkoFF/Kv-014.frontend.git","svn_url":"https://github.com/ITsvetkoFF/Kv-014.frontend","homepage":null,"size":136,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"develop"}},"base":{"label":"ITsvetkoFF:develop","ref":"develop","sha":"89ee3d84ca24757111c1453aada3b4f0435f3e3d","user":{"login":"ITsvetkoFF","id":7273003,"avatar_url":"https://avatars.githubusercontent.com/u/7273003?v=3","gravatar_id":"","url":"https://api.github.com/users/ITsvetkoFF","html_url":"https://github.com/ITsvetkoFF","followers_url":"https://api.github.com/users/ITsvetkoFF/followers","following_url":"https://api.github.com/users/ITsvetkoFF/following{/other_user}","gists_url":"https://api.github.com/users/ITsvetkoFF/gists{/gist_id}","starred_url":"https://api.github.com/users/ITsvetkoFF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ITsvetkoFF/subscriptions","organizations_url":"https://api.github.com/users/ITsvetkoFF/orgs","repos_url":"https://api.github.com/users/ITsvetkoFF/repos","events_url":"https://api.github.com/users/ITsvetkoFF/events{/privacy}","received_events_url":"https://api.github.com/users/ITsvetkoFF/received_events","type":"User","site_admin":false},"repo":{"id":59566015,"name":"Kv-014.frontend","full_name":"ITsvetkoFF/Kv-014.frontend","owner":{"login":"ITsvetkoFF","id":7273003,"avatar_url":"https://avatars.githubusercontent.com/u/7273003?v=3","gravatar_id":"","url":"https://api.github.com/users/ITsvetkoFF","html_url":"https://github.com/ITsvetkoFF","followers_url":"https://api.github.com/users/ITsvetkoFF/followers","following_url":"https://api.github.com/users/ITsvetkoFF/following{/other_user}","gists_url":"https://api.github.com/users/ITsvetkoFF/gists{/gist_id}","starred_url":"https://api.github.com/users/ITsvetkoFF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ITsvetkoFF/subscriptions","organizations_url":"https://api.github.com/users/ITsvetkoFF/orgs","repos_url":"https://api.github.com/users/ITsvetkoFF/repos","events_url":"https://api.github.com/users/ITsvetkoFF/events{/privacy}","received_events_url":"https://api.github.com/users/ITsvetkoFF/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ITsvetkoFF/Kv-014.frontend","description":"","fork":false,"url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend","forks_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/forks","keys_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/teams","hooks_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/hooks","issue_events_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/issues/events{/number}","events_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/events","assignees_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/assignees{/user}","branches_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/branches{/branch}","tags_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/tags","blobs_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/languages","stargazers_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/stargazers","contributors_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/contributors","subscribers_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/subscribers","subscription_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/subscription","commits_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/contents/{+path}","compare_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/merges","archive_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/downloads","issues_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/issues{/number}","pulls_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/labels{/name}","releases_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/releases{/id}","deployments_url":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/deployments","created_at":"2016-05-24T11:08:59Z","updated_at":"2016-05-24T11:45:58Z","pushed_at":"2016-06-09T12:58:21Z","git_url":"git://github.com/ITsvetkoFF/Kv-014.frontend.git","ssh_url":"git@github.com:ITsvetkoFF/Kv-014.frontend.git","clone_url":"https://github.com/ITsvetkoFF/Kv-014.frontend.git","svn_url":"https://github.com/ITsvetkoFF/Kv-014.frontend","homepage":null,"size":136,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/pulls/6"},"html":{"href":"https://github.com/ITsvetkoFF/Kv-014.frontend/pull/6"},"issue":{"href":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/issues/6"},"comments":{"href":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/ITsvetkoFF/Kv-014.frontend/statuses/6576fe84443cbee6b94d14833449f51ac22e6972"}}}}
{"actor":{"display_login":"ITsvetkoFF"}}