{"action":"created","issue":{"url":"https://api.github.com/repos/nicolargo/glances/issues/473","labels_url":"https://api.github.com/repos/nicolargo/glances/issues/473/labels{/name}","comments_url":"https://api.github.com/repos/nicolargo/glances/issues/473/comments","events_url":"https://api.github.com/repos/nicolargo/glances/issues/473/events","html_url":"https://github.com/nicolargo/glances/issues/473","id":53319560,"number":473,"title":"New WebUI with AngularJS","user":{"login":"sylvainmouquet","id":184874,"avatar_url":"https://avatars.githubusercontent.com/u/184874?v=3","gravatar_id":"","url":"https://api.github.com/users/sylvainmouquet","html_url":"https://github.com/sylvainmouquet","followers_url":"https://api.github.com/users/sylvainmouquet/followers","following_url":"https://api.github.com/users/sylvainmouquet/following{/other_user}","gists_url":"https://api.github.com/users/sylvainmouquet/gists{/gist_id}","starred_url":"https://api.github.com/users/sylvainmouquet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sylvainmouquet/subscriptions","organizations_url":"https://api.github.com/users/sylvainmouquet/orgs","repos_url":"https://api.github.com/users/sylvainmouquet/repos","events_url":"https://api.github.com/users/sylvainmouquet/events{/privacy}","received_events_url":"https://api.github.com/users/sylvainmouquet/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nicolargo/glances/labels/enhancement","name":"enhancement","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-04T00:04:35Z","updated_at":"2015-01-04T13:50:49Z","closed_at":null,"body":"Hi,\r\n\r\nI have tested a reimplementation of the WebServer with angularjs (available on my glances fork)\r\nToday glances_bottle generates the html content and sends it to the browser.\r\nThe refresh is managed by a full refresh of the html page.\r\n\r\nWith angularjs the approch is different, angularjs uses http REST for getting the content (the data, the model) and angularjs generates the view. It's a MVC framework. Model : model json, View : html, css3, Controller : angularjs\r\nAngularJS has been created by Google and it's a very good and popular framework. It's compatible with frameworks like http://getbootstrap.com\r\n\r\nMy test is based only on the result of /api/2/all\r\nThe result of this url is a json which contains data but not display information (color)\r\nI have not a full vision of the architecture of the project and i am wondering if the team in charge of this project could tell me if my solution is good (angularjs) and what is the best solution to adopt (add the display information in the url?, create another url ?, ...)\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/nicolargo/glances/issues/comments/68633518","html_url":"https://github.com/nicolargo/glances/issues/473#issuecomment-68633518","issue_url":"https://api.github.com/repos/nicolargo/glances/issues/473","id":68633518,"user":{"login":"nclsHart","id":833625,"avatar_url":"https://avatars.githubusercontent.com/u/833625?v=3","gravatar_id":"","url":"https://api.github.com/users/nclsHart","html_url":"https://github.com/nclsHart","followers_url":"https://api.github.com/users/nclsHart/followers","following_url":"https://api.github.com/users/nclsHart/following{/other_user}","gists_url":"https://api.github.com/users/nclsHart/gists{/gist_id}","starred_url":"https://api.github.com/users/nclsHart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nclsHart/subscriptions","organizations_url":"https://api.github.com/users/nclsHart/orgs","repos_url":"https://api.github.com/users/nclsHart/repos","events_url":"https://api.github.com/users/nclsHart/events{/privacy}","received_events_url":"https://api.github.com/users/nclsHart/received_events","type":"User","site_admin":false},"created_at":"2015-01-04T13:50:49Z","updated_at":"2015-01-04T13:50:49Z","body":":+1: \r\n\r\nGreat idea :) ! Let me know if you need some help to implement it.\r\n\r\nThis enhancement could also fix #468 without any API changes (using a client side sorting). "}}