{"action":"created","issue":{"url":"https://api.github.com/repos/pi-hole/AdminLTE/issues/106","repository_url":"https://api.github.com/repos/pi-hole/AdminLTE","labels_url":"https://api.github.com/repos/pi-hole/AdminLTE/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/pi-hole/AdminLTE/issues/106/comments","events_url":"https://api.github.com/repos/pi-hole/AdminLTE/issues/106/events","html_url":"https://github.com/pi-hole/AdminLTE/pull/106","id":161218950,"number":106,"title":"Add CPU temp to header","user":{"login":"viemmsakh","id":1683382,"avatar_url":"https://avatars.githubusercontent.com/u/1683382?v=3","gravatar_id":"","url":"https://api.github.com/users/viemmsakh","html_url":"https://github.com/viemmsakh","followers_url":"https://api.github.com/users/viemmsakh/followers","following_url":"https://api.github.com/users/viemmsakh/following{/other_user}","gists_url":"https://api.github.com/users/viemmsakh/gists{/gist_id}","starred_url":"https://api.github.com/users/viemmsakh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viemmsakh/subscriptions","organizations_url":"https://api.github.com/users/viemmsakh/orgs","repos_url":"https://api.github.com/users/viemmsakh/repos","events_url":"https://api.github.com/users/viemmsakh/events{/privacy}","received_events_url":"https://api.github.com/users/viemmsakh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-06-20T15:09:45Z","updated_at":"2016-06-20T17:45:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pi-hole/AdminLTE/pulls/106","html_url":"https://github.com/pi-hole/AdminLTE/pull/106","diff_url":"https://github.com/pi-hole/AdminLTE/pull/106.diff","patch_url":"https://github.com/pi-hole/AdminLTE/pull/106.patch"},"body":"Rename header.html to header.php\r\n\r\nAt top of header.php run shell_exec to echo the cat results of \"/sys/class/thermal/thermal_zone0/temp\" and assign to variable $output.\r\n\r\nAdd < li> to line 60 of new header.php that echos the contents of $output\r\n\r\nindex.php, queries.php, list.php all update require header.html to require header.php\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/pi-hole/AdminLTE/issues/comments/227215626","html_url":"https://github.com/pi-hole/AdminLTE/pull/106#issuecomment-227215626","issue_url":"https://api.github.com/repos/pi-hole/AdminLTE/issues/106","id":227215626,"user":{"login":"viemmsakh","id":1683382,"avatar_url":"https://avatars.githubusercontent.com/u/1683382?v=3","gravatar_id":"","url":"https://api.github.com/users/viemmsakh","html_url":"https://github.com/viemmsakh","followers_url":"https://api.github.com/users/viemmsakh/followers","following_url":"https://api.github.com/users/viemmsakh/following{/other_user}","gists_url":"https://api.github.com/users/viemmsakh/gists{/gist_id}","starred_url":"https://api.github.com/users/viemmsakh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viemmsakh/subscriptions","organizations_url":"https://api.github.com/users/viemmsakh/orgs","repos_url":"https://api.github.com/users/viemmsakh/repos","events_url":"https://api.github.com/users/viemmsakh/events{/privacy}","received_events_url":"https://api.github.com/users/viemmsakh/received_events","type":"User","site_admin":false},"created_at":"2016-06-20T17:45:15Z","updated_at":"2016-06-20T17:45:15Z","body":"@dschaper I am happy to make that change and re-commit. You can drop a decimal by changing line 2 of header.php to\r\n`$cmd = \"echo $((`cat /sys/class/thermal/thermal_zone0/temp|cut -c1-2`)).$((`cat /sys/class/thermal/thermal_zone0/temp|cut -c3-4`))\";`\r\n\r\nThe location could be moving line 68 to below line 174"}}
{"actor":{"display_login":"viemmsakh"}}