2015-06-13 17:34:09 +03:00
|
|
|
{{#gh-app showSettingsMenu=showSettingsMenu}}
|
2015-08-27 20:41:14 +03:00
|
|
|
{{#gh-skip-link anchor=".gh-main"}}Skip to main content{{/gh-skip-link}}
|
2015-05-20 18:37:06 +03:00
|
|
|
|
2015-06-13 17:34:09 +03:00
|
|
|
{{gh-alerts notify="topNotificationChange"}}
|
2015-05-20 18:37:06 +03:00
|
|
|
|
2015-06-13 17:34:09 +03:00
|
|
|
<div class="gh-viewport {{if autoNav 'gh-autonav'}} {{if showSettingsMenu 'settings-menu-expanded'}} {{if showMobileMenu 'mobile-menu-expanded'}}">
|
|
|
|
{{#unless signedOut}}
|
2015-11-18 13:50:48 +03:00
|
|
|
{{gh-nav-menu open=autoNavOpen toggleMaximise="toggleAutoNav" openAutoNav="openAutoNav" showMarkdownHelp="toggleMarkdownHelpModal" closeMobileMenu="closeMobileMenu"}}
|
2015-06-13 17:34:09 +03:00
|
|
|
{{/unless}}
|
2015-05-18 17:20:43 +03:00
|
|
|
|
2015-06-13 17:34:09 +03:00
|
|
|
{{#gh-main onMouseEnter="closeAutoNav" data-notification-count=topNotificationCount}}
|
|
|
|
{{outlet}}
|
|
|
|
{{/gh-main}}
|
2015-05-20 18:37:06 +03:00
|
|
|
|
|
|
|
|
2015-06-13 17:34:09 +03:00
|
|
|
{{gh-notifications}}
|
2015-05-27 17:39:56 +03:00
|
|
|
|
2015-06-13 17:34:09 +03:00
|
|
|
{{gh-content-cover onClick="closeMenus" onMouseEnter="closeAutoNav"}}
|
2015-05-21 20:03:24 +03:00
|
|
|
|
2015-06-13 17:34:09 +03:00
|
|
|
{{outlet "modal"}}
|
|
|
|
{{outlet "settings-menu"}}
|
|
|
|
</div>{{!gh-viewport}}
|
|
|
|
{{/gh-app}}
|
2015-11-18 13:50:48 +03:00
|
|
|
|
|
|
|
{{#if showMarkdownHelpModal}}
|
|
|
|
{{gh-fullscreen-modal "markdown-help"
|
|
|
|
close=(route-action "toggleMarkdownHelpModal")
|
|
|
|
modifier="wide"}}
|
|
|
|
{{/if}}
|