{"action":"created","issue":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/11030","repository_url":"https://api.github.com/repos/joomla/joomla-cms","labels_url":"https://api.github.com/repos/joomla/joomla-cms/issues/11030/labels{/name}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/11030/comments","events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/11030/events","html_url":"https://github.com/joomla/joomla-cms/pull/11030","id":163935934,"number":11030,"title":"Color field using JLayouts","user":{"login":"dgt41","id":3889375,"avatar_url":"https://avatars.githubusercontent.com/u/3889375?v=3","gravatar_id":"","url":"https://api.github.com/users/dgt41","html_url":"https://github.com/dgt41","followers_url":"https://api.github.com/users/dgt41/followers","following_url":"https://api.github.com/users/dgt41/following{/other_user}","gists_url":"https://api.github.com/users/dgt41/gists{/gist_id}","starred_url":"https://api.github.com/users/dgt41/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgt41/subscriptions","organizations_url":"https://api.github.com/users/dgt41/orgs","repos_url":"https://api.github.com/users/dgt41/repos","events_url":"https://api.github.com/users/dgt41/events{/privacy}","received_events_url":"https://api.github.com/users/dgt41/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/joomla/joomla-cms/labels/PR-staging","name":"PR-staging","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-07-05T20:13:57Z","updated_at":"2016-07-07T22:19:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/joomla/joomla-cms/pulls/11030","html_url":"https://github.com/joomla/joomla-cms/pull/11030","diff_url":"https://github.com/joomla/joomla-cms/pull/11030.diff","patch_url":"https://github.com/joomla/joomla-cms/pull/11030.patch"},"body":"#### Use JLayout for the html output\r\n\r\n#### Summary of Changes\r\n- Split the layout to 2: simple and advanced\r\n- Added relevant script files for the initialisation (static files @ media/system/js)\r\n- Deprecated the Html::behaviour.simplecolorpicker and Html::behaviour.colorpicker\r\n\r\n#### Testing Instructions\r\nTo test edit isis template xml and add:\r\n```XML\r\n                <field name=\"color\"\r\n                       class=\"\"\r\n                       type=\"color\"\r\n                       default=\"#1A3867\"\r\n                       validate=\"color\"\r\n                        control=\"\"\r\n                       label=\"color: \" />\r\n```\r\nChanging control to `control=\"simple\"` you initiate the simple mode, the advanced is the default.\r\n\r\n#### Preview\r\nSimple mode:\r\n![screen shot 2016-07-05 at 23 14 17](https://cloud.githubusercontent.com/assets/3889375/16598372/4224307e-4306-11e6-80b8-3a3eb9d698a9.png)\r\n\r\nAdvanced mode:\r\n![screen shot 2016-07-05 at 23 14 12](https://cloud.githubusercontent.com/assets/3889375/16598377/541b9092-4306-11e6-9fcc-135faff44b1a.png)\r\n"},"comment":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments/231225113","html_url":"https://github.com/joomla/joomla-cms/pull/11030#issuecomment-231225113","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/11030","id":231225113,"user":{"login":"brianteeman","id":1296369,"avatar_url":"https://avatars.githubusercontent.com/u/1296369?v=3","gravatar_id":"","url":"https://api.github.com/users/brianteeman","html_url":"https://github.com/brianteeman","followers_url":"https://api.github.com/users/brianteeman/followers","following_url":"https://api.github.com/users/brianteeman/following{/other_user}","gists_url":"https://api.github.com/users/brianteeman/gists{/gist_id}","starred_url":"https://api.github.com/users/brianteeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianteeman/subscriptions","organizations_url":"https://api.github.com/users/brianteeman/orgs","repos_url":"https://api.github.com/users/brianteeman/repos","events_url":"https://api.github.com/users/brianteeman/events{/privacy}","received_events_url":"https://api.github.com/users/brianteeman/received_events","type":"User","site_admin":false},"created_at":"2016-07-07T22:19:41Z","updated_at":"2016-07-07T22:19:41Z","body":"RTC <hr /><sub>This comment was created with the <a href=\"https://github.com/joomla/jissues\">J!Tracker Application</a> at <a href=\"https://issues.joomla.org/tracker/joomla-cms/11030\">issues.joomla.org/joomla-cms/11030</a>.</sub>"}}
{"actor":{"display_login":"brianteeman"}}