{"action":"created","comment":{"url":"https://api.github.com/repos/lalwr/SimpleShopping/pulls/comments/186281136","pull_request_review_id":117833974,"id":186281136,"diff_hunk":"@@ -0,0 +1,42 @@\n+<!DOCTYPE html>\n+<html lang=\"ko\" xmlns=\"http://www.w3.org/1999/xhtml\" xmlns:th=\"http://www.thymeleaf.org\"\n+      xmlns:layout=\"http://www.ultraq.net.nz/thymeleaf/layout\" layout:decorator=\"admin/layout/main_layout\">\n+\n+<th:block layout:fragment=\"html_head\">\n+\n+    <title>카테고리 목록보기</title>\n+</th:block>\n+\n+<th:block layout:fragment=\"body_main\">\n+    <div style=\"margin-top: 40px\"></div>\n+    <form th:action=\"@{/admin/category}\" action=\"#\" method=\"post\" id=\"addForm\">\n+        <div class=\"form-group\" style=\"text-align:center;\">\n+            <input type=\"text\" class=\"form-control\" id=\"ctgrName\"\n+                   aria-describedby=\"categoryHelp\" placeholder=\"카테고리 명\" name=\"name\"\n+                    style=\"width: 20%;display:inline-block;\">\n+            <button type=\"submit\" class=\"btn btn-sm btn-outline-secondary\" >\n+                추가\n+            </button>\n+        </div>\n+    </form>\n+    <form th:action=\"@{/admin/category/list}\" action=\"#\" method=\"post\" id=\"modifyForm\">\n+        <div style=\"text-align:center;margin:60px 0px 20px 0px;\">\n+            <div th:if=\"${not #lists.isEmpty(categoryList)}\" th:each=\"ctgr, status: ${categoryList}\">\n+                <input type=\"checkbox\" th:name=\"no\" th:value=\"${ctgr.no}\" th:data-idx = \"${status.index}\">\n+                <input type=\"text\" th:name=\"name\" th:value=\"${ctgr.name}\" th:id=\"'name.'+${status.index}\">\n+            </div>\n+            <button type=\"button\" class=\"btn btn-sm btn-outline-secondary\" th:onclick=\"'submitWithJson(\\'PUT\\', \\'no\\', \\'data-idx\\', \\'categoryList\\', [\\'name\\']);'\">\n+                선택 수정\n+            </button>\n+            <button type=\"button\" class=\"btn btn-sm btn-outline-secondary\" th:onclick=\"'submitWithJson(\\'DELETE\\', \\'no\\', \\'data-idx\\', \\'categoryList\\', [\\'name\\']);'\">\n+                선택 삭제\n+            </button>\n+        </div>\n+    </form>\n+\n+    <script th:inline=\"javascript\">\n+        var context = /*[[@{/}]]*/ '/';","path":"src/main/resources/templates/admin/category/category_list.html","position":38,"original_position":38,"commit_id":"74b3023b9dfaade0985e7789f0c6f73587747e28","original_commit_id":"a52718b037671df6eef212f0fe0e52e8ecc31d7b","user":{"login":"machme","id":37540198,"avatar_url":"https://avatars2.githubusercontent.com/u/37540198?v=4","gravatar_id":"","url":"https://api.github.com/users/machme","html_url":"https://github.com/machme","followers_url":"https://api.github.com/users/machme/followers","following_url":"https://api.github.com/users/machme/following{/other_user}","gists_url":"https://api.github.com/users/machme/gists{/gist_id}","starred_url":"https://api.github.com/users/machme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/machme/subscriptions","organizations_url":"https://api.github.com/users/machme/orgs","repos_url":"https://api.github.com/users/machme/repos","events_url":"https://api.github.com/users/machme/events{/privacy}","received_events_url":"https://api.github.com/users/machme/received_events","type":"User","site_admin":false},"body":"contextpath 저장하기 위한 변수인데 제가 알기론 js파일 내에서 contextpath를 알 수 있는 방법이 없어서 외부에 있는 contextpath를 사용하도록 했어요.","created_at":"2018-05-06T07:32:32Z","updated_at":"2018-05-06T07:32:32Z","html_url":"https://github.com/lalwr/SimpleShopping/pull/15#discussion_r186281136","pull_request_url":"https://api.github.com/repos/lalwr/SimpleShopping/pulls/15","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/lalwr/SimpleShopping/pulls/comments/186281136"},"html":{"href":"https://github.com/lalwr/SimpleShopping/pull/15#discussion_r186281136"},"pull_request":{"href":"https://api.github.com/repos/lalwr/SimpleShopping/pulls/15"}},"in_reply_to_id":186279726},"pull_request":{"url":"https://api.github.com/repos/lalwr/SimpleShopping/pulls/15","id":184867913,"html_url":"https://github.com/lalwr/SimpleShopping/pull/15","diff_url":"https://github.com/lalwr/SimpleShopping/pull/15.diff","patch_url":"https://github.com/lalwr/SimpleShopping/pull/15.patch","issue_url":"https://api.github.com/repos/lalwr/SimpleShopping/issues/15","number":15,"state":"open","locked":false,"title":"feat: category_list / update / remove","user":{"login":"machme","id":37540198,"avatar_url":"https://avatars2.githubusercontent.com/u/37540198?v=4","gravatar_id":"","url":"https://api.github.com/users/machme","html_url":"https://github.com/machme","followers_url":"https://api.github.com/users/machme/followers","following_url":"https://api.github.com/users/machme/following{/other_user}","gists_url":"https://api.github.com/users/machme/gists{/gist_id}","starred_url":"https://api.github.com/users/machme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/machme/subscriptions","organizations_url":"https://api.github.com/users/machme/orgs","repos_url":"https://api.github.com/users/machme/repos","events_url":"https://api.github.com/users/machme/events{/privacy}","received_events_url":"https://api.github.com/users/machme/received_events","type":"User","site_admin":false},"body":"HttpMethodFilter 추가, DTO폴더 추가, 카테고리 메뉴추가, 카테고리 리스트, 수정, 삭제 기능 추가\r\n, admin footer 수정\r\n+feed back 반영 하였습니다\r\n+fix: malfunctioning page\r\n+feed back 반영 하였습니다","created_at":"2018-04-30T01:53:24Z","updated_at":"2018-05-06T07:32:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"aee3de12080600327cbd924a05aed0b4f50a6af1","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/lalwr/SimpleShopping/pulls/15/commits","review_comments_url":"https://api.github.com/repos/lalwr/SimpleShopping/pulls/15/comments","review_comment_url":"https://api.github.com/repos/lalwr/SimpleShopping/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lalwr/SimpleShopping/issues/15/comments","statuses_url":"https://api.github.com/repos/lalwr/SimpleShopping/statuses/74b3023b9dfaade0985e7789f0c6f73587747e28","head":{"label":"lalwr:feature/admin/category_list","ref":"feature/admin/category_list","sha":"74b3023b9dfaade0985e7789f0c6f73587747e28","user":{"login":"lalwr","id":10543163,"avatar_url":"https://avatars1.githubusercontent.com/u/10543163?v=4","gravatar_id":"","url":"https://api.github.com/users/lalwr","html_url":"https://github.com/lalwr","followers_url":"https://api.github.com/users/lalwr/followers","following_url":"https://api.github.com/users/lalwr/following{/other_user}","gists_url":"https://api.github.com/users/lalwr/gists{/gist_id}","starred_url":"https://api.github.com/users/lalwr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lalwr/subscriptions","organizations_url":"https://api.github.com/users/lalwr/orgs","repos_url":"https://api.github.com/users/lalwr/repos","events_url":"https://api.github.com/users/lalwr/events{/privacy}","received_events_url":"https://api.github.com/users/lalwr/received_events","type":"User","site_admin":false},"repo":{"id":130333986,"name":"SimpleShopping","full_name":"lalwr/SimpleShopping","owner":{"login":"lalwr","id":10543163,"avatar_url":"https://avatars1.githubusercontent.com/u/10543163?v=4","gravatar_id":"","url":"https://api.github.com/users/lalwr","html_url":"https://github.com/lalwr","followers_url":"https://api.github.com/users/lalwr/followers","following_url":"https://api.github.com/users/lalwr/following{/other_user}","gists_url":"https://api.github.com/users/lalwr/gists{/gist_id}","starred_url":"https://api.github.com/users/lalwr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lalwr/subscriptions","organizations_url":"https://api.github.com/users/lalwr/orgs","repos_url":"https://api.github.com/users/lalwr/repos","events_url":"https://api.github.com/users/lalwr/events{/privacy}","received_events_url":"https://api.github.com/users/lalwr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lalwr/SimpleShopping","description":null,"fork":false,"url":"https://api.github.com/repos/lalwr/SimpleShopping","forks_url":"https://api.github.com/repos/lalwr/SimpleShopping/forks","keys_url":"https://api.github.com/repos/lalwr/SimpleShopping/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lalwr/SimpleShopping/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lalwr/SimpleShopping/teams","hooks_url":"https://api.github.com/repos/lalwr/SimpleShopping/hooks","issue_events_url":"https://api.github.com/repos/lalwr/SimpleShopping/issues/events{/number}","events_url":"https://api.github.com/repos/lalwr/SimpleShopping/events","assignees_url":"https://api.github.com/repos/lalwr/SimpleShopping/assignees{/user}","branches_url":"https://api.github.com/repos/lalwr/SimpleShopping/branches{/branch}","tags_url":"https://api.github.com/repos/lalwr/SimpleShopping/tags","blobs_url":"https://api.github.com/repos/lalwr/SimpleShopping/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lalwr/SimpleShopping/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lalwr/SimpleShopping/git/refs{/sha}","trees_url":"https://api.github.com/repos/lalwr/SimpleShopping/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lalwr/SimpleShopping/statuses/{sha}","languages_url":"https://api.github.com/repos/lalwr/SimpleShopping/languages","stargazers_url":"https://api.github.com/repos/lalwr/SimpleShopping/stargazers","contributors_url":"https://api.github.com/repos/lalwr/SimpleShopping/contributors","subscribers_url":"https://api.github.com/repos/lalwr/SimpleShopping/subscribers","subscription_url":"https://api.github.com/repos/lalwr/SimpleShopping/subscription","commits_url":"https://api.github.com/repos/lalwr/SimpleShopping/commits{/sha}","git_commits_url":"https://api.github.com/repos/lalwr/SimpleShopping/git/commits{/sha}","comments_url":"https://api.github.com/repos/lalwr/SimpleShopping/comments{/number}","issue_comment_url":"https://api.github.com/repos/lalwr/SimpleShopping/issues/comments{/number}","contents_url":"https://api.github.com/repos/lalwr/SimpleShopping/contents/{+path}","compare_url":"https://api.github.com/repos/lalwr/SimpleShopping/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lalwr/SimpleShopping/merges","archive_url":"https://api.github.com/repos/lalwr/SimpleShopping/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lalwr/SimpleShopping/downloads","issues_url":"https://api.github.com/repos/lalwr/SimpleShopping/issues{/number}","pulls_url":"https://api.github.com/repos/lalwr/SimpleShopping/pulls{/number}","milestones_url":"https://api.github.com/repos/lalwr/SimpleShopping/milestones{/number}","notifications_url":"https://api.github.com/repos/lalwr/SimpleShopping/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lalwr/SimpleShopping/labels{/name}","releases_url":"https://api.github.com/repos/lalwr/SimpleShopping/releases{/id}","deployments_url":"https://api.github.com/repos/lalwr/SimpleShopping/deployments","created_at":"2018-04-20T08:34:03Z","updated_at":"2018-04-30T15:58:20Z","pushed_at":"2018-05-06T07:22:19Z","git_url":"git://github.com/lalwr/SimpleShopping.git","ssh_url":"git@github.com:lalwr/SimpleShopping.git","clone_url":"https://github.com/lalwr/SimpleShopping.git","svn_url":"https://github.com/lalwr/SimpleShopping","homepage":null,"size":111,"stargazers_count":0,"watchers_count":0,"language":"Java","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":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"develop"}},"base":{"label":"lalwr:develop","ref":"develop","sha":"673288ddd63b3859cf1b2c229bb8715f7efa3628","user":{"login":"lalwr","id":10543163,"avatar_url":"https://avatars1.githubusercontent.com/u/10543163?v=4","gravatar_id":"","url":"https://api.github.com/users/lalwr","html_url":"https://github.com/lalwr","followers_url":"https://api.github.com/users/lalwr/followers","following_url":"https://api.github.com/users/lalwr/following{/other_user}","gists_url":"https://api.github.com/users/lalwr/gists{/gist_id}","starred_url":"https://api.github.com/users/lalwr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lalwr/subscriptions","organizations_url":"https://api.github.com/users/lalwr/orgs","repos_url":"https://api.github.com/users/lalwr/repos","events_url":"https://api.github.com/users/lalwr/events{/privacy}","received_events_url":"https://api.github.com/users/lalwr/received_events","type":"User","site_admin":false},"repo":{"id":130333986,"name":"SimpleShopping","full_name":"lalwr/SimpleShopping","owner":{"login":"lalwr","id":10543163,"avatar_url":"https://avatars1.githubusercontent.com/u/10543163?v=4","gravatar_id":"","url":"https://api.github.com/users/lalwr","html_url":"https://github.com/lalwr","followers_url":"https://api.github.com/users/lalwr/followers","following_url":"https://api.github.com/users/lalwr/following{/other_user}","gists_url":"https://api.github.com/users/lalwr/gists{/gist_id}","starred_url":"https://api.github.com/users/lalwr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lalwr/subscriptions","organizations_url":"https://api.github.com/users/lalwr/orgs","repos_url":"https://api.github.com/users/lalwr/repos","events_url":"https://api.github.com/users/lalwr/events{/privacy}","received_events_url":"https://api.github.com/users/lalwr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lalwr/SimpleShopping","description":null,"fork":false,"url":"https://api.github.com/repos/lalwr/SimpleShopping","forks_url":"https://api.github.com/repos/lalwr/SimpleShopping/forks","keys_url":"https://api.github.com/repos/lalwr/SimpleShopping/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lalwr/SimpleShopping/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lalwr/SimpleShopping/teams","hooks_url":"https://api.github.com/repos/lalwr/SimpleShopping/hooks","issue_events_url":"https://api.github.com/repos/lalwr/SimpleShopping/issues/events{/number}","events_url":"https://api.github.com/repos/lalwr/SimpleShopping/events","assignees_url":"https://api.github.com/repos/lalwr/SimpleShopping/assignees{/user}","branches_url":"https://api.github.com/repos/lalwr/SimpleShopping/branches{/branch}","tags_url":"https://api.github.com/repos/lalwr/SimpleShopping/tags","blobs_url":"https://api.github.com/repos/lalwr/SimpleShopping/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lalwr/SimpleShopping/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lalwr/SimpleShopping/git/refs{/sha}","trees_url":"https://api.github.com/repos/lalwr/SimpleShopping/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lalwr/SimpleShopping/statuses/{sha}","languages_url":"https://api.github.com/repos/lalwr/SimpleShopping/languages","stargazers_url":"https://api.github.com/repos/lalwr/SimpleShopping/stargazers","contributors_url":"https://api.github.com/repos/lalwr/SimpleShopping/contributors","subscribers_url":"https://api.github.com/repos/lalwr/SimpleShopping/subscribers","subscription_url":"https://api.github.com/repos/lalwr/SimpleShopping/subscription","commits_url":"https://api.github.com/repos/lalwr/SimpleShopping/commits{/sha}","git_commits_url":"https://api.github.com/repos/lalwr/SimpleShopping/git/commits{/sha}","comments_url":"https://api.github.com/repos/lalwr/SimpleShopping/comments{/number}","issue_comment_url":"https://api.github.com/repos/lalwr/SimpleShopping/issues/comments{/number}","contents_url":"https://api.github.com/repos/lalwr/SimpleShopping/contents/{+path}","compare_url":"https://api.github.com/repos/lalwr/SimpleShopping/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lalwr/SimpleShopping/merges","archive_url":"https://api.github.com/repos/lalwr/SimpleShopping/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lalwr/SimpleShopping/downloads","issues_url":"https://api.github.com/repos/lalwr/SimpleShopping/issues{/number}","pulls_url":"https://api.github.com/repos/lalwr/SimpleShopping/pulls{/number}","milestones_url":"https://api.github.com/repos/lalwr/SimpleShopping/milestones{/number}","notifications_url":"https://api.github.com/repos/lalwr/SimpleShopping/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lalwr/SimpleShopping/labels{/name}","releases_url":"https://api.github.com/repos/lalwr/SimpleShopping/releases{/id}","deployments_url":"https://api.github.com/repos/lalwr/SimpleShopping/deployments","created_at":"2018-04-20T08:34:03Z","updated_at":"2018-04-30T15:58:20Z","pushed_at":"2018-05-06T07:22:19Z","git_url":"git://github.com/lalwr/SimpleShopping.git","ssh_url":"git@github.com:lalwr/SimpleShopping.git","clone_url":"https://github.com/lalwr/SimpleShopping.git","svn_url":"https://github.com/lalwr/SimpleShopping","homepage":null,"size":111,"stargazers_count":0,"watchers_count":0,"language":"Java","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":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/lalwr/SimpleShopping/pulls/15"},"html":{"href":"https://github.com/lalwr/SimpleShopping/pull/15"},"issue":{"href":"https://api.github.com/repos/lalwr/SimpleShopping/issues/15"},"comments":{"href":"https://api.github.com/repos/lalwr/SimpleShopping/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/lalwr/SimpleShopping/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/lalwr/SimpleShopping/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lalwr/SimpleShopping/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/lalwr/SimpleShopping/statuses/74b3023b9dfaade0985e7789f0c6f73587747e28"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"machme"}}