{"action":"closed","issue":{"url":"https://api.github.com/repos/jprochazka/adsb-receiver/issues/325","repository_url":"https://api.github.com/repos/jprochazka/adsb-receiver","labels_url":"https://api.github.com/repos/jprochazka/adsb-receiver/issues/325/labels{/name}","comments_url":"https://api.github.com/repos/jprochazka/adsb-receiver/issues/325/comments","events_url":"https://api.github.com/repos/jprochazka/adsb-receiver/issues/325/events","html_url":"https://github.com/jprochazka/adsb-receiver/issues/325","id":213766626,"number":325,"title":"Feature request: Automatically hide footer and nav bar on map view","user":{"login":"Mictronics","id":11965780,"avatar_url":"https://avatars0.githubusercontent.com/u/11965780?v=4","gravatar_id":"","url":"https://api.github.com/users/Mictronics","html_url":"https://github.com/Mictronics","followers_url":"https://api.github.com/users/Mictronics/followers","following_url":"https://api.github.com/users/Mictronics/following{/other_user}","gists_url":"https://api.github.com/users/Mictronics/gists{/gist_id}","starred_url":"https://api.github.com/users/Mictronics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mictronics/subscriptions","organizations_url":"https://api.github.com/users/Mictronics/orgs","repos_url":"https://api.github.com/users/Mictronics/repos","events_url":"https://api.github.com/users/Mictronics/events{/privacy}","received_events_url":"https://api.github.com/users/Mictronics/received_events","type":"User","site_admin":false},"labels":[{"id":280358249,"url":"https://api.github.com/repos/jprochazka/adsb-receiver/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":{"login":"jprochazka","id":2583357,"avatar_url":"https://avatars3.githubusercontent.com/u/2583357?v=4","gravatar_id":"","url":"https://api.github.com/users/jprochazka","html_url":"https://github.com/jprochazka","followers_url":"https://api.github.com/users/jprochazka/followers","following_url":"https://api.github.com/users/jprochazka/following{/other_user}","gists_url":"https://api.github.com/users/jprochazka/gists{/gist_id}","starred_url":"https://api.github.com/users/jprochazka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jprochazka/subscriptions","organizations_url":"https://api.github.com/users/jprochazka/orgs","repos_url":"https://api.github.com/users/jprochazka/repos","events_url":"https://api.github.com/users/jprochazka/events{/privacy}","received_events_url":"https://api.github.com/users/jprochazka/received_events","type":"User","site_admin":false},"assignees":[{"login":"jprochazka","id":2583357,"avatar_url":"https://avatars3.githubusercontent.com/u/2583357?v=4","gravatar_id":"","url":"https://api.github.com/users/jprochazka","html_url":"https://github.com/jprochazka","followers_url":"https://api.github.com/users/jprochazka/followers","following_url":"https://api.github.com/users/jprochazka/following{/other_user}","gists_url":"https://api.github.com/users/jprochazka/gists{/gist_id}","starred_url":"https://api.github.com/users/jprochazka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jprochazka/subscriptions","organizations_url":"https://api.github.com/users/jprochazka/orgs","repos_url":"https://api.github.com/users/jprochazka/repos","events_url":"https://api.github.com/users/jprochazka/events{/privacy}","received_events_url":"https://api.github.com/users/jprochazka/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/jprochazka/adsb-receiver/milestones/10","html_url":"https://github.com/jprochazka/adsb-receiver/milestone/10","labels_url":"https://api.github.com/repos/jprochazka/adsb-receiver/milestones/10/labels","id":3155254,"number":10,"title":"v2.7.0","description":"This release will be focused on testing portal features currently in development for use in v3.0.0, There may be a new feature or two not related to the portal added as well. However, no guarantees this release becomes a thing!","creator":{"login":"jprochazka","id":2583357,"avatar_url":"https://avatars3.githubusercontent.com/u/2583357?v=4","gravatar_id":"","url":"https://api.github.com/users/jprochazka","html_url":"https://github.com/jprochazka","followers_url":"https://api.github.com/users/jprochazka/followers","following_url":"https://api.github.com/users/jprochazka/following{/other_user}","gists_url":"https://api.github.com/users/jprochazka/gists{/gist_id}","starred_url":"https://api.github.com/users/jprochazka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jprochazka/subscriptions","organizations_url":"https://api.github.com/users/jprochazka/orgs","repos_url":"https://api.github.com/users/jprochazka/repos","events_url":"https://api.github.com/users/jprochazka/events{/privacy}","received_events_url":"https://api.github.com/users/jprochazka/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":6,"state":"open","created_at":"2018-03-02T03:15:21Z","updated_at":"2018-03-22T18:34:07Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2017-03-13T13:30:19Z","updated_at":"2018-03-22T18:34:07Z","closed_at":"2018-03-22T18:34:07Z","author_association":"NONE","body":"A small JS hack allows to automatically hide the footer and navbar, providing maximum map view. Navbar is shown again when mouse enters the area.\r\nIn master.tpl change the last script tag to:\r\n```\r\n        <script type=\"text/javascript\">\r\n            $('#{template:pageId}').addClass(\"active\");\r\n\t\t\t\r\n\t\t\tsetTimeout(hideNavbar, 10000);\r\n\t\t\tsetTimeout(hideFooter, 10000);\r\n\t\t\tfunction hideFooter(){\r\n\t\t\t\tif ( $(\"#iframe-wrapper\").length ) {\r\n\t\t\t\t\t$('#iframe-wrapper').css('bottom', '0px');\r\n\t\t\t\t}\r\n\t\t\t};\r\n\t\t\t\r\n\t\t\t$('#navbar').mouseenter(function() {\r\n\t\t\t\t$('#navbar').fadeTo(600, 1.0, function(){\r\n\t\t\t\t\t$('#iframe-wrapper').css('top', '50px');\r\n\t\t\t\t});\r\n\t\t\t});\r\n\t\t\t\r\n\t\t\t$('#navbar').mouseleave(function() {\r\n\t\t\t\tsetTimeout(hideNavbar, 3000);\r\n\t\t\t});\r\n\r\n\t\t\tfunction hideNavbar(){\r\n\t\t\t\tif ( $(\"#iframe-wrapper\").length ) {\r\n\t\t\t\t\t$('#navbar').fadeTo(400, 0.05, function(){\r\n\t\t\t\t\t\t$('#iframe-wrapper').css('top', '0px');\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t};\r\n        </script>\r\n```\r\nNavbar and footer are always shown in any other portal view."}}
{"actor":{"display_login":"jprochazka"}}