{"action":"created","comment":{"url":"https://api.github.com/repos/NVIDIA/DIGITS/pulls/comments/63665783","id":63665783,"diff_hunk":"@@ -647,12 +659,24 @@ <h4 style=\"display:inline-block;\">Python Layers</h4>\n                                 <div class=\"form-group{{mark_errors([form.custom_network])}}\">\n                                     {{form.custom_network.label}}\n                                     {{form.custom_network.explanation(file='/models/images/classification/custom_network_explanation.html')}}\n-                                    <div class=\"pull-right\">\n-                                        <a href=# class=\"btn btn-info\" onClick=\"return visualizeNetwork();\">Visualize</a>\n-                                    </div>\n-                                    {{form.custom_network(class='form-control', rows=10)}}\n+                                    <div id=\"divCheckbox\" style=\"display: none;\">{{form.custom_network(class='form-control', rows=10)}}</div>\n+                                    <a href=# class=\"btn btn-info\" onClick=\"return visualizeNetwork();\">Visualize</a>\n                                 </div>\n                         </div>\n+                        <div id=\"ace-editor\"></div>\n+                        <script>\n+                            var editor = ace.edit(\"ace-editor\");\n+                            editor.setTheme(\"ace/theme/monokai\");","path":"digits/templates/models/images/classification/new.html","position":152,"original_position":152,"commit_id":"b19e9671bfa1737958bf277203d529571476fa64","original_commit_id":"b19e9671bfa1737958bf277203d529571476fa64","user":{"login":"TimZaman","id":7721540,"avatar_url":"https://avatars.githubusercontent.com/u/7721540?v=3","gravatar_id":"","url":"https://api.github.com/users/TimZaman","html_url":"https://github.com/TimZaman","followers_url":"https://api.github.com/users/TimZaman/followers","following_url":"https://api.github.com/users/TimZaman/following{/other_user}","gists_url":"https://api.github.com/users/TimZaman/gists{/gist_id}","starred_url":"https://api.github.com/users/TimZaman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimZaman/subscriptions","organizations_url":"https://api.github.com/users/TimZaman/orgs","repos_url":"https://api.github.com/users/TimZaman/repos","events_url":"https://api.github.com/users/TimZaman/events{/privacy}","received_events_url":"https://api.github.com/users/TimZaman/received_events","type":"User","site_admin":false},"body":"I feel exactly the same: prefer the dark theme, but the Chrome theme is more in the color theme. Do we go for  Beauty or the Arts, your call? :)","created_at":"2016-05-18T08:41:26Z","updated_at":"2016-05-18T08:41:26Z","html_url":"https://github.com/NVIDIA/DIGITS/pull/751#discussion_r63665783","pull_request_url":"https://api.github.com/repos/NVIDIA/DIGITS/pulls/751","_links":{"self":{"href":"https://api.github.com/repos/NVIDIA/DIGITS/pulls/comments/63665783"},"html":{"href":"https://github.com/NVIDIA/DIGITS/pull/751#discussion_r63665783"},"pull_request":{"href":"https://api.github.com/repos/NVIDIA/DIGITS/pulls/751"}}},"pull_request":{"url":"https://api.github.com/repos/NVIDIA/DIGITS/pulls/751","id":70345282,"html_url":"https://github.com/NVIDIA/DIGITS/pull/751","diff_url":"https://github.com/NVIDIA/DIGITS/pull/751.diff","patch_url":"https://github.com/NVIDIA/DIGITS/pull/751.patch","issue_url":"https://api.github.com/repos/NVIDIA/DIGITS/issues/751","number":751,"state":"open","locked":false,"title":"Ace editor & Model Job UI Tweaks","user":{"login":"TimZaman","id":7721540,"avatar_url":"https://avatars.githubusercontent.com/u/7721540?v=3","gravatar_id":"","url":"https://api.github.com/users/TimZaman","html_url":"https://github.com/TimZaman","followers_url":"https://api.github.com/users/TimZaman/followers","following_url":"https://api.github.com/users/TimZaman/following{/other_user}","gists_url":"https://api.github.com/users/TimZaman/gists{/gist_id}","starred_url":"https://api.github.com/users/TimZaman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimZaman/subscriptions","organizations_url":"https://api.github.com/users/TimZaman/orgs","repos_url":"https://api.github.com/users/TimZaman/repos","events_url":"https://api.github.com/users/TimZaman/events{/privacy}","received_events_url":"https://api.github.com/users/TimZaman/received_events","type":"User","site_admin":false},"body":" Implements #738.\r\n\r\n- [x] Added only the minimal amount of minified Ace libraries\r\n- [x] Ace editor syncs with the custom_network flask box upon interaction\r\n- [x] Implement for classification job\r\n- [x] Implement for generic job\r\n- [x] Change the model creation UI to [3 rows; 1 row; 1 row]\r\n\r\nNote that for purposes of backwards compatibility and maintaining flask/python integrity, the custom_network container is still in place, and only syncs with the ace editor when it has to. Although the file diffs seem to indicate i did a lot, the ace editor is only four .js files and a few LOC, while the majority of the code change is just moving around the `<div>`'s to tweak the model creation UI.","created_at":"2016-05-17T12:07:14Z","updated_at":"2016-05-18T08:41:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5f40e75eb33239a6df85f6f0f7e0f016f69b3e15","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/NVIDIA/DIGITS/pulls/751/commits","review_comments_url":"https://api.github.com/repos/NVIDIA/DIGITS/pulls/751/comments","review_comment_url":"https://api.github.com/repos/NVIDIA/DIGITS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NVIDIA/DIGITS/issues/751/comments","statuses_url":"https://api.github.com/repos/NVIDIA/DIGITS/statuses/b19e9671bfa1737958bf277203d529571476fa64","head":{"label":"brainstorm-ai:ace-editor","ref":"ace-editor","sha":"b19e9671bfa1737958bf277203d529571476fa64","user":{"login":"brainstorm-ai","id":13692281,"avatar_url":"https://avatars.githubusercontent.com/u/13692281?v=3","gravatar_id":"","url":"https://api.github.com/users/brainstorm-ai","html_url":"https://github.com/brainstorm-ai","followers_url":"https://api.github.com/users/brainstorm-ai/followers","following_url":"https://api.github.com/users/brainstorm-ai/following{/other_user}","gists_url":"https://api.github.com/users/brainstorm-ai/gists{/gist_id}","starred_url":"https://api.github.com/users/brainstorm-ai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brainstorm-ai/subscriptions","organizations_url":"https://api.github.com/users/brainstorm-ai/orgs","repos_url":"https://api.github.com/users/brainstorm-ai/repos","events_url":"https://api.github.com/users/brainstorm-ai/events{/privacy}","received_events_url":"https://api.github.com/users/brainstorm-ai/received_events","type":"Organization","site_admin":false},"repo":{"id":55006087,"name":"DIGITS","full_name":"brainstorm-ai/DIGITS","owner":{"login":"brainstorm-ai","id":13692281,"avatar_url":"https://avatars.githubusercontent.com/u/13692281?v=3","gravatar_id":"","url":"https://api.github.com/users/brainstorm-ai","html_url":"https://github.com/brainstorm-ai","followers_url":"https://api.github.com/users/brainstorm-ai/followers","following_url":"https://api.github.com/users/brainstorm-ai/following{/other_user}","gists_url":"https://api.github.com/users/brainstorm-ai/gists{/gist_id}","starred_url":"https://api.github.com/users/brainstorm-ai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brainstorm-ai/subscriptions","organizations_url":"https://api.github.com/users/brainstorm-ai/orgs","repos_url":"https://api.github.com/users/brainstorm-ai/repos","events_url":"https://api.github.com/users/brainstorm-ai/events{/privacy}","received_events_url":"https://api.github.com/users/brainstorm-ai/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/brainstorm-ai/DIGITS","description":"Deep Learning GPU Training System","fork":true,"url":"https://api.github.com/repos/brainstorm-ai/DIGITS","forks_url":"https://api.github.com/repos/brainstorm-ai/DIGITS/forks","keys_url":"https://api.github.com/repos/brainstorm-ai/DIGITS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brainstorm-ai/DIGITS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brainstorm-ai/DIGITS/teams","hooks_url":"https://api.github.com/repos/brainstorm-ai/DIGITS/hooks","issue_events_url":"https://api.github.com/repos/brainstorm-ai/DIGITS/issues/events{/number}","events_url":"https://api.github.com/repos/brainstorm-ai/DIGITS/events","assignees_url":"https://api.github.com/repos/brainstorm-ai/DIGITS/assignees{/user}","branches_url":"https://api.github.com/repos/brainstorm-ai/DIGITS/branches{/branch}","tags_url":"https://api.github.com/repos/brainstorm-ai/DIGITS/tags","blobs_url":"https://api.github.com/repos/brainstorm-ai/DIGITS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brainstorm-ai/DIGITS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brainstorm-ai/DIGITS/git/refs{/sha}","trees_url":"https://api.github.com/repos/brainstorm-ai/DIGITS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brainstorm-ai/DIGITS/statuses/{sha}","languages_url":"https://api.github.com/repos/brainstorm-ai/DIGITS/languages","stargazers_url":"https://api.github.com/repos/brainstorm-ai/DIGITS/stargazers","contributors_url":"https://api.github.com/repos/brainstorm-ai/DIGITS/contributors","subscribers_url":"https://api.github.com/repos/brainstorm-ai/DIGITS/subscribers","subscription_url":"https://api.github.com/repos/brainstorm-ai/DIGITS/subscription","commits_url":"https://api.github.com/repos/brainstorm-ai/DIGITS/commits{/sha}","git_commits_url":"https://api.github.com/repos/brainstorm-ai/DIGITS/git/commits{/sha}","comments_url":"https://api.github.com/repos/brainstorm-ai/DIGITS/comments{/number}","issue_comment_url":"https://api.github.com/repos/brainstorm-ai/DIGITS/issues/comments{/number}","contents_url":"https://api.github.com/repos/brainstorm-ai/DIGITS/contents/{+path}","compare_url":"https://api.github.com/repos/brainstorm-ai/DIGITS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brainstorm-ai/DIGITS/merges","archive_url":"https://api.github.com/repos/brainstorm-ai/DIGITS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brainstorm-ai/DIGITS/downloads","issues_url":"https://api.github.com/repos/brainstorm-ai/DIGITS/issues{/number}","pulls_url":"https://api.github.com/repos/brainstorm-ai/DIGITS/pulls{/number}","milestones_url":"https://api.github.com/repos/brainstorm-ai/DIGITS/milestones{/number}","notifications_url":"https://api.github.com/repos/brainstorm-ai/DIGITS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brainstorm-ai/DIGITS/labels{/name}","releases_url":"https://api.github.com/repos/brainstorm-ai/DIGITS/releases{/id}","deployments_url":"https://api.github.com/repos/brainstorm-ai/DIGITS/deployments","created_at":"2016-03-29T19:50:34Z","updated_at":"2016-03-29T19:50:35Z","pushed_at":"2016-05-17T16:24:55Z","git_url":"git://github.com/brainstorm-ai/DIGITS.git","ssh_url":"git@github.com:brainstorm-ai/DIGITS.git","clone_url":"https://github.com/brainstorm-ai/DIGITS.git","svn_url":"https://github.com/brainstorm-ai/DIGITS","homepage":"https://developer.nvidia.com/digits","size":9484,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"bs/dev"}},"base":{"label":"NVIDIA:master","ref":"master","sha":"6aa8bf6ce22acc08a18c58cccea11509874aebb4","user":{"login":"NVIDIA","id":1728152,"avatar_url":"https://avatars.githubusercontent.com/u/1728152?v=3","gravatar_id":"","url":"https://api.github.com/users/NVIDIA","html_url":"https://github.com/NVIDIA","followers_url":"https://api.github.com/users/NVIDIA/followers","following_url":"https://api.github.com/users/NVIDIA/following{/other_user}","gists_url":"https://api.github.com/users/NVIDIA/gists{/gist_id}","starred_url":"https://api.github.com/users/NVIDIA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NVIDIA/subscriptions","organizations_url":"https://api.github.com/users/NVIDIA/orgs","repos_url":"https://api.github.com/users/NVIDIA/repos","events_url":"https://api.github.com/users/NVIDIA/events{/privacy}","received_events_url":"https://api.github.com/users/NVIDIA/received_events","type":"Organization","site_admin":false},"repo":{"id":32403967,"name":"DIGITS","full_name":"NVIDIA/DIGITS","owner":{"login":"NVIDIA","id":1728152,"avatar_url":"https://avatars.githubusercontent.com/u/1728152?v=3","gravatar_id":"","url":"https://api.github.com/users/NVIDIA","html_url":"https://github.com/NVIDIA","followers_url":"https://api.github.com/users/NVIDIA/followers","following_url":"https://api.github.com/users/NVIDIA/following{/other_user}","gists_url":"https://api.github.com/users/NVIDIA/gists{/gist_id}","starred_url":"https://api.github.com/users/NVIDIA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NVIDIA/subscriptions","organizations_url":"https://api.github.com/users/NVIDIA/orgs","repos_url":"https://api.github.com/users/NVIDIA/repos","events_url":"https://api.github.com/users/NVIDIA/events{/privacy}","received_events_url":"https://api.github.com/users/NVIDIA/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NVIDIA/DIGITS","description":"Deep Learning GPU Training System","fork":false,"url":"https://api.github.com/repos/NVIDIA/DIGITS","forks_url":"https://api.github.com/repos/NVIDIA/DIGITS/forks","keys_url":"https://api.github.com/repos/NVIDIA/DIGITS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NVIDIA/DIGITS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NVIDIA/DIGITS/teams","hooks_url":"https://api.github.com/repos/NVIDIA/DIGITS/hooks","issue_events_url":"https://api.github.com/repos/NVIDIA/DIGITS/issues/events{/number}","events_url":"https://api.github.com/repos/NVIDIA/DIGITS/events","assignees_url":"https://api.github.com/repos/NVIDIA/DIGITS/assignees{/user}","branches_url":"https://api.github.com/repos/NVIDIA/DIGITS/branches{/branch}","tags_url":"https://api.github.com/repos/NVIDIA/DIGITS/tags","blobs_url":"https://api.github.com/repos/NVIDIA/DIGITS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NVIDIA/DIGITS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NVIDIA/DIGITS/git/refs{/sha}","trees_url":"https://api.github.com/repos/NVIDIA/DIGITS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NVIDIA/DIGITS/statuses/{sha}","languages_url":"https://api.github.com/repos/NVIDIA/DIGITS/languages","stargazers_url":"https://api.github.com/repos/NVIDIA/DIGITS/stargazers","contributors_url":"https://api.github.com/repos/NVIDIA/DIGITS/contributors","subscribers_url":"https://api.github.com/repos/NVIDIA/DIGITS/subscribers","subscription_url":"https://api.github.com/repos/NVIDIA/DIGITS/subscription","commits_url":"https://api.github.com/repos/NVIDIA/DIGITS/commits{/sha}","git_commits_url":"https://api.github.com/repos/NVIDIA/DIGITS/git/commits{/sha}","comments_url":"https://api.github.com/repos/NVIDIA/DIGITS/comments{/number}","issue_comment_url":"https://api.github.com/repos/NVIDIA/DIGITS/issues/comments{/number}","contents_url":"https://api.github.com/repos/NVIDIA/DIGITS/contents/{+path}","compare_url":"https://api.github.com/repos/NVIDIA/DIGITS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NVIDIA/DIGITS/merges","archive_url":"https://api.github.com/repos/NVIDIA/DIGITS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NVIDIA/DIGITS/downloads","issues_url":"https://api.github.com/repos/NVIDIA/DIGITS/issues{/number}","pulls_url":"https://api.github.com/repos/NVIDIA/DIGITS/pulls{/number}","milestones_url":"https://api.github.com/repos/NVIDIA/DIGITS/milestones{/number}","notifications_url":"https://api.github.com/repos/NVIDIA/DIGITS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NVIDIA/DIGITS/labels{/name}","releases_url":"https://api.github.com/repos/NVIDIA/DIGITS/releases{/id}","deployments_url":"https://api.github.com/repos/NVIDIA/DIGITS/deployments","created_at":"2015-03-17T16:00:20Z","updated_at":"2016-05-18T08:36:23Z","pushed_at":"2016-05-18T07:07:57Z","git_url":"git://github.com/NVIDIA/DIGITS.git","ssh_url":"git@github.com:NVIDIA/DIGITS.git","clone_url":"https://github.com/NVIDIA/DIGITS.git","svn_url":"https://github.com/NVIDIA/DIGITS","homepage":"https://developer.nvidia.com/digits","size":14169,"stargazers_count":1139,"watchers_count":1139,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":332,"mirror_url":null,"open_issues_count":69,"forks":332,"open_issues":69,"watchers":1139,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NVIDIA/DIGITS/pulls/751"},"html":{"href":"https://github.com/NVIDIA/DIGITS/pull/751"},"issue":{"href":"https://api.github.com/repos/NVIDIA/DIGITS/issues/751"},"comments":{"href":"https://api.github.com/repos/NVIDIA/DIGITS/issues/751/comments"},"review_comments":{"href":"https://api.github.com/repos/NVIDIA/DIGITS/pulls/751/comments"},"review_comment":{"href":"https://api.github.com/repos/NVIDIA/DIGITS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NVIDIA/DIGITS/pulls/751/commits"},"statuses":{"href":"https://api.github.com/repos/NVIDIA/DIGITS/statuses/b19e9671bfa1737958bf277203d529571476fa64"}}}}